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.001028/0.001028, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001656/0.001656, allocations: 170.6 kB / 24.99 MB, free: 8.789 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 1.04/1.04, allocations: 177.1 MB / 205.3 MB, free: 5.648 MB / 186.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.543e-06/1.543e-06, allocations: 0 / 273 MB, free: 1.91 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.666e-05/1.82e-05, allocations: 2.312 kB / 273 MB, free: 1.906 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.001826/0.001844, allocations: 1.557 MB / 274.6 MB, free: 352 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006786/0.002522, allocations: 0.5179 MB / 275.1 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.952e-05/0.002562, allocations: 0 / 275.1 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.955e-05/0.002651, allocations: 19.86 kB / 275.1 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.313e-05/0.002715, allocations: 11.86 kB / 275.1 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001411/0.002856, allocations: 39.91 kB / 275.2 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.08e-05/0.002937, allocations: 63.77 kB / 275.2 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.06e-05/0.003017, allocations: 8 kB / 275.2 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001523/0.003169, allocations: 39.91 kB / 275.3 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.561e-05/0.003225, allocations: 27.89 kB / 275.3 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.003241, allocations: 8 kB / 275.3 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.508e-05/0.003286, allocations: 15.94 kB / 275.3 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.44e-05/0.0033, allocations: 15.92 kB / 275.3 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.253e-05/0.003323, allocations: 15.98 kB / 275.3 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001182/0.003441, allocations: 63.73 kB / 275.4 MB, free: 15.5 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.003443, allocations: 4 kB / 275.4 MB, free: 15.49 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.003443, allocations: 0 / 275.4 MB, free: 15.49 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.003447, allocations: 0 / 275.4 MB, free: 15.49 MB / 266.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.0003723/0.003819, allocations: 392.5 kB / 275.8 MB, free: 15.07 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.068e-05/0.00385, allocations: 12.03 kB / 275.8 MB, free: 15.06 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.2e-05/0.003882, allocations: 12.89 kB / 275.8 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.472e-05/0.003957, allocations: 116.5 kB / 275.9 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.003969, allocations: 4.375 kB / 275.9 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.719e-06/0.003978, allocations: 8.312 kB / 275.9 MB, free: 14.9 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.004106, allocations: 82.86 kB / 276 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.172e-06/0.004113, allocations: 192 / 276 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.004122, allocations: 4.375 kB / 276 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.004128, allocations: 3.938 kB / 276 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.367e-05/0.004182, allocations: 19.98 kB / 276.1 MB, free: 14.78 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002719/0.004454, allocations: 287.7 kB / 276.3 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.528e-05/0.004539, allocations: 47 kB / 276.4 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.199e-05/0.004571, allocations: 19.8 kB / 276.4 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.027e-06/0.00458, allocations: 0 / 276.4 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.859e-05/0.004598, allocations: 37.39 kB / 276.4 MB, free: 14.34 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 6.71e-07/0.004599, allocations: 4 kB / 276.4 MB, free: 14.33 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001457/0.004745, allocations: 65.67 kB / 276.5 MB, free: 14.26 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.692e-05/0.004772, allocations: 55.41 kB / 276.6 MB, free: 14.2 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.681e-05/0.004839, allocations: 165.9 kB / 276.7 MB, free: 14.02 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.476e-06/0.004847, allocations: 25.7 kB / 276.7 MB, free: 13.98 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.533e-05/0.004892, allocations: 146.8 kB / 276.9 MB, free: 13.84 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.81e-05/0.00491, allocations: 11.91 kB / 276.9 MB, free: 13.82 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.534e-05/0.004936, allocations: 19.38 kB / 276.9 MB, free: 13.8 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.005044, allocations: 0.4923 MB / 277.4 MB, free: 13.29 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.913e-05/0.005063, allocations: 4.25 kB / 277.4 MB, free: 13.29 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.964e-05/0.005082, allocations: 16 kB / 277.4 MB, free: 13.27 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.723e-05/0.00513, allocations: 31.61 kB / 277.5 MB, free: 13.24 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.005131, allocations: 0 / 277.5 MB, free: 13.24 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.947e-05/0.0052, allocations: 57.59 kB / 277.5 MB, free: 13.18 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.005213, allocations: 7.984 kB / 277.5 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.005216, allocations: 0 / 277.5 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.237e-06/0.005226, allocations: 0 / 277.5 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.293e-05/0.005288, allocations: 16 kB / 277.5 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.095e-06/0.005292, allocations: 0 / 277.5 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.519e-05/0.005317, allocations: 7.984 kB / 277.5 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.022e-06/0.005323, allocations: 8 kB / 277.6 MB, free: 13.14 MB / 266.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.844e-05/0.005381, allocations: 152.6 kB / 277.7 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.239e-05/0.005404, allocations: 15.88 kB / 277.7 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001012/0.005505, allocations: 77.72 kB / 277.8 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.005507, allocations: 3.984 kB / 277.8 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.005509, allocations: 3.938 kB / 277.8 MB, free: 12.87 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.005512, allocations: 7.984 kB / 277.8 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.652e-05/0.005608, allocations: 132.6 kB / 277.9 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.005609, allocations: 0 / 277.9 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.153e-05/0.005651, allocations: 19.92 kB / 278 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.62e-07/0.005652, allocations: 4 kB / 278 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.005659, allocations: 4 kB / 278 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.00566, allocations: 0 / 278 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.00566, allocations: 0 / 278 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001107/0.005771, allocations: 220 kB / 278.2 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.35e-06/0.005776, allocations: 3.938 kB / 278.2 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.003e-05/0.005786, allocations: 8 kB / 278.2 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.95e-05/0.005826, allocations: 7.984 kB / 278.2 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.306e-05/0.005849, allocations: 7.984 kB / 278.2 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-06/0.005853, allocations: 4 kB / 278.2 MB, free: 12.41 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.752e-05/0.005891, allocations: 139.5 kB / 278.3 MB, free: 12.27 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005891, allocations: 0 / 278.3 MB, free: 12.27 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001463/0.006037, allocations: 12 kB / 278.4 MB, free: 12.26 MB / 266.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 8.662e-05/0.006124, allocations: 98 kB / 278.5 MB, free: 12.15 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.16e-05/0.006215, allocations: 35.61 kB / 278.5 MB, free: 12.11 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.193e-06/0.006217, allocations: 0 / 278.5 MB, free: 12.11 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.129e-05/0.006248, allocations: 27.67 kB / 278.5 MB, free: 12.08 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001632/0.006411, allocations: 12 kB / 278.5 MB, free: 12.07 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002565/0.006668, allocations: 169.9 kB / 278.7 MB, free: 11.88 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.464e-05/0.006702, allocations: 63.34 kB / 278.8 MB, free: 11.79 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.988e-05/0.006722, allocations: 0 / 278.8 MB, free: 11.79 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.807e-05/0.00675, allocations: 16.5 kB / 278.8 MB, free: 11.78 MB / 266.7 MB Notification: Performance of SimCode: time 7.02e-07/0.006751, allocations: 0 / 278.8 MB, free: 11.78 MB / 266.7 MB Notification: Performance of Templates: time 0.00235/0.009101, allocations: 0.9719 MB / 279.7 MB, free: 10.82 MB / 266.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8821159470826387]