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.001539/0.001539, allocations: 111.1 kB / 20.44 MB, free: 1.199 MB / 14.72 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.001472/0.001472, allocations: 208.2 kB / 23.72 MB, free: 4.41 MB / 14.72 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 1.539/1.539, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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.251/0.251, allocations: 46.96 MB / 360.9 MB, free: 4.039 MB / 286.1 MB " [Timeout remaining time 179] 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 0.00213/0.00213, allocations: 67.89 kB / 0.4966 GB, free: 7.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3574/0.3595, allocations: 66.03 MB / 0.5611 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.00436/0.3639, allocations: 2.042 MB / 0.5631 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002694/0.3666, allocations: 1.274 MB / 0.5643 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001159/0.3667, allocations: 4 kB / 0.5643 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 8.954e-05/0.3668, allocations: 23.72 kB / 0.5644 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001442/0.3669, allocations: 35.66 kB / 0.5644 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006339/0.3675, allocations: 203.2 kB / 0.5646 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002703/0.3678, allocations: 176.1 kB / 0.5648 GB, free: 396 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002283/0.368, allocations: 83.88 kB / 0.5648 GB, free: 312 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002462/0.3683, allocations: 83.7 kB / 0.5649 GB, free: 228 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.3684, allocations: 79.48 kB / 0.565 GB, free: 148 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.939e-05/0.3684, allocations: 16 kB / 0.565 GB, free: 132 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003311/0.3688, allocations: 144 kB / 0.5651 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.15e-05/0.3688, allocations: 47.78 kB / 0.5652 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.921e-05/0.3689, allocations: 79.53 kB / 0.5653 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004768/0.3694, allocations: 324.9 kB / 0.5656 GB, free: 15.55 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.3694, allocations: 7.984 kB / 0.5656 GB, free: 15.54 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3694, allocations: 0 / 0.5656 GB, free: 15.54 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.263e-06/0.3694, allocations: 0 / 0.5656 GB, free: 15.54 MB / 414.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.000669/0.3701, allocations: 461.5 kB / 0.566 GB, free: 15.06 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.3701, allocations: 11.97 kB / 0.566 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009119/0.371, allocations: 76.73 kB / 0.5661 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003092/0.3713, allocations: 166.2 kB / 0.5663 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.583e-05/0.3713, allocations: 17.03 kB / 0.5663 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.306e-05/0.3714, allocations: 24.38 kB / 0.5663 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000383/0.3718, allocations: 210.4 kB / 0.5665 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.3718, allocations: 0 / 0.5665 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.385e-05/0.3718, allocations: 12 kB / 0.5665 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.3718, allocations: 4 kB / 0.5665 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002883/0.3721, allocations: 142.5 kB / 0.5667 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008269/0.3729, allocations: 476.8 kB / 0.5671 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005687/0.3735, allocations: 219.8 kB / 0.5673 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001283/0.3736, allocations: 61.3 kB / 0.5674 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.3736, allocations: 4.234 kB / 0.5674 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.3737, allocations: 42.73 kB / 0.5674 GB, free: 13.54 MB / 414.1 MB Notification: Performance of pre-optimization done (n=27): time 3.306e-06/0.3737, allocations: 3.984 kB / 0.5674 GB, free: 13.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004865/0.3742, allocations: 215.8 kB / 0.5676 GB, free: 13.32 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.239e-05/0.3742, allocations: 51.41 kB / 0.5677 GB, free: 13.26 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.079e-05/0.3743, allocations: 105.8 kB / 0.5678 GB, free: 13.14 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.747e-05/0.3743, allocations: 33.7 kB / 0.5678 GB, free: 13.11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.402e-05/0.3744, allocations: 136.7 kB / 0.5679 GB, free: 12.97 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.561e-05/0.3745, allocations: 91.17 kB / 0.568 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.808e-05/0.3746, allocations: 45.7 kB / 0.5681 GB, free: 12.83 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.3748, allocations: 326.8 kB / 0.5684 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.579e-05/0.3749, allocations: 35.98 kB / 0.5684 GB, free: 12.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.375, allocations: 53.83 kB / 0.5685 GB, free: 12.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002257/0.3752, allocations: 117.3 kB / 0.5686 GB, free: 12.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.3752, allocations: 0 / 0.5686 GB, free: 12.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002896/0.3755, allocations: 169.5 kB / 0.5687 GB, free: 12.12 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.3755, allocations: 7.938 kB / 0.5688 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.3755, allocations: 0 / 0.5688 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.3755, allocations: 4 kB / 0.5688 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003758/0.3759, allocations: 95.94 kB / 0.5689 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.3759, allocations: 0 / 0.5689 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.246e-05/0.376, allocations: 19.89 kB / 0.5689 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.376, allocations: 7.938 kB / 0.5689 GB, free: 11.99 MB / 414.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.0001243/0.3761, allocations: 125.8 kB / 0.569 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.065e-05/0.3761, allocations: 23.84 kB / 0.569 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.701e-05/0.3762, allocations: 21.62 kB / 0.569 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.3762, allocations: 4 kB / 0.569 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-06/0.3762, allocations: 0 / 0.569 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.3762, allocations: 3.984 kB / 0.569 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002512/0.3765, allocations: 189.1 kB / 0.5692 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.3765, allocations: 4 kB / 0.5692 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003604/0.3768, allocations: 96.14 kB / 0.5693 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.3768, allocations: 4 kB / 0.5693 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.3769, allocations: 11.94 kB / 0.5693 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.3769, allocations: 0 / 0.5693 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.3769, allocations: 0 / 0.5693 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003559/0.3772, allocations: 279.6 kB / 0.5696 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.787e-05/0.3772, allocations: 15.84 kB / 0.5696 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.512e-05/0.3773, allocations: 15.92 kB / 0.5696 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.919e-05/0.3774, allocations: 4 kB / 0.5696 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.266e-05/0.3774, allocations: 19.97 kB / 0.5697 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/0.3774, allocations: 8 kB / 0.5697 GB, free: 11.12 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.303e-05/0.3775, allocations: 83.28 kB / 0.5697 GB, free: 11.04 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3775, allocations: 0 / 0.5697 GB, free: 11.04 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002858/0.3778, allocations: 43.89 kB / 0.5698 GB, free: 11 MB / 414.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 0.0001239/0.3779, allocations: 103.2 kB / 0.5699 GB, free: 10.89 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002732/0.3782, allocations: 116 kB / 0.57 GB, free: 10.77 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3782, allocations: 0 / 0.57 GB, free: 10.77 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001529/0.3783, allocations: 75.83 kB / 0.5701 GB, free: 10.7 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002415/0.3785, allocations: 18.5 kB / 0.5701 GB, free: 10.68 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008076/0.3794, allocations: 477.7 kB / 0.5705 GB, free: 10.19 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001249/0.3795, allocations: 124.6 kB / 0.5707 GB, free: 10.05 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001005/0.3796, allocations: 21.41 kB / 0.5707 GB, free: 10.03 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.146e-05/0.3797, allocations: 19.42 kB / 0.5707 GB, free: 10.01 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3797, allocations: 0 / 0.5707 GB, free: 10.01 MB / 414.1 MB Notification: Performance of Templates: time 0.004223/0.3839, allocations: 0.9384 MB / 0.5716 GB, free: 9.082 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.45161478035152]