Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.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.001667/0.001667, allocations: 109.7 kB / 18.33 MB, free: 4.078 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.00181/0.00181, allocations: 185.9 kB / 21.5 MB, free: 0.9219 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.757/1.757, allocations: 207.6 MB / 232.1 MB, free: 3.113 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3863/0.3863, allocations: 44.23 MB / 328.4 MB, free: 6.27 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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: translateModel(ModelicaTest.Blocks.ConversionBlocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|ydegC|ydegF|ydegRk|ydeg|yrpm|ykmh|yday|yhour|yminute|ylitre|ykWh|ybar|ygps",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks") translateModel(ModelicaTest.Blocks.ConversionBlocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|ydegC|ydegF|ydegRk|ydeg|yrpm|ykmh|yday|yhour|yminute|ylitre|ykWh|ybar|ygps",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks") [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.002142/0.002142, allocations: 72.56 kB / 465.5 MB, free: 45.36 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1136, allocations: 61.01 MB / 0.5142 GB, free: 12.45 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.002671/0.1163, allocations: 2.126 MB / 0.5163 GB, free: 10.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001478/0.1178, allocations: 1.325 MB / 0.5176 GB, free: 9.738 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.386e-05/0.1178, allocations: 4 kB / 0.5176 GB, free: 9.734 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.018e-05/0.1179, allocations: 31.66 kB / 0.5176 GB, free: 9.703 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001045/0.118, allocations: 39.66 kB / 0.5177 GB, free: 9.664 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003506/0.1183, allocations: 183.3 kB / 0.5178 GB, free: 9.484 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001304/0.1185, allocations: 180.1 kB / 0.518 GB, free: 9.305 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001629/0.1186, allocations: 91.5 kB / 0.5181 GB, free: 9.215 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.929e-05/0.1187, allocations: 67.72 kB / 0.5182 GB, free: 9.148 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.116e-05/0.1188, allocations: 95.48 kB / 0.5183 GB, free: 9.055 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.109e-05/0.1188, allocations: 16 kB / 0.5183 GB, free: 9.039 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002113/0.119, allocations: 155.9 kB / 0.5184 GB, free: 8.887 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.205e-05/0.1191, allocations: 43.84 kB / 0.5185 GB, free: 8.844 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.017e-05/0.1191, allocations: 91.41 kB / 0.5185 GB, free: 8.754 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002753/0.1194, allocations: 314.6 kB / 0.5188 GB, free: 8.445 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1194, allocations: 0 / 0.5188 GB, free: 8.445 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1194, allocations: 0 / 0.5188 GB, free: 8.445 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.1194, allocations: 7.938 kB / 0.5189 GB, free: 8.438 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0004492/0.1199, allocations: 0.5143 MB / 0.5194 GB, free: 7.875 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.1199, allocations: 15.98 kB / 0.5194 GB, free: 7.859 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007556/0.1207, allocations: 68.73 kB / 0.5194 GB, free: 7.793 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.043e-05/0.1207, allocations: 188.1 kB / 0.5196 GB, free: 7.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.1208, allocations: 16.94 kB / 0.5196 GB, free: 7.555 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.743e-05/0.1208, allocations: 40.3 kB / 0.5197 GB, free: 7.516 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002722/0.1211, allocations: 201.2 kB / 0.5199 GB, free: 7.312 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.1211, allocations: 4 kB / 0.5199 GB, free: 7.309 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.786e-05/0.1211, allocations: 12 kB / 0.5199 GB, free: 7.297 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.1211, allocations: 7.938 kB / 0.5199 GB, free: 7.289 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002088/0.1213, allocations: 146.2 kB / 0.52 GB, free: 7.148 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006101/0.1219, allocations: 0.5891 MB / 0.5206 GB, free: 6.508 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004346/0.1223, allocations: 215.3 kB / 0.5208 GB, free: 6.289 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.83e-05/0.1224, allocations: 61.3 kB / 0.5209 GB, free: 6.227 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.694e-05/0.1225, allocations: 8.172 kB / 0.5209 GB, free: 6.219 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.223e-05/0.1225, allocations: 38.8 kB / 0.5209 GB, free: 6.172 MB / 382.1 MB Notification: Performance of pre-optimization done (n=27): time 1.262e-06/0.1225, allocations: 0 / 0.5209 GB, free: 6.172 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.0003613/0.1228, allocations: 216.4 kB / 0.5211 GB, free: 5.957 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.247e-05/0.1229, allocations: 59.34 kB / 0.5212 GB, free: 5.887 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.94e-05/0.1229, allocations: 105.8 kB / 0.5213 GB, free: 5.773 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.1229, allocations: 29.7 kB / 0.5213 GB, free: 5.738 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.645e-05/0.123, allocations: 148.6 kB / 0.5214 GB, free: 5.59 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.251e-05/0.123, allocations: 91.2 kB / 0.5215 GB, free: 5.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.16e-05/0.1231, allocations: 37.72 kB / 0.5216 GB, free: 5.457 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.773e-05/0.1231, allocations: 318.8 kB / 0.5219 GB, free: 5.137 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.918e-05/0.1232, allocations: 43.97 kB / 0.5219 GB, free: 5.094 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.047e-05/0.1233, allocations: 47.97 kB / 0.522 GB, free: 5.047 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001627/0.1234, allocations: 118.2 kB / 0.5221 GB, free: 4.93 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1234, allocations: 0 / 0.5221 GB, free: 4.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002189/0.1236, allocations: 177.4 kB / 0.5222 GB, free: 4.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.1237, allocations: 4 kB / 0.5222 GB, free: 4.746 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.829e-05/0.1237, allocations: 0 / 0.5222 GB, free: 4.746 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.1237, allocations: 4 kB / 0.5222 GB, free: 4.742 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003094/0.124, allocations: 99.94 kB / 0.5223 GB, free: 4.645 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.124, allocations: 0 / 0.5223 GB, free: 4.645 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.908e-05/0.1241, allocations: 19.89 kB / 0.5224 GB, free: 4.625 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.1241, allocations: 4 kB / 0.5224 GB, free: 4.621 MB / 382.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 (27): * Single equations (assignments): 27 * 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 7.028e-05/0.1242, allocations: 129.8 kB / 0.5225 GB, free: 4.484 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.193e-05/0.1242, allocations: 15.88 kB / 0.5225 GB, free: 4.469 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.878e-05/0.1242, allocations: 21.12 kB / 0.5225 GB, free: 4.445 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.1242, allocations: 4 kB / 0.5225 GB, free: 4.441 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.1242, allocations: 0 / 0.5225 GB, free: 4.441 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.1242, allocations: 0 / 0.5225 GB, free: 4.441 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002205/0.1245, allocations: 277.4 kB / 0.5228 GB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.1245, allocations: 11.88 kB / 0.5228 GB, free: 4.109 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002991/0.1248, allocations: 103.9 kB / 0.5229 GB, free: 4.008 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1248, allocations: 0 / 0.5229 GB, free: 4.008 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.1248, allocations: 7.938 kB / 0.5229 GB, free: 4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.1248, allocations: 4 kB / 0.5229 GB, free: 3.996 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1248, allocations: 0 / 0.5229 GB, free: 3.996 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002312/0.125, allocations: 271.4 kB / 0.5232 GB, free: 3.715 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.376e-05/0.125, allocations: 92.94 kB / 0.5233 GB, free: 3.605 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/0.1251, allocations: 8 kB / 0.5233 GB, free: 3.598 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.315e-05/0.1251, allocations: 4 kB / 0.5233 GB, free: 3.594 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.851e-05/0.1252, allocations: 15.97 kB / 0.5233 GB, free: 3.578 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.437e-06/0.1252, allocations: 4.25 kB / 0.5233 GB, free: 3.574 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.222e-05/0.1252, allocations: 87.28 kB / 0.5234 GB, free: 3.488 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1252, allocations: 4 kB / 0.5234 GB, free: 3.484 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002496/0.1255, allocations: 51.84 kB / 0.5234 GB, free: 3.434 MB / 382.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 (27): * Single equations (assignments): 27 * 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 9.159e-05/0.1256, allocations: 99.19 kB / 0.5235 GB, free: 3.328 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002426/0.1258, allocations: 132.3 kB / 0.5236 GB, free: 3.199 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1258, allocations: 0 / 0.5236 GB, free: 3.199 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.308e-05/0.1259, allocations: 71.84 kB / 0.5237 GB, free: 3.129 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000223/0.1261, allocations: 15.94 kB / 0.5237 GB, free: 3.113 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005927/0.1267, allocations: 475 kB / 0.5242 GB, free: 2.621 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001402/0.1269, allocations: 0.7319 MB / 0.5249 GB, free: 1.859 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.241e-05/0.1269, allocations: 21.41 kB / 0.5249 GB, free: 1.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.143e-05/0.127, allocations: 15.44 kB / 0.5249 GB, free: 1.824 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.127, allocations: 0 / 0.5249 GB, free: 1.824 MB / 382.1 MB Notification: Performance of Templates: time 0.003353/0.1303, allocations: 1.016 MB / 0.5259 GB, free: 0.8086 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.ConversionBlocks.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: 5.484583368524909]