Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001768/0.001768, allocations: 119.8 kB / 18.45 MB, free: 4.477 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002073/0.002073, allocations: 190.9 kB / 21.39 MB, free: 1.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.485/1.485, allocations: 207.6 MB / 231.8 MB, free: 4.203 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_3_2_3_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_3_2_3_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002361/0.002361, allocations: 51.92 kB / 342.2 MB, free: 10.06 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1104, allocations: 49.13 MB / 391.3 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002928/0.1133, allocations: 1.49 MB / 392.8 MB, free: 7.262 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009746/0.1143, allocations: 0.5518 MB / 393.4 MB, free: 6.703 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.604e-05/0.1143, allocations: 4 kB / 393.4 MB, free: 6.699 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001124/0.1145, allocations: 15.86 kB / 393.4 MB, free: 6.684 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.989e-05/0.1145, allocations: 3.938 kB / 393.4 MB, free: 6.68 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001929/0.1147, allocations: 47.84 kB / 393.5 MB, free: 6.633 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001108/0.1148, allocations: 63.83 kB / 393.5 MB, free: 6.57 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.1149, allocations: 11.94 kB / 393.5 MB, free: 6.559 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.1151, allocations: 31.91 kB / 393.6 MB, free: 6.527 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.092e-05/0.1151, allocations: 23.86 kB / 393.6 MB, free: 6.504 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.763e-05/0.1151, allocations: 8 kB / 393.6 MB, free: 6.496 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.405e-05/0.1152, allocations: 19.92 kB / 393.6 MB, free: 6.477 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.711e-05/0.1152, allocations: 11.98 kB / 393.6 MB, free: 6.465 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.991e-05/0.1153, allocations: 35.8 kB / 393.7 MB, free: 6.43 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001655/0.1154, allocations: 67.72 kB / 393.7 MB, free: 6.363 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.1154, allocations: 0 / 393.7 MB, free: 6.363 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1154, allocations: 4 kB / 393.7 MB, free: 6.359 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.1154, allocations: 0 / 393.7 MB, free: 6.359 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007157/0.1162, allocations: 387.2 kB / 394.1 MB, free: 5.934 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.1162, allocations: 8.031 kB / 394.1 MB, free: 5.926 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.472e-05/0.1163, allocations: 38.73 kB / 394.2 MB, free: 5.879 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.059e-05/0.1163, allocations: 8.891 kB / 394.2 MB, free: 5.871 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001841/0.1165, allocations: 168.3 kB / 394.3 MB, free: 5.668 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.1165, allocations: 12.38 kB / 394.3 MB, free: 5.656 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.013e-05/0.1165, allocations: 4.375 kB / 394.3 MB, free: 5.652 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002882/0.1168, allocations: 89.7 kB / 394.4 MB, free: 5.559 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.1168, allocations: 0 / 394.4 MB, free: 5.559 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.1168, allocations: 0 / 394.4 MB, free: 5.559 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.1168, allocations: 3.938 kB / 394.4 MB, free: 5.555 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003186/0.1171, allocations: 83.91 kB / 394.5 MB, free: 5.473 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004969/0.1176, allocations: 308.7 kB / 394.8 MB, free: 5.121 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000247/0.1179, allocations: 70.53 kB / 394.9 MB, free: 5.043 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000159/0.118, allocations: 48.94 kB / 394.9 MB, free: 4.992 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.634e-05/0.1181, allocations: 0 / 394.9 MB, free: 4.992 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.1181, allocations: 34.56 kB / 395 MB, free: 4.949 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 9.12e-07/0.1181, allocations: 0 / 395 MB, free: 4.949 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005647/0.1186, allocations: 153.6 kB / 395.1 MB, free: 4.793 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/0.1187, allocations: 51.41 kB / 395.2 MB, free: 4.73 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.1188, allocations: 113.8 kB / 395.3 MB, free: 4.609 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.1188, allocations: 25.7 kB / 395.3 MB, free: 4.578 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.537e-05/0.1189, allocations: 100 kB / 395.4 MB, free: 4.477 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.525e-05/0.1189, allocations: 11.89 kB / 395.4 MB, free: 4.465 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.342e-05/0.119, allocations: 17.72 kB / 395.4 MB, free: 4.441 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001839/0.1192, allocations: 326.8 kB / 395.8 MB, free: 4.113 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.1193, allocations: 35.95 kB / 395.8 MB, free: 4.078 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001318/0.1194, allocations: 35.97 kB / 395.8 MB, free: 4.043 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002606/0.1197, allocations: 76.78 kB / 395.9 MB, free: 3.965 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.1197, allocations: 7.938 kB / 395.9 MB, free: 3.957 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003304/0.12, allocations: 121.5 kB / 396 MB, free: 3.832 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.12, allocations: 4 kB / 396 MB, free: 3.828 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.12, allocations: 0 / 396 MB, free: 3.828 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.748e-05/0.1201, allocations: 0 / 396 MB, free: 3.828 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/0.1202, allocations: 15.98 kB / 396 MB, free: 3.812 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.257e-05/0.1202, allocations: 8 kB / 396.1 MB, free: 3.805 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.438e-05/0.1203, allocations: 7.984 kB / 396.1 MB, free: 3.797 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.1203, allocations: 7.938 kB / 396.1 MB, free: 3.789 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001347/0.1205, allocations: 113.8 kB / 396.2 MB, free: 3.668 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.274e-05/0.1205, allocations: 7.953 kB / 396.2 MB, free: 3.66 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004348/0.1209, allocations: 137.5 kB / 396.3 MB, free: 3.52 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.1209, allocations: 384 / 396.3 MB, free: 3.52 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.1209, allocations: 0 / 396.3 MB, free: 3.52 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.1209, allocations: 3.984 kB / 396.3 MB, free: 3.516 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000276/0.1212, allocations: 189.5 kB / 396.5 MB, free: 3.281 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1212, allocations: 4.375 kB / 396.5 MB, free: 3.277 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001106/0.1213, allocations: 23.98 kB / 396.5 MB, free: 3.254 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1213, allocations: 0 / 396.5 MB, free: 3.254 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.173e-05/0.1213, allocations: 7.984 kB / 396.5 MB, free: 3.246 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.1213, allocations: 4 kB / 396.6 MB, free: 3.242 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1214, allocations: 0 / 396.6 MB, free: 3.242 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004577/0.1218, allocations: 223.3 kB / 396.8 MB, free: 3.008 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.797e-05/0.1219, allocations: 77.11 kB / 396.8 MB, free: 2.914 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.723e-05/0.1219, allocations: 11.97 kB / 396.9 MB, free: 2.902 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.122, allocations: 15.98 kB / 396.9 MB, free: 2.887 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.602e-05/0.1221, allocations: 4 kB / 396.9 MB, free: 2.883 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.1221, allocations: 3.984 kB / 396.9 MB, free: 2.879 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.103e-05/0.1222, allocations: 91.22 kB / 397 MB, free: 2.789 MB / 318.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1222, allocations: 0 / 397 MB, free: 2.789 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00024/0.1224, allocations: 19.95 kB / 397 MB, free: 2.77 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008754/0.1233, allocations: 0.7436 MB / 397.7 MB, free: 2 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004/0.1237, allocations: 91.89 kB / 397.8 MB, free: 1.91 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1237, allocations: 0 / 397.8 MB, free: 1.91 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000154/0.1238, allocations: 47.91 kB / 397.9 MB, free: 1.863 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00043/0.1243, allocations: 15.83 kB / 397.9 MB, free: 1.848 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006552/0.1249, allocations: 191.5 kB / 398.1 MB, free: 1.617 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004263/0.1253, allocations: 0.6924 MB / 398.8 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.546e-05/0.1254, allocations: 4 kB / 398.8 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.509e-05/0.1254, allocations: 23.42 kB / 398.8 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1254, allocations: 0 / 398.8 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03027/0.1557, allocations: 2.032 MB / 400.8 MB, free: 14.79 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.011/8.167, allocations: 11.75 kB / 400.8 MB, free: 14.78 MB / 334.1 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_ComplexBlocks_Examples_TestConversionBlock_fmu --startTime=0 --stopTime=1.01 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_ComplexBlocks_Examples_TestConversionBlock.fmu > Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/ComplexBlocks/Examples/TestConversionBlock/TestConversionBlock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.572463943157345]