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.002297/0.002297, allocations: 96.3 kB / 21.73 MB, free: 2.703 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.003017/0.003017, allocations: 167.1 kB / 25.02 MB, free: 8.945 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 1.771/1.771, allocations: 158.6 MB / 186.8 MB, free: 2.926 MB / 170.7 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 2.365e-06/2.365e-06, allocations: 0 / 250.3 MB, free: 7.875 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.703e-05/3.94e-05, allocations: 2.312 kB / 250.3 MB, free: 7.871 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.005491/0.005531, allocations: 1.496 MB / 251.8 MB, free: 6.363 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002013/0.007544, allocations: 0.5007 MB / 252.3 MB, free: 5.855 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.573e-05/0.007619, allocations: 0 / 252.3 MB, free: 5.855 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002002/0.007819, allocations: 23.8 kB / 252.3 MB, free: 5.832 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001411/0.007961, allocations: 11.86 kB / 252.4 MB, free: 5.82 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003488/0.008309, allocations: 39.84 kB / 252.4 MB, free: 5.781 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001851/0.008495, allocations: 63.78 kB / 252.5 MB, free: 5.719 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001549/0.008649, allocations: 11.98 kB / 252.5 MB, free: 5.707 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002227/0.008872, allocations: 39.91 kB / 252.5 MB, free: 5.668 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001137/0.008986, allocations: 23.97 kB / 252.5 MB, free: 5.645 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.751e-05/0.009013, allocations: 4 kB / 252.5 MB, free: 5.641 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.516e-05/0.009109, allocations: 19.98 kB / 252.5 MB, free: 5.621 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.056e-05/0.009149, allocations: 15.92 kB / 252.6 MB, free: 5.605 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.797e-05/0.009207, allocations: 15.92 kB / 252.6 MB, free: 5.59 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002878/0.009495, allocations: 75.72 kB / 252.7 MB, free: 5.516 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.009501, allocations: 0 / 252.7 MB, free: 5.516 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.009504, allocations: 0 / 252.7 MB, free: 5.516 MB / 234.7 MB Notification: Performance of Transformations before backend: time 7.704e-06/0.009512, allocations: 0 / 252.7 MB, free: 5.516 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.001121/0.01063, allocations: 318.1 kB / 253 MB, free: 5.176 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.941e-05/0.01069, allocations: 11.98 kB / 253 MB, free: 5.164 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.195e-05/0.01078, allocations: 12.89 kB / 253 MB, free: 5.152 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001979/0.01098, allocations: 105.8 kB / 253.1 MB, free: 5.023 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.542e-05/0.01101, allocations: 4.312 kB / 253.1 MB, free: 5.02 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.597e-05/0.01104, allocations: 12.36 kB / 253.1 MB, free: 5.008 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000488/0.01153, allocations: 82.2 kB / 253.2 MB, free: 4.922 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.01154, allocations: 192 / 253.2 MB, free: 4.922 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.245e-05/0.01157, allocations: 8.359 kB / 253.2 MB, free: 4.914 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.356e-05/0.01158, allocations: 7.938 kB / 253.2 MB, free: 4.906 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006233/0.0122, allocations: 71.92 kB / 253.3 MB, free: 4.836 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007459/0.01295, allocations: 252.4 kB / 253.5 MB, free: 4.559 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004843/0.01343, allocations: 74.47 kB / 253.6 MB, free: 4.477 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003225/0.01376, allocations: 44.95 kB / 253.6 MB, free: 4.43 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.875e-05/0.01378, allocations: 96 / 253.6 MB, free: 4.43 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.751e-05/0.01384, allocations: 38.48 kB / 253.7 MB, free: 4.383 MB / 234.7 MB Notification: Performance of pre-optimization done (n=5): time 2.004e-06/0.01384, allocations: 4 kB / 253.7 MB, free: 4.379 MB / 234.7 MB Notification: Performance of matching and sorting (n=5): time 0.001092/0.01494, allocations: 149.5 kB / 253.8 MB, free: 4.227 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.237e-05/0.01501, allocations: 55.41 kB / 253.9 MB, free: 4.16 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001774/0.01519, allocations: 117.8 kB / 254 MB, free: 4.035 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.089e-05/0.01522, allocations: 25.7 kB / 254 MB, free: 4.004 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.01532, allocations: 88.09 kB / 254.1 MB, free: 3.914 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.788e-05/0.01537, allocations: 19.84 kB / 254.1 MB, free: 3.895 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.303e-05/0.01546, allocations: 21.7 kB / 254.1 MB, free: 3.867 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0002713/0.01573, allocations: 310.8 kB / 254.5 MB, free: 3.555 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003029/0.01603, allocations: 47.83 kB / 254.5 MB, free: 3.508 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002787/0.01631, allocations: 35.97 kB / 254.5 MB, free: 3.473 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005573/0.01687, allocations: 89.16 kB / 254.6 MB, free: 3.383 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.01687, allocations: 0 / 254.6 MB, free: 3.383 MB / 234.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0006747/0.01754, allocations: 121.5 kB / 254.7 MB, free: 3.258 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/0.01757, allocations: 4 kB / 254.7 MB, free: 3.254 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.01758, allocations: 0 / 254.7 MB, free: 3.254 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.921e-05/0.01761, allocations: 3.984 kB / 254.7 MB, free: 3.25 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002196/0.01782, allocations: 19.92 kB / 254.8 MB, free: 3.23 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.707e-06/0.01783, allocations: 4 kB / 254.8 MB, free: 3.227 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001461/0.01798, allocations: 7.984 kB / 254.8 MB, free: 3.219 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.795e-05/0.018, allocations: 4 kB / 254.8 MB, free: 3.215 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 0.0001696/0.01817, allocations: 117.8 kB / 254.9 MB, free: 3.09 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.408e-05/0.01823, allocations: 7.922 kB / 254.9 MB, free: 3.082 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007751/0.01901, allocations: 129.7 kB / 255 MB, free: 2.949 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.01901, allocations: 0 / 255 MB, free: 2.949 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.01902, allocations: 4 kB / 255 MB, free: 2.945 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.01902, allocations: 0 / 255 MB, free: 2.945 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003419/0.01936, allocations: 129.3 kB / 255.2 MB, free: 2.789 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.01937, allocations: 4 kB / 255.2 MB, free: 2.785 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002273/0.01959, allocations: 27.86 kB / 255.2 MB, free: 2.758 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.0196, allocations: 0 / 255.2 MB, free: 2.758 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.01961, allocations: 0 / 255.2 MB, free: 2.758 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.01961, allocations: 0 / 255.2 MB, free: 2.758 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.01962, allocations: 0 / 255.2 MB, free: 2.758 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007727/0.02039, allocations: 219.4 kB / 255.4 MB, free: 2.527 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.093e-05/0.02042, allocations: 15.88 kB / 255.4 MB, free: 2.512 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.37e-05/0.02044, allocations: 0 / 255.4 MB, free: 2.512 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002073/0.02065, allocations: 15.97 kB / 255.4 MB, free: 2.496 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.471e-05/0.02072, allocations: 4 kB / 255.4 MB, free: 2.492 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.826e-05/0.02074, allocations: 7.984 kB / 255.4 MB, free: 2.484 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0001136/0.02086, allocations: 83.28 kB / 255.5 MB, free: 2.402 MB / 234.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.02086, allocations: 0 / 255.5 MB, free: 2.402 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0004401/0.0213, allocations: 12 kB / 255.5 MB, free: 2.391 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 0.0002579/0.02155, allocations: 107.2 kB / 255.6 MB, free: 2.273 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0006715/0.02223, allocations: 83.91 kB / 255.7 MB, free: 2.191 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.02223, allocations: 3.938 kB / 255.7 MB, free: 2.188 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003309/0.02256, allocations: 51.89 kB / 255.8 MB, free: 2.137 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005669/0.02313, allocations: 20.14 kB / 255.8 MB, free: 2.117 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006588/0.02379, allocations: 163.4 kB / 256 MB, free: 1.934 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001354/0.02392, allocations: 71.33 kB / 256 MB, free: 1.844 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 5.87e-05/0.02398, allocations: 4 kB / 256 MB, free: 1.84 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.585e-05/0.02406, allocations: 12.5 kB / 256 MB, free: 1.828 MB / 234.7 MB Notification: Performance of SimCode: time 6.61e-07/0.02406, allocations: 0 / 256 MB, free: 1.828 MB / 234.7 MB Notification: Performance of Templates: time 0.006794/0.03085, allocations: 0.9645 MB / 257 MB, free: 0.8711 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=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.822462147916667]