Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.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.003341/0.003341, allocations: 76.81 kB / 22.28 MB, free: 2.211 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.001097/0.001097, allocations: 170.5 kB / 25.7 MB, free: 8.363 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9604/0.9604, allocations: 158.6 MB / 187.6 MB, free: 2.758 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1010,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock") translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1010,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 251.5 MB, free: 7.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.652e-05/2.843e-05, allocations: 10.25 kB / 251.5 MB, free: 7.258 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.003309/0.003338, allocations: 1.572 MB / 253.1 MB, free: 5.672 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008847/0.004223, allocations: 0.5344 MB / 253.6 MB, free: 5.129 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.328e-05/0.004266, allocations: 0 / 253.6 MB, free: 5.129 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 9.824e-05/0.004364, allocations: 15.88 kB / 253.7 MB, free: 5.113 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 6.714e-05/0.004431, allocations: 15.86 kB / 253.7 MB, free: 5.098 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001402/0.004571, allocations: 43.84 kB / 253.7 MB, free: 5.055 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 7.279e-05/0.004644, allocations: 51.84 kB / 253.8 MB, free: 5.004 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.489e-05/0.004729, allocations: 15.98 kB / 253.8 MB, free: 4.988 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001322/0.004861, allocations: 43.83 kB / 253.8 MB, free: 4.945 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.403e-05/0.004915, allocations: 27.91 kB / 253.8 MB, free: 4.918 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.00493, allocations: 8 kB / 253.9 MB, free: 4.91 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.472e-05/0.004985, allocations: 12 kB / 253.9 MB, free: 4.898 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.686e-05/0.005002, allocations: 15.91 kB / 253.9 MB, free: 4.883 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 1.969e-05/0.005022, allocations: 20 kB / 253.9 MB, free: 4.863 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001248/0.005146, allocations: 55.8 kB / 254 MB, free: 4.809 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.00515, allocations: 4 kB / 254 MB, free: 4.805 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.005151, allocations: 0 / 254 MB, free: 4.805 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.005155, allocations: 0 / 254 MB, free: 4.805 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003568/0.005512, allocations: 268.7 kB / 254.2 MB, free: 4.52 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.005544, allocations: 15.97 kB / 254.2 MB, free: 4.504 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.772e-05/0.005572, allocations: 8.938 kB / 254.2 MB, free: 4.496 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.822e-05/0.00565, allocations: 113.7 kB / 254.4 MB, free: 4.359 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.005664, allocations: 4.375 kB / 254.4 MB, free: 4.355 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.145e-06/0.005673, allocations: 8.375 kB / 254.4 MB, free: 4.348 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.005793, allocations: 78.86 kB / 254.4 MB, free: 4.262 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.0058, allocations: 192 / 254.4 MB, free: 4.262 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.966e-06/0.005809, allocations: 4.359 kB / 254.5 MB, free: 4.258 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.005815, allocations: 7.938 kB / 254.5 MB, free: 4.25 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.376e-05/0.005849, allocations: 19.86 kB / 254.5 MB, free: 4.23 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000244/0.006093, allocations: 180.2 kB / 254.7 MB, free: 4.039 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.793e-05/0.006161, allocations: 34.61 kB / 254.7 MB, free: 3.996 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.14e-05/0.006182, allocations: 16.84 kB / 254.7 MB, free: 3.977 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.152e-05/0.006194, allocations: 0 / 254.7 MB, free: 3.977 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.006215, allocations: 42.62 kB / 254.7 MB, free: 3.926 MB / 234.7 MB Notification: Performance of pre-optimization done (n=5): time 9.11e-07/0.006216, allocations: 0 / 254.7 MB, free: 3.926 MB / 234.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001158/0.006332, allocations: 45.69 kB / 254.8 MB, free: 3.875 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.831e-05/0.00636, allocations: 59.34 kB / 254.8 MB, free: 3.805 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.06e-05/0.006411, allocations: 110.7 kB / 255 MB, free: 3.684 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 9.598e-06/0.00642, allocations: 25.7 kB / 255 MB, free: 3.652 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.26e-05/0.006453, allocations: 96.08 kB / 255.1 MB, free: 3.551 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.349e-05/0.006476, allocations: 23.78 kB / 255.1 MB, free: 3.527 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.742e-05/0.006504, allocations: 17.72 kB / 255.1 MB, free: 3.504 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 7.633e-05/0.00658, allocations: 322.8 kB / 255.4 MB, free: 3.18 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.407e-05/0.006604, allocations: 4 kB / 255.4 MB, free: 3.176 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.339e-05/0.006617, allocations: 8 kB / 255.4 MB, free: 3.168 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.425e-05/0.006652, allocations: 20.84 kB / 255.5 MB, free: 3.145 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.006653, allocations: 0 / 255.5 MB, free: 3.145 MB / 234.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.012e-05/0.006714, allocations: 54 kB / 255.5 MB, free: 3.086 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.006724, allocations: 4 kB / 255.5 MB, free: 3.082 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.006729, allocations: 0 / 255.5 MB, free: 3.082 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.006742, allocations: 0 / 255.5 MB, free: 3.082 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.68e-05/0.006819, allocations: 19.98 kB / 255.5 MB, free: 3.062 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.014e-06/0.006821, allocations: 4 kB / 255.5 MB, free: 3.059 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.491e-05/0.006845, allocations: 11.98 kB / 255.6 MB, free: 3.047 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.92e-06/0.00685, allocations: 0 / 255.6 MB, free: 3.047 MB / 234.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 (5): * Single equations (assignments): 5 * 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 5.039e-05/0.006901, allocations: 109.8 kB / 255.7 MB, free: 2.93 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.824e-05/0.006919, allocations: 7.938 kB / 255.7 MB, free: 2.922 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.572e-05/0.007015, allocations: 65.72 kB / 255.7 MB, free: 2.852 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.007018, allocations: 0 / 255.7 MB, free: 2.852 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.007021, allocations: 3.938 kB / 255.7 MB, free: 2.848 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.007024, allocations: 0 / 255.7 MB, free: 2.848 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000114/0.007138, allocations: 81.88 kB / 255.8 MB, free: 2.75 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.00714, allocations: 4 kB / 255.8 MB, free: 2.746 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.838e-05/0.007188, allocations: 19.98 kB / 255.8 MB, free: 2.727 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.007189, allocations: 0 / 255.8 MB, free: 2.727 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.089e-06/0.007194, allocations: 0 / 255.8 MB, free: 2.727 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.007197, allocations: 3.938 kB / 255.8 MB, free: 2.723 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.007197, allocations: 0 / 255.8 MB, free: 2.723 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.881e-05/0.007286, allocations: 155.5 kB / 256 MB, free: 2.555 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.205e-06/0.007294, allocations: 11.83 kB / 256 MB, free: 2.543 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.306e-06/0.007303, allocations: 0 / 256 MB, free: 2.543 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.01e-05/0.007343, allocations: 7.938 kB / 256 MB, free: 2.535 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.3e-05/0.007376, allocations: 15.98 kB / 256 MB, free: 2.52 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.007379, allocations: 0 / 256 MB, free: 2.52 MB / 234.7 MB Notification: Performance of sorting global known variables: time 1.777e-05/0.007397, allocations: 20.83 kB / 256.1 MB, free: 2.496 MB / 234.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007397, allocations: 0 / 256.1 MB, free: 2.496 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001286/0.007526, allocations: 8 kB / 256.1 MB, free: 2.488 MB / 234.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 (7): * Single equations (assignments): 7 * 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.631e-05/0.007622, allocations: 80.42 kB / 256.1 MB, free: 2.398 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 7.36e-05/0.007696, allocations: 24.84 kB / 256.2 MB, free: 2.371 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.007698, allocations: 4 kB / 256.2 MB, free: 2.367 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 2.329e-05/0.007722, allocations: 20.8 kB / 256.2 MB, free: 2.344 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001431/0.007865, allocations: 12.3 kB / 256.2 MB, free: 2.332 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002424/0.008107, allocations: 159.4 kB / 256.4 MB, free: 2.152 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.982e-05/0.008147, allocations: 59.34 kB / 256.4 MB, free: 2.074 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 3.065e-05/0.008178, allocations: 4 kB / 256.4 MB, free: 2.07 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.364e-05/0.008251, allocations: 63.38 kB / 256.5 MB, free: 2.008 MB / 234.7 MB Notification: Performance of SimCode: time 1.413e-06/0.008253, allocations: 0 / 256.5 MB, free: 2.008 MB / 234.7 MB Notification: Performance of Templates: time 0.002802/0.01105, allocations: 0.9349 MB / 257.4 MB, free: 1.082 MB / 234.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & ./Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/ComplexBlocks/Examples/TestConversionBlock/TestConversionBlock.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: 2.7008518390357494]