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.001358/0.001358, allocations: 88.39 kB / 21.44 MB, free: 276 kB / 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.001506/0.001506, allocations: 164.2 kB / 24.71 MB, free: 3.543 MB / 14.72 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 1.502/1.502, allocations: 158.6 MB / 186.5 MB, free: 6.402 MB / 174.1 MB " [Timeout remaining time 178] 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.863e-06/1.863e-06, allocations: 0 / 298.9 MB, free: 8.766 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.342e-05/3.529e-05, allocations: 6.281 kB / 298.9 MB, free: 8.758 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.003314/0.00335, allocations: 1.476 MB / 300.4 MB, free: 7.262 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001044/0.004394, allocations: 0.5119 MB / 300.9 MB, free: 6.742 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.16e-05/0.004455, allocations: 0 / 300.9 MB, free: 6.742 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001289/0.004584, allocations: 15.86 kB / 300.9 MB, free: 6.727 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.746e-05/0.004672, allocations: 15.86 kB / 300.9 MB, free: 6.711 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002261/0.004898, allocations: 39.84 kB / 301 MB, free: 6.672 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001143/0.005012, allocations: 51.8 kB / 301 MB, free: 6.621 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.00514, allocations: 23.97 kB / 301 MB, free: 6.598 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000164/0.005304, allocations: 31.97 kB / 301.1 MB, free: 6.566 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.418e-05/0.005388, allocations: 27.91 kB / 301.1 MB, free: 6.539 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.241e-05/0.005411, allocations: 8 kB / 301.1 MB, free: 6.531 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.951e-05/0.00549, allocations: 19.92 kB / 301.1 MB, free: 6.512 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.353e-05/0.005524, allocations: 19.86 kB / 301.1 MB, free: 6.492 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.195e-05/0.005556, allocations: 12 kB / 301.2 MB, free: 6.48 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002064/0.005762, allocations: 79.7 kB / 301.2 MB, free: 6.402 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.005765, allocations: 0 / 301.2 MB, free: 6.402 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.005766, allocations: 0 / 301.2 MB, free: 6.402 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.00577, allocations: 0 / 301.2 MB, free: 6.402 MB / 286.1 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.0007186/0.006489, allocations: 314 kB / 301.5 MB, free: 6.066 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.006534, allocations: 11.98 kB / 301.6 MB, free: 6.055 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.555e-05/0.006579, allocations: 8.891 kB / 301.6 MB, free: 6.047 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.006717, allocations: 125.6 kB / 301.7 MB, free: 5.898 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.006734, allocations: 384 / 301.7 MB, free: 5.898 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.64e-05/0.006751, allocations: 4.375 kB / 301.7 MB, free: 5.895 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003038/0.007055, allocations: 82.2 kB / 301.8 MB, free: 5.809 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.007064, allocations: 192 / 301.8 MB, free: 5.809 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.007077, allocations: 384 / 301.8 MB, free: 5.809 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-06/0.007086, allocations: 7.938 kB / 301.8 MB, free: 5.801 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003349/0.007421, allocations: 91.84 kB / 301.9 MB, free: 5.711 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004435/0.007864, allocations: 224.6 kB / 302.1 MB, free: 5.461 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002858/0.00815, allocations: 74.45 kB / 302.2 MB, free: 5.379 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001798/0.00833, allocations: 52.98 kB / 302.2 MB, free: 5.324 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.008352, allocations: 0 / 302.2 MB, free: 5.324 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/0.008385, allocations: 30.56 kB / 302.2 MB, free: 5.285 MB / 286.1 MB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.008386, allocations: 0 / 302.2 MB, free: 5.285 MB / 286.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006103/0.008996, allocations: 149.5 kB / 302.4 MB, free: 5.133 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/0.009044, allocations: 55.41 kB / 302.4 MB, free: 5.066 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.009151, allocations: 117.8 kB / 302.6 MB, free: 4.941 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.00917, allocations: 25.7 kB / 302.6 MB, free: 4.91 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.857e-05/0.009239, allocations: 96.08 kB / 302.7 MB, free: 4.812 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.775e-05/0.009267, allocations: 11.84 kB / 302.7 MB, free: 4.801 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.426e-05/0.009311, allocations: 17.72 kB / 302.7 MB, free: 4.777 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.009471, allocations: 326.8 kB / 303 MB, free: 4.449 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001582/0.009629, allocations: 32.22 kB / 303.1 MB, free: 4.418 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001567/0.009786, allocations: 47.95 kB / 303.1 MB, free: 4.371 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003127/0.0101, allocations: 76.78 kB / 303.2 MB, free: 4.293 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.0101, allocations: 0 / 303.2 MB, free: 4.293 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003695/0.01047, allocations: 125.5 kB / 303.3 MB, free: 4.164 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.01049, allocations: 4 kB / 303.3 MB, free: 4.16 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.01049, allocations: 0 / 303.3 MB, free: 4.16 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.01051, allocations: 4 kB / 303.3 MB, free: 4.156 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001477/0.01066, allocations: 23.91 kB / 303.3 MB, free: 4.133 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.01067, allocations: 0 / 303.3 MB, free: 4.133 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.649e-05/0.01076, allocations: 11.98 kB / 303.3 MB, free: 4.121 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.01076, allocations: 0 / 303.3 MB, free: 4.121 MB / 286.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 (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 9.134e-05/0.01085, allocations: 113.8 kB / 303.5 MB, free: 4 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.108e-05/0.01088, allocations: 11.89 kB / 303.5 MB, free: 3.988 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004176/0.0113, allocations: 129.7 kB / 303.6 MB, free: 3.859 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.01131, allocations: 4 kB / 303.6 MB, free: 3.855 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.01131, allocations: 0 / 303.6 MB, free: 3.855 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.01132, allocations: 0 / 303.6 MB, free: 3.855 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001694/0.01148, allocations: 121.3 kB / 303.7 MB, free: 3.707 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.01149, allocations: 0 / 303.7 MB, free: 3.707 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001316/0.01162, allocations: 39.84 kB / 303.8 MB, free: 3.668 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.01162, allocations: 0 / 303.8 MB, free: 3.668 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.01163, allocations: 0 / 303.8 MB, free: 3.668 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.01163, allocations: 0 / 303.8 MB, free: 3.668 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.01163, allocations: 0 / 303.8 MB, free: 3.668 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000429/0.01206, allocations: 219.7 kB / 304 MB, free: 3.438 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.74e-05/0.01208, allocations: 11.88 kB / 304 MB, free: 3.426 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.0121, allocations: 8 kB / 304 MB, free: 3.418 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.01221, allocations: 19.97 kB / 304 MB, free: 3.398 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.294e-05/0.01225, allocations: 3.984 kB / 304 MB, free: 3.395 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.916e-06/0.01226, allocations: 4 kB / 304 MB, free: 3.391 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.673e-05/0.01232, allocations: 95.58 kB / 304.1 MB, free: 3.297 MB / 286.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01232, allocations: 0 / 304.1 MB, free: 3.297 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002337/0.01255, allocations: 15.95 kB / 304.1 MB, free: 3.281 MB / 286.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 (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.000146/0.0127, allocations: 107.2 kB / 304.2 MB, free: 3.168 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003824/0.01308, allocations: 83.91 kB / 304.3 MB, free: 3.086 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.01309, allocations: 4 kB / 304.3 MB, free: 3.082 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001757/0.01326, allocations: 43.91 kB / 304.4 MB, free: 3.039 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000323/0.01359, allocations: 22.73 kB / 304.4 MB, free: 3.02 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000411/0.014, allocations: 160.7 kB / 304.5 MB, free: 2.836 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.437e-05/0.01407, allocations: 71.45 kB / 304.6 MB, free: 2.746 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.649e-05/0.01411, allocations: 11.98 kB / 304.6 MB, free: 2.734 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.312e-05/0.01415, allocations: 12.5 kB / 304.6 MB, free: 2.723 MB / 286.1 MB Notification: Performance of SimCode: time 3.1e-07/0.01415, allocations: 0 / 304.6 MB, free: 2.723 MB / 286.1 MB Notification: Performance of Templates: time 0.004066/0.01822, allocations: 0.9437 MB / 305.6 MB, free: 1.777 MB / 286.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.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: 4.2141403295099735]