Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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=5000,variableFilter="time|ydegC|ydegF|ydegRk|ydeg|yrpm|ykmh|yday|yhour|yminute|ylitre|ykWh|ybar|ygps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks") translateModel(ModelicaTest.Blocks.ConversionBlocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ydegC|ydegF|ydegRk|ydeg|yrpm|ykmh|yday|yhour|yminute|ylitre|ykWh|ybar|ygps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 113.9 kB / 18.45 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001129/0.00113, allocations: 185.9 kB / 19.38 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 222.9 MB / 243.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1946/0.1946, allocations: 44.19 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 63.89 kB / 471.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2734/0.2746, allocations: 60.82 MB / 0.5196 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.002657/0.2773, allocations: 2.106 MB / 0.5216 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001573/0.2789, allocations: 1.299 MB / 0.5229 GB, free: 1.215 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.402e-05/0.279, allocations: 3.281 kB / 0.5229 GB, free: 1.215 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.779e-05/0.2791, allocations: 26.2 kB / 0.5229 GB, free: 1.195 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001193/0.2792, allocations: 39.72 kB / 0.523 GB, free: 1.164 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004763/0.2797, allocations: 187.8 kB / 0.5232 GB, free: 1.062 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001975/0.2799, allocations: 175 kB / 0.5233 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001993/0.2801, allocations: 108.1 kB / 0.5234 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.2802, allocations: 73.27 kB / 0.5235 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.162e-05/0.2803, allocations: 92.22 kB / 0.5236 GB, free: 0.832 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.631e-05/0.2804, allocations: 15.12 kB / 0.5236 GB, free: 0.832 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000257/0.2806, allocations: 145.8 kB / 0.5237 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.061e-05/0.2807, allocations: 45.62 kB / 0.5238 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.232e-05/0.2807, allocations: 90.61 kB / 0.5239 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003573/0.2811, allocations: 316.8 kB / 0.5242 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.2811, allocations: 0 / 0.5242 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2811, allocations: 4.609 kB / 0.5242 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.2811, allocations: 0 / 0.5242 GB, free: 0.5547 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.0004567/0.2816, allocations: 0.511 MB / 0.5247 GB, free: 96 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.2816, allocations: 9.094 kB / 0.5247 GB, free: 96 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008359/0.2825, allocations: 69.91 kB / 0.5247 GB, free: 80 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.2826, allocations: 187.5 kB / 0.5249 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.359e-05/0.2826, allocations: 26.62 kB / 0.525 GB, free: 15.85 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.735e-05/0.2827, allocations: 26.22 kB / 0.525 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000365/0.283, allocations: 202.5 kB / 0.5252 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.2831, allocations: 0 / 0.5252 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.172e-05/0.2831, allocations: 9.75 kB / 0.5252 GB, free: 15.74 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.816e-06/0.2831, allocations: 6.438 kB / 0.5252 GB, free: 15.74 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002813/0.2834, allocations: 151.6 kB / 0.5253 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008217/0.2842, allocations: 0.5831 MB / 0.5259 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004942/0.2847, allocations: 230.8 kB / 0.5261 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001364/0.2849, allocations: 73.94 kB / 0.5262 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.2849, allocations: 7.297 kB / 0.5262 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.26e-05/0.2849, allocations: 32.73 kB / 0.5262 GB, free: 15.14 MB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 1.412e-06/0.2849, allocations: 0 / 0.5262 GB, free: 15.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004232/0.2854, allocations: 217.5 kB / 0.5264 GB, free: 15.05 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.987e-05/0.2854, allocations: 56.94 kB / 0.5265 GB, free: 14.98 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.921e-05/0.2855, allocations: 102.6 kB / 0.5266 GB, free: 14.88 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.2855, allocations: 31.89 kB / 0.5266 GB, free: 14.84 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.52e-05/0.2856, allocations: 132.8 kB / 0.5267 GB, free: 14.73 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.551e-05/0.2857, allocations: 91.98 kB / 0.5268 GB, free: 14.65 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.803e-05/0.2857, allocations: 47.3 kB / 0.5269 GB, free: 14.62 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.2859, allocations: 321 kB / 0.5272 GB, free: 14.3 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.635e-05/0.286, allocations: 46.47 kB / 0.5272 GB, free: 14.29 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.276e-05/0.2861, allocations: 45.48 kB / 0.5273 GB, free: 14.27 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000205/0.2863, allocations: 119.1 kB / 0.5274 GB, free: 14.22 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.2863, allocations: 0 / 0.5274 GB, free: 14.22 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002569/0.2865, allocations: 166.4 kB / 0.5275 GB, free: 14.14 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.2866, allocations: 10.09 kB / 0.5276 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.2866, allocations: 1.375 kB / 0.5276 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.2866, allocations: 0 / 0.5276 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003498/0.2869, allocations: 106.6 kB / 0.5277 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.287, allocations: 1.375 kB / 0.5277 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.691e-05/0.287, allocations: 12.48 kB / 0.5277 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.287, allocations: 10.25 kB / 0.5277 GB, free: 14.12 MB / 398.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 0.0001047/0.2872, allocations: 129.5 kB / 0.5278 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.834e-05/0.2872, allocations: 17.25 kB / 0.5278 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.385e-05/0.2873, allocations: 30.77 kB / 0.5278 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.2873, allocations: 2.078 kB / 0.5278 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.2873, allocations: 4 kB / 0.5279 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.745e-05/0.2873, allocations: 90.39 kB / 0.5279 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.182e-05/0.2874, allocations: 5.375 kB / 0.5279 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.2875, allocations: 8.016 kB / 0.528 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.576e-05/0.2875, allocations: 20.19 kB / 0.528 GB, free: 13.83 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006233/0.2882, allocations: 350.2 kB / 0.5283 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003178/0.2885, allocations: 347.9 kB / 0.5286 GB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001092/0.2886, allocations: 66.91 kB / 0.5287 GB, free: 13.39 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.11e-05/0.2887, allocations: 80.75 kB / 0.5288 GB, free: 13.31 MB / 398.1 MB Notification: Performance of Backend: time 5.11e-07/0.2887, allocations: 4 kB / 0.5288 GB, free: 13.31 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006062/0.2893, allocations: 256.8 kB / 0.529 GB, free: 13.18 MB / 398.1 MB Notification: Performance of SimCode: time 0.000699/0.29, allocations: 0.8661 MB / 0.5299 GB, free: 12.42 MB / 398.1 MB Notification: Performance of Templates: time 0.005151/0.2952, allocations: 2.555 MB / 0.5324 GB, free: 11.09 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches