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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 80.92 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 173.3 kB / 24.91 MB, free: 9.191 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9937/0.9937, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2809/0.2809, allocations: 32.81 MB / 294.6 MB, free: 1.242 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_4.0.0_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_4.0.0_ModelicaTest.Blocks.ConversionBlocks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.376e-06/3.376e-06, allocations: 0 / 323.2 MB, free: 9.676 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.451e-05/4.789e-05, allocations: 2.969 kB / 323.2 MB, free: 9.672 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003888/0.003936, allocations: 2.081 MB / 325.3 MB, free: 7.574 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002353/0.006289, allocations: 1.386 MB / 326.7 MB, free: 6.18 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001297/0.006418, allocations: 4 kB / 326.7 MB, free: 6.176 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 6.453e-05/0.006483, allocations: 23.67 kB / 326.7 MB, free: 6.152 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000154/0.006637, allocations: 31.72 kB / 326.8 MB, free: 6.121 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006741/0.007311, allocations: 207 kB / 327 MB, free: 5.918 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002486/0.00756, allocations: 188 kB / 327.1 MB, free: 5.734 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002289/0.007789, allocations: 78.75 kB / 327.2 MB, free: 5.656 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003301/0.008119, allocations: 115.7 kB / 327.3 MB, free: 5.543 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001227/0.008241, allocations: 59.78 kB / 327.4 MB, free: 5.484 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.571e-05/0.008277, allocations: 16 kB / 327.4 MB, free: 5.469 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003423/0.008619, allocations: 159.7 kB / 327.6 MB, free: 5.312 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.217e-05/0.008662, allocations: 47.77 kB / 327.6 MB, free: 5.266 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.716e-05/0.008719, allocations: 59.83 kB / 327.7 MB, free: 5.207 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004373/0.009156, allocations: 286.8 kB / 327.9 MB, free: 4.926 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.00916, allocations: 0 / 327.9 MB, free: 4.926 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.009162, allocations: 0 / 327.9 MB, free: 4.926 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.009168, allocations: 3.984 kB / 328 MB, free: 4.922 MB / 298.7 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.0005501/0.009718, allocations: 441.8 kB / 328.4 MB, free: 4.469 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.009764, allocations: 12.03 kB / 328.4 MB, free: 4.457 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008116/0.01058, allocations: 183.8 kB / 328.6 MB, free: 4.277 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002118/0.01079, allocations: 137.5 kB / 328.7 MB, free: 4.117 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.571e-05/0.01081, allocations: 21.03 kB / 328.7 MB, free: 4.098 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.137e-05/0.01084, allocations: 24.38 kB / 328.8 MB, free: 4.074 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002557/0.0111, allocations: 171.3 kB / 328.9 MB, free: 3.902 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.01111, allocations: 192 / 328.9 MB, free: 3.902 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.942e-05/0.01113, allocations: 12.38 kB / 328.9 MB, free: 3.891 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.01114, allocations: 11.94 kB / 328.9 MB, free: 3.879 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001078/0.01125, allocations: 72.55 kB / 329 MB, free: 3.805 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006359/0.01189, allocations: 417.1 kB / 329.4 MB, free: 3.383 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003278/0.01221, allocations: 169.1 kB / 329.6 MB, free: 3.207 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.314e-05/0.01227, allocations: 34.5 kB / 329.6 MB, free: 3.172 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.753e-05/0.01229, allocations: 8.234 kB / 329.6 MB, free: 3.164 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.734e-05/0.01233, allocations: 42.66 kB / 329.7 MB, free: 3.113 MB / 298.7 MB Notification: Performance of pre-optimization done (n=27): time 2.345e-06/0.01233, allocations: 0 / 329.7 MB, free: 3.113 MB / 298.7 MB Notification: Performance of matching and sorting (n=27): time 0.0002716/0.01261, allocations: 126.8 kB / 329.8 MB, free: 2.984 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.13e-05/0.01266, allocations: 55.41 kB / 329.8 MB, free: 2.918 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.684e-05/0.01274, allocations: 114.6 kB / 330 MB, free: 2.793 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.01276, allocations: 29.7 kB / 330 MB, free: 2.758 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004791/0.01324, allocations: 132.7 kB / 330.1 MB, free: 2.625 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.424e-05/0.01333, allocations: 95.17 kB / 330.2 MB, free: 2.531 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.613e-05/0.01339, allocations: 45.67 kB / 330.3 MB, free: 2.48 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.01351, allocations: 322.8 kB / 330.6 MB, free: 2.156 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.726e-05/0.01355, allocations: 19.98 kB / 330.6 MB, free: 2.137 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.639e-05/0.01359, allocations: 19.98 kB / 330.6 MB, free: 2.117 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001057/0.01369, allocations: 78.12 kB / 330.7 MB, free: 2.039 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.0137, allocations: 0 / 330.7 MB, free: 2.039 MB / 298.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001526/0.01385, allocations: 105.6 kB / 330.8 MB, free: 1.93 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.01387, allocations: 8 kB / 330.8 MB, free: 1.922 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.01387, allocations: 0 / 330.8 MB, free: 1.922 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.01389, allocations: 0 / 330.8 MB, free: 1.922 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002751/0.01416, allocations: 107.9 kB / 330.9 MB, free: 1.816 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.01417, allocations: 3.938 kB / 330.9 MB, free: 1.812 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.404e-05/0.01421, allocations: 15.89 kB / 330.9 MB, free: 1.797 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.01422, allocations: 4 kB / 330.9 MB, free: 1.793 MB / 298.7 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 8.624e-05/0.01431, allocations: 121.8 kB / 331 MB, free: 1.664 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.457e-05/0.01434, allocations: 15.98 kB / 331.1 MB, free: 1.648 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.121e-05/0.01438, allocations: 25.62 kB / 331.1 MB, free: 1.621 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.01439, allocations: 7.984 kB / 331.1 MB, free: 1.613 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.01439, allocations: 0 / 331.1 MB, free: 1.613 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.0144, allocations: 3.938 kB / 331.1 MB, free: 1.609 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002015/0.0146, allocations: 133.7 kB / 331.2 MB, free: 1.461 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.0146, allocations: 0 / 331.2 MB, free: 1.461 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002459/0.01485, allocations: 99.89 kB / 331.3 MB, free: 1.363 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.01485, allocations: 4 kB / 331.3 MB, free: 1.359 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.01486, allocations: 4 kB / 331.3 MB, free: 1.355 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.01486, allocations: 4 kB / 331.3 MB, free: 1.352 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.01487, allocations: 4.234 kB / 331.3 MB, free: 1.348 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001908/0.01506, allocations: 211.4 kB / 331.5 MB, free: 1.121 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.749e-05/0.01508, allocations: 15.83 kB / 331.6 MB, free: 1.105 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.01509, allocations: 8 kB / 331.6 MB, free: 1.098 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.561e-05/0.01516, allocations: 4 kB / 331.6 MB, free: 1.094 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.052e-05/0.0152, allocations: 15.97 kB / 331.6 MB, free: 1.078 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.01521, allocations: 4 kB / 331.6 MB, free: 1.074 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.852e-05/0.01523, allocations: 12.84 kB / 331.6 MB, free: 1.059 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01523, allocations: 4 kB / 331.6 MB, free: 1.055 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002413/0.01547, allocations: 59.84 kB / 331.7 MB, free: 0.9961 MB / 298.7 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 0.000122/0.01559, allocations: 84.3 kB / 331.8 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001384/0.01573, allocations: 93.2 kB / 331.8 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.01573, allocations: 0 / 331.8 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.048e-05/0.01579, allocations: 57.22 kB / 331.9 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002174/0.01601, allocations: 16.56 kB / 331.9 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000732/0.01674, allocations: 446.1 kB / 332.4 MB, free: 284 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.442e-05/0.01682, allocations: 79.83 kB / 332.4 MB, free: 184 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.008e-05/0.01691, allocations: 13.47 kB / 332.4 MB, free: 168 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.881e-05/0.01701, allocations: 79.36 kB / 332.5 MB, free: 88 kB / 298.7 MB Notification: Performance of SimCode: time 2.014e-06/0.01701, allocations: 0 / 332.5 MB, free: 88 kB / 298.7 MB Notification: Performance of Templates: time 0.003467/0.02048, allocations: 1.091 MB / 333.6 MB, free: 15.03 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.ConversionBlocks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.031793639063835]