Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001345/0.001345, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002394/0.003739, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001485/0.001485, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001997/0.003482, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.135/1.135, allocations: 177.2 MB / 189.8 MB, free: 5.266 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1159/1.251, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] 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(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1010,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock") translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1010,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 244.7 MB, free: 14.28 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.939e-05/2.08e-05, allocations: 2.312 kB / 244.7 MB, free: 14.28 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002653/0.002674, allocations: 1.618 MB / 246.3 MB, free: 12.64 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007653/0.003439, allocations: 0.5148 MB / 246.8 MB, free: 12.12 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.063e-05/0.00349, allocations: 4 kB / 246.8 MB, free: 12.12 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.349e-05/0.003563, allocations: 19.86 kB / 246.8 MB, free: 12.1 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.295e-05/0.003616, allocations: 15.88 kB / 246.8 MB, free: 12.08 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001409/0.003757, allocations: 39.83 kB / 246.9 MB, free: 12.04 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.299e-05/0.00384, allocations: 55.8 kB / 246.9 MB, free: 11.99 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.567e-05/0.003936, allocations: 19.92 kB / 246.9 MB, free: 11.97 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001991/0.004135, allocations: 43.89 kB / 247 MB, free: 11.93 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.687e-05/0.004202, allocations: 19.97 kB / 247 MB, free: 11.91 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.186e-05/0.004224, allocations: 11.94 kB / 247 MB, free: 11.89 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.655e-05/0.00429, allocations: 19.94 kB / 247 MB, free: 11.88 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.924e-05/0.00431, allocations: 8 kB / 247 MB, free: 11.87 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.288e-05/0.004332, allocations: 11.94 kB / 247.1 MB, free: 11.86 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001868/0.004519, allocations: 51.83 kB / 247.1 MB, free: 11.8 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.252e-05/0.004532, allocations: 0 / 247.1 MB, free: 11.8 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.004533, allocations: 4 kB / 247.1 MB, free: 11.8 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.262e-05/0.004545, allocations: 0 / 247.1 MB, free: 11.8 MB / 250.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.0005671/0.005112, allocations: 369.5 kB / 247.5 MB, free: 11.4 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.005147, allocations: 8.031 kB / 247.5 MB, free: 11.39 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.922e-05/0.005177, allocations: 4.938 kB / 247.5 MB, free: 11.39 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.005287, allocations: 121.6 kB / 247.6 MB, free: 11.24 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.005305, allocations: 384 / 247.6 MB, free: 11.24 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.005321, allocations: 8.375 kB / 247.6 MB, free: 11.23 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.005473, allocations: 74.92 kB / 247.7 MB, free: 11.15 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.005483, allocations: 192 / 247.7 MB, free: 11.15 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.005492, allocations: 8.312 kB / 247.7 MB, free: 11.14 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.005502, allocations: 3.938 kB / 247.7 MB, free: 11.14 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.722e-05/0.005539, allocations: 15.92 kB / 247.7 MB, free: 11.12 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003226/0.005862, allocations: 180.3 kB / 247.9 MB, free: 10.93 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.833e-05/0.00596, allocations: 34.59 kB / 247.9 MB, free: 10.89 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001261/0.006086, allocations: 8.859 kB / 247.9 MB, free: 10.88 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/0.006104, allocations: 4.125 kB / 247.9 MB, free: 10.88 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.006132, allocations: 50.5 kB / 248 MB, free: 10.82 MB / 250.7 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.006133, allocations: 0 / 248 MB, free: 10.82 MB / 250.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001489/0.006282, allocations: 49.69 kB / 248 MB, free: 10.76 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/0.006317, allocations: 51.41 kB / 248.1 MB, free: 10.7 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.549e-05/0.006393, allocations: 114.6 kB / 248.2 MB, free: 10.57 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.006411, allocations: 33.7 kB / 248.2 MB, free: 10.54 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.298e-05/0.006454, allocations: 92.06 kB / 248.3 MB, free: 10.44 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.58e-05/0.00648, allocations: 15.84 kB / 248.3 MB, free: 10.43 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.202e-05/0.006512, allocations: 21.7 kB / 248.4 MB, free: 10.4 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.006613, allocations: 314.8 kB / 248.7 MB, free: 10.08 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.488e-05/0.006628, allocations: 8 kB / 248.7 MB, free: 10.07 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.372e-05/0.006641, allocations: 4 kB / 248.7 MB, free: 10.07 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.667e-05/0.006678, allocations: 20.84 kB / 248.7 MB, free: 10.05 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.00668, allocations: 0 / 248.7 MB, free: 10.05 MB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.745e-05/0.006748, allocations: 57.61 kB / 248.8 MB, free: 9.984 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.006761, allocations: 4 kB / 248.8 MB, free: 9.98 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.006767, allocations: 0 / 248.8 MB, free: 9.98 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/0.006788, allocations: 7.938 kB / 248.8 MB, free: 9.973 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.473e-05/0.006873, allocations: 11.98 kB / 248.8 MB, free: 9.961 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.886e-06/0.006876, allocations: 0 / 248.8 MB, free: 9.961 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.674e-05/0.006902, allocations: 15.95 kB / 248.8 MB, free: 9.945 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.006907, allocations: 0 / 248.8 MB, free: 9.945 MB / 250.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.436e-05/0.006961, allocations: 105.8 kB / 248.9 MB, free: 9.832 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.567e-05/0.006977, allocations: 11.92 kB / 248.9 MB, free: 9.82 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.559e-05/0.007073, allocations: 61.8 kB / 249 MB, free: 9.758 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.007076, allocations: 0 / 249 MB, free: 9.758 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.007078, allocations: 0 / 249 MB, free: 9.758 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.007081, allocations: 4 kB / 249 MB, free: 9.754 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001059/0.007187, allocations: 86.23 kB / 249.1 MB, free: 9.652 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.007189, allocations: 3.938 kB / 249.1 MB, free: 9.648 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.864e-05/0.007238, allocations: 19.98 kB / 249.1 MB, free: 9.629 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.294e-05/0.007251, allocations: 15.89 kB / 249.1 MB, free: 9.613 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.007254, allocations: 3.938 kB / 249.1 MB, free: 9.609 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.722e-06/0.007261, allocations: 0 / 249.1 MB, free: 9.609 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.007262, allocations: 0 / 249.1 MB, free: 9.609 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.007263, allocations: 4 kB / 249.1 MB, free: 9.605 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000104/0.007367, allocations: 155.6 kB / 249.3 MB, free: 9.438 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.007379, allocations: 0 / 249.3 MB, free: 9.438 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.762e-05/0.007417, allocations: 11.92 kB / 249.3 MB, free: 9.426 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.002e-05/0.007457, allocations: 11.98 kB / 249.3 MB, free: 9.414 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.00746, allocations: 0 / 249.3 MB, free: 9.414 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.837e-05/0.007478, allocations: 24.78 kB / 249.3 MB, free: 9.387 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007478, allocations: 0 / 249.3 MB, free: 9.387 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001249/0.007603, allocations: 12 kB / 249.3 MB, free: 9.375 MB / 250.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 0.0001383/0.007741, allocations: 80.41 kB / 249.4 MB, free: 9.285 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.376e-05/0.007835, allocations: 20.86 kB / 249.4 MB, free: 9.262 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/0.007842, allocations: 4 kB / 249.4 MB, free: 9.258 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.588e-05/0.007888, allocations: 36.77 kB / 249.5 MB, free: 9.219 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002017/0.008089, allocations: 68.05 kB / 249.5 MB, free: 9.141 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007449/0.008834, allocations: 167.9 kB / 249.7 MB, free: 8.953 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.198e-05/0.008886, allocations: 59.34 kB / 249.7 MB, free: 8.875 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.141e-05/0.008918, allocations: 4 kB / 249.7 MB, free: 8.871 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.605e-05/0.008984, allocations: 55.38 kB / 249.8 MB, free: 8.816 MB / 250.7 MB Notification: Performance of SimCode: time 1.022e-06/0.008985, allocations: 4 kB / 249.8 MB, free: 8.812 MB / 250.7 MB Notification: Performance of Templates: time 0.003137/0.01212, allocations: 0.9634 MB / 250.8 MB, free: 7.867 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & ./Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/ComplexBlocks/Examples/TestConversionBlock/TestConversionBlock.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7908137440681458]