Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001036/0.001036, allocations: 77.88 kB / 21.42 MB, free: 3.074 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.001566/0.001566, allocations: 167.6 kB / 24.82 MB, free: 9.266 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.9992/0.9992, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2865/0.2865, allocations: 34.26 MB / 296.1 MB, free: 0.6484 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Blocks.ConversionBlocks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.575e-06/2.575e-06, allocations: 0 / 378.5 MB, free: 2.375 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.579e-05/2.836e-05, allocations: 10.25 kB / 378.5 MB, free: 2.363 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003633/0.003662, allocations: 2.075 MB / 380.6 MB, free: 276 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002394/0.006056, allocations: 1.359 MB / 382 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001244/0.00618, allocations: 4 kB / 382 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 6.039e-05/0.006241, allocations: 27.66 kB / 382 MB, free: 14.87 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001313/0.006372, allocations: 43.59 kB / 382 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000515/0.006887, allocations: 199 kB / 382.2 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002285/0.007115, allocations: 184 kB / 382.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000216/0.007331, allocations: 76.16 kB / 382.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002248/0.007556, allocations: 119.6 kB / 382.6 MB, free: 14.26 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.007659, allocations: 67.72 kB / 382.7 MB, free: 14.2 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.821e-05/0.007687, allocations: 16 kB / 382.7 MB, free: 14.18 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000286/0.007973, allocations: 151.7 kB / 382.8 MB, free: 14.03 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.3e-05/0.008016, allocations: 47.81 kB / 382.9 MB, free: 13.98 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.922e-05/0.008075, allocations: 55.84 kB / 382.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003897/0.008465, allocations: 290.7 kB / 383.2 MB, free: 13.64 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.008467, allocations: 0 / 383.2 MB, free: 13.64 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.008468, allocations: 4 kB / 383.2 MB, free: 13.64 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.008471, allocations: 4 kB / 383.2 MB, free: 13.64 MB / 362.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.0005129/0.008984, allocations: 0.5505 MB / 383.8 MB, free: 13.05 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.009024, allocations: 12.03 kB / 383.8 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005167/0.009541, allocations: 163.8 kB / 383.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.009692, allocations: 164.2 kB / 384.1 MB, free: 12.69 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.009709, allocations: 21.02 kB / 384.1 MB, free: 12.67 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.017e-05/0.009729, allocations: 32.38 kB / 384.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.009907, allocations: 159.4 kB / 384.3 MB, free: 12.47 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.009915, allocations: 192 / 384.3 MB, free: 12.47 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.009928, allocations: 8.375 kB / 384.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.009936, allocations: 11.94 kB / 384.3 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.884e-05/0.01002, allocations: 76.5 kB / 384.4 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005276/0.01054, allocations: 0.5122 MB / 384.9 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002605/0.0108, allocations: 168.3 kB / 385.1 MB, free: 11.66 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.027e-05/0.01085, allocations: 48.11 kB / 385.1 MB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.198e-05/0.01088, allocations: 4.234 kB / 385.1 MB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.0109, allocations: 41.62 kB / 385.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of pre-optimization done (n=27): time 1.263e-06/0.0109, allocations: 0 / 385.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=27): time 0.0002049/0.01111, allocations: 155.9 kB / 385.3 MB, free: 11.4 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.074e-05/0.01114, allocations: 63.28 kB / 385.4 MB, free: 11.32 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.885e-05/0.01121, allocations: 165.9 kB / 385.5 MB, free: 11.14 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.01122, allocations: 29.7 kB / 385.6 MB, free: 11.11 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.949e-05/0.01129, allocations: 183.4 kB / 385.8 MB, free: 10.93 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.458e-05/0.01134, allocations: 91.16 kB / 385.8 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-05/0.01139, allocations: 51.34 kB / 385.9 MB, free: 10.78 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.01153, allocations: 0.4923 MB / 386.4 MB, free: 10.27 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.569e-05/0.01156, allocations: 19.98 kB / 386.4 MB, free: 10.25 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.574e-05/0.01158, allocations: 24.22 kB / 386.4 MB, free: 10.23 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.517e-05/0.01166, allocations: 77.05 kB / 386.5 MB, free: 10.15 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.01166, allocations: 4 kB / 386.5 MB, free: 10.15 MB / 362.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001348/0.0118, allocations: 137.5 kB / 386.6 MB, free: 10.01 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.01181, allocations: 11.94 kB / 386.7 MB, free: 9.996 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.01181, allocations: 0 / 386.7 MB, free: 9.996 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.246e-06/0.01182, allocations: 0 / 386.7 MB, free: 9.996 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001808/0.012, allocations: 99.89 kB / 386.8 MB, free: 9.898 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.012, allocations: 7.938 kB / 386.8 MB, free: 9.891 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.021e-05/0.01203, allocations: 15.89 kB / 386.8 MB, free: 9.875 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.01204, allocations: 4 kB / 386.8 MB, free: 9.871 MB / 362.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.077e-05/0.01212, allocations: 172.5 kB / 386.9 MB, free: 9.691 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.48e-05/0.01215, allocations: 19.95 kB / 387 MB, free: 9.672 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.828e-05/0.01218, allocations: 21.62 kB / 387 MB, free: 9.656 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.01218, allocations: 4 kB / 387 MB, free: 9.652 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.01218, allocations: 3.938 kB / 387 MB, free: 9.648 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.01219, allocations: 0 / 387 MB, free: 9.648 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000147/0.01233, allocations: 161.1 kB / 387.2 MB, free: 9.465 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.01233, allocations: 4 kB / 387.2 MB, free: 9.461 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001617/0.0125, allocations: 103.9 kB / 387.3 MB, free: 9.359 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.0125, allocations: 0 / 387.3 MB, free: 9.359 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.0125, allocations: 0 / 387.3 MB, free: 9.359 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.01251, allocations: 4 kB / 387.3 MB, free: 9.355 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.01251, allocations: 0 / 387.3 MB, free: 9.355 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001971/0.01271, allocations: 299.6 kB / 387.6 MB, free: 9.043 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.412e-05/0.01272, allocations: 15.89 kB / 387.6 MB, free: 9.027 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/0.01273, allocations: 8 kB / 387.6 MB, free: 9.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.949e-05/0.01277, allocations: 4 kB / 387.6 MB, free: 9.016 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.05e-05/0.0128, allocations: 15.97 kB / 387.6 MB, free: 9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.01281, allocations: 0 / 387.6 MB, free: 9 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.127e-05/0.01285, allocations: 131.2 kB / 387.7 MB, free: 8.871 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01285, allocations: 0 / 387.7 MB, free: 8.871 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001682/0.01302, allocations: 59.78 kB / 387.8 MB, free: 8.812 MB / 362.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 7.216e-05/0.01309, allocations: 95.25 kB / 387.9 MB, free: 8.711 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001179/0.01321, allocations: 104 kB / 388 MB, free: 8.605 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.52e-07/0.01321, allocations: 4 kB / 388 MB, free: 8.602 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.235e-05/0.01326, allocations: 67.5 kB / 388 MB, free: 8.531 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001779/0.01344, allocations: 20.17 kB / 388.1 MB, free: 8.512 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004548/0.01389, allocations: 430.8 kB / 388.5 MB, free: 8.059 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.651e-05/0.01394, allocations: 75.83 kB / 388.6 MB, free: 7.961 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.058e-05/0.014, allocations: 21.47 kB / 388.6 MB, free: 7.938 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.094e-05/0.01407, allocations: 94.19 kB / 388.7 MB, free: 7.844 MB / 362.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01407, allocations: 0 / 388.7 MB, free: 7.844 MB / 362.7 MB Notification: Performance of Templates: time 0.00273/0.0168, allocations: 1.109 MB / 389.8 MB, free: 6.754 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.3208646960556507]