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.001373/0.001373, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001647/0.001647, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.9968/0.9968, allocations: 177.1 MB / 205 MB, free: 5.59 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.2547/0.2547, allocations: 34.27 MB / 295.7 MB, free: 0.6953 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 1.873e-06/1.873e-06, allocations: 0 / 378.1 MB, free: 2.613 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.684e-05/2.871e-05, allocations: 5.266 kB / 378.1 MB, free: 2.609 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.00267/0.002699, allocations: 2.091 MB / 380.1 MB, free: 0.5 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0018/0.004499, allocations: 1.375 MB / 381.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000125/0.004624, allocations: 7.938 kB / 381.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 5.783e-05/0.004682, allocations: 23.72 kB / 381.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001344/0.004816, allocations: 43.59 kB / 381.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005922/0.005408, allocations: 195.1 kB / 381.8 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002189/0.005627, allocations: 192 kB / 382 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000214/0.005841, allocations: 68.16 kB / 382 MB, free: 14.6 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002336/0.006075, allocations: 119.7 kB / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.42e-05/0.006159, allocations: 71.72 kB / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.554e-05/0.006185, allocations: 16 kB / 382.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002454/0.00643, allocations: 147.7 kB / 382.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.387e-05/0.006464, allocations: 43.83 kB / 382.4 MB, free: 14.21 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.14e-05/0.006515, allocations: 63.77 kB / 382.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003592/0.006874, allocations: 290.8 kB / 382.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.006879, allocations: 0 / 382.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.00688, allocations: 0 / 382.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.006887, allocations: 4 kB / 382.8 MB, free: 13.86 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.0005223/0.007409, allocations: 0.5545 MB / 383.3 MB, free: 13.27 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.007451, allocations: 8.031 kB / 383.3 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006357/0.008086, allocations: 163.8 kB / 383.5 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002073/0.008294, allocations: 160.2 kB / 383.7 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/0.008314, allocations: 21.03 kB / 383.7 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.462e-05/0.008339, allocations: 32.38 kB / 383.7 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002501/0.008589, allocations: 175.4 kB / 383.9 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.0086, allocations: 192 / 383.9 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.925e-05/0.008619, allocations: 12.38 kB / 383.9 MB, free: 12.67 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.008631, allocations: 7.938 kB / 383.9 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001329/0.008764, allocations: 103.8 kB / 384 MB, free: 12.56 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006744/0.009438, allocations: 0.5351 MB / 384.5 MB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003487/0.009787, allocations: 184.4 kB / 384.7 MB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.128e-05/0.009858, allocations: 52.12 kB / 384.8 MB, free: 11.74 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/0.009884, allocations: 8.234 kB / 384.8 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.009906, allocations: 33.62 kB / 384.8 MB, free: 11.69 MB / 362.7 MB Notification: Performance of pre-optimization done (n=27): time 1.122e-06/0.009908, allocations: 0 / 384.8 MB, free: 11.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=27): time 0.0002839/0.01019, allocations: 183.8 kB / 385 MB, free: 11.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.01023, allocations: 59.41 kB / 385 MB, free: 11.43 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.995e-05/0.01032, allocations: 161.9 kB / 385.2 MB, free: 11.26 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.01033, allocations: 33.7 kB / 385.2 MB, free: 11.22 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.109e-05/0.0104, allocations: 179.4 kB / 385.4 MB, free: 11.04 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.637e-05/0.01046, allocations: 87.19 kB / 385.5 MB, free: 10.95 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.382e-05/0.01051, allocations: 51.36 kB / 385.5 MB, free: 10.89 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.01066, allocations: 0.4923 MB / 386 MB, free: 10.39 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.87e-05/0.0107, allocations: 23.98 kB / 386.1 MB, free: 10.37 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.442e-05/0.01075, allocations: 35.95 kB / 386.1 MB, free: 10.33 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001116/0.01086, allocations: 89.08 kB / 386.2 MB, free: 10.24 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.01086, allocations: 4.25 kB / 386.2 MB, free: 10.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001658/0.01103, allocations: 153.5 kB / 386.3 MB, free: 10.08 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.01105, allocations: 4 kB / 386.3 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.01105, allocations: 8 kB / 386.4 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.27e-05/0.01108, allocations: 7.875 kB / 386.4 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002188/0.0113, allocations: 95.89 kB / 386.5 MB, free: 9.969 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.405e-06/0.0113, allocations: 3.984 kB / 386.5 MB, free: 9.965 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.568e-05/0.01135, allocations: 19.89 kB / 386.5 MB, free: 9.945 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.01136, allocations: 4 kB / 386.5 MB, free: 9.941 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 0.0001096/0.01147, allocations: 164.6 kB / 386.6 MB, free: 9.77 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.306e-05/0.0115, allocations: 19.95 kB / 386.7 MB, free: 9.75 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.042e-05/0.01155, allocations: 21.62 kB / 386.7 MB, free: 9.734 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.01156, allocations: 7.938 kB / 386.7 MB, free: 9.727 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.01157, allocations: 3.938 kB / 386.7 MB, free: 9.723 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.01157, allocations: 3.984 kB / 386.7 MB, free: 9.719 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002035/0.01178, allocations: 188.5 kB / 386.9 MB, free: 9.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.01178, allocations: 0 / 386.9 MB, free: 9.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002017/0.01198, allocations: 99.94 kB / 387 MB, free: 9.402 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.01198, allocations: 4 kB / 387 MB, free: 9.398 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.012, allocations: 4 kB / 387 MB, free: 9.395 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.012, allocations: 0 / 387 MB, free: 9.395 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.012, allocations: 3.938 kB / 387 MB, free: 9.391 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002204/0.01222, allocations: 307.7 kB / 387.3 MB, free: 9.07 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.268e-05/0.01223, allocations: 11.89 kB / 387.3 MB, free: 9.059 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.01225, allocations: 15.98 kB / 387.3 MB, free: 9.043 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.884e-05/0.0123, allocations: 4 kB / 387.3 MB, free: 9.039 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.848e-05/0.01235, allocations: 19.91 kB / 387.3 MB, free: 9.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.305e-06/0.01235, allocations: 8 kB / 387.4 MB, free: 9.012 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.403e-05/0.0124, allocations: 123.2 kB / 387.5 MB, free: 8.891 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0124, allocations: 0 / 387.5 MB, free: 8.891 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000221/0.01262, allocations: 59.84 kB / 387.5 MB, free: 8.832 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 9.974e-05/0.01272, allocations: 103.2 kB / 387.6 MB, free: 8.723 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001799/0.0129, allocations: 104 kB / 387.7 MB, free: 8.617 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.0129, allocations: 4 kB / 387.7 MB, free: 8.613 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.496e-05/0.01297, allocations: 71.58 kB / 387.8 MB, free: 8.539 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002268/0.01319, allocations: 24.16 kB / 387.8 MB, free: 8.516 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006085/0.0138, allocations: 438.6 kB / 388.3 MB, free: 8.055 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.152e-05/0.01385, allocations: 75.83 kB / 388.3 MB, free: 7.957 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.074e-05/0.01392, allocations: 25.45 kB / 388.4 MB, free: 7.93 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.379e-05/0.01397, allocations: 16.5 kB / 388.4 MB, free: 7.914 MB / 362.7 MB Notification: Performance of SimCode: time 1.022e-06/0.01397, allocations: 3.938 kB / 388.4 MB, free: 7.91 MB / 362.7 MB Notification: Performance of Templates: time 0.002976/0.01694, allocations: 0.9762 MB / 389.4 MB, free: 6.949 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.3018580647185445]