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.001255/0.001255, allocations: 85.95 kB / 23 MB, free: 1.504 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.001393/0.001393, allocations: 172.1 kB / 26.39 MB, free: 8 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.065/1.065, allocations: 158.6 MB / 188.3 MB, free: 2.812 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.543e-06/1.543e-06, allocations: 0 / 252.2 MB, free: 7.316 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.603e-05/2.757e-05, allocations: 6.25 kB / 252.2 MB, free: 7.309 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.003272/0.0033, allocations: 1.525 MB / 253.7 MB, free: 5.77 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009939/0.004294, allocations: 0.515 MB / 254.2 MB, free: 5.246 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.611e-05/0.00434, allocations: 3.938 kB / 254.2 MB, free: 5.242 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001005/0.00444, allocations: 23.8 kB / 254.3 MB, free: 5.219 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 6.727e-05/0.004508, allocations: 7.922 kB / 254.3 MB, free: 5.211 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001597/0.004667, allocations: 43.78 kB / 254.3 MB, free: 5.168 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 8.524e-05/0.004753, allocations: 63.84 kB / 254.4 MB, free: 5.105 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.095e-05/0.004844, allocations: 11.98 kB / 254.4 MB, free: 5.094 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001345/0.004978, allocations: 39.91 kB / 254.4 MB, free: 5.055 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.332e-05/0.005031, allocations: 23.95 kB / 254.5 MB, free: 5.031 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.005047, allocations: 8 kB / 254.5 MB, free: 5.023 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.731e-05/0.005094, allocations: 15.94 kB / 254.5 MB, free: 5.008 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.792e-05/0.005112, allocations: 11.98 kB / 254.5 MB, free: 4.996 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.148e-05/0.005134, allocations: 19.92 kB / 254.5 MB, free: 4.977 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001299/0.005264, allocations: 55.75 kB / 254.6 MB, free: 4.922 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.005266, allocations: 0 / 254.6 MB, free: 4.922 MB / 234.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.005267, allocations: 4 kB / 254.6 MB, free: 4.918 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.005271, allocations: 4 kB / 254.6 MB, free: 4.914 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.0006978/0.005969, allocations: 400.4 kB / 255 MB, free: 4.488 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.00601, allocations: 15.98 kB / 255 MB, free: 4.473 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.454e-05/0.006045, allocations: 12.89 kB / 255 MB, free: 4.461 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.889e-05/0.006134, allocations: 120.5 kB / 255.1 MB, free: 4.316 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.006148, allocations: 4.375 kB / 255.1 MB, free: 4.312 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.006159, allocations: 4.375 kB / 255.1 MB, free: 4.309 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.006303, allocations: 78.86 kB / 255.2 MB, free: 4.223 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.00631, allocations: 4.188 kB / 255.2 MB, free: 4.219 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.305e-06/0.006318, allocations: 384 / 255.2 MB, free: 4.219 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.006324, allocations: 3.938 kB / 255.2 MB, free: 4.215 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.526e-05/0.006359, allocations: 19.98 kB / 255.2 MB, free: 4.195 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002758/0.006635, allocations: 260.3 kB / 255.5 MB, free: 3.914 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.708e-05/0.006712, allocations: 47.05 kB / 255.5 MB, free: 3.855 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.935e-05/0.006731, allocations: 11.69 kB / 255.5 MB, free: 3.84 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.32e-05/0.006744, allocations: 3.938 kB / 255.5 MB, free: 3.836 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/0.006765, allocations: 41.38 kB / 255.6 MB, free: 3.785 MB / 234.7 MB Notification: Performance of pre-optimization done (n=5): time 7.92e-07/0.006765, allocations: 0 / 255.6 MB, free: 3.785 MB / 234.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001377/0.006903, allocations: 69.8 kB / 255.6 MB, free: 3.711 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.711e-05/0.00693, allocations: 51.41 kB / 255.7 MB, free: 3.648 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.417e-05/0.006994, allocations: 169.8 kB / 255.9 MB, free: 3.461 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.007006, allocations: 33.64 kB / 255.9 MB, free: 3.422 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.517e-05/0.007051, allocations: 138.8 kB / 256 MB, free: 3.281 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.115e-05/0.007072, allocations: 19.83 kB / 256.1 MB, free: 3.262 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.014e-05/0.007102, allocations: 23.38 kB / 256.1 MB, free: 3.23 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.00721, allocations: 496.1 kB / 256.6 MB, free: 2.734 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.76e-05/0.007227, allocations: 7.984 kB / 256.6 MB, free: 2.727 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.325e-05/0.007241, allocations: 4 kB / 256.6 MB, free: 2.723 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.486e-05/0.007276, allocations: 31.62 kB / 256.6 MB, free: 2.688 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.007277, allocations: 0 / 256.6 MB, free: 2.688 MB / 234.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.118e-05/0.007348, allocations: 57.58 kB / 256.7 MB, free: 2.625 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.007359, allocations: 4 kB / 256.7 MB, free: 2.621 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.007364, allocations: 0 / 256.7 MB, free: 2.621 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.603e-06/0.007371, allocations: 4 kB / 256.7 MB, free: 2.617 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.3e-05/0.007444, allocations: 12.42 kB / 256.7 MB, free: 2.605 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.226e-06/0.007447, allocations: 0 / 256.7 MB, free: 2.605 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.512e-05/0.007472, allocations: 7.984 kB / 256.7 MB, free: 2.598 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.007478, allocations: 8 kB / 256.7 MB, free: 2.59 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 6.519e-05/0.007543, allocations: 164.5 kB / 256.9 MB, free: 2.418 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.95e-05/0.007562, allocations: 15.88 kB / 256.9 MB, free: 2.402 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.949e-05/0.007662, allocations: 69.78 kB / 256.9 MB, free: 2.328 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.007664, allocations: 0 / 256.9 MB, free: 2.328 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.007665, allocations: 0 / 256.9 MB, free: 2.328 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.007668, allocations: 0 / 256.9 MB, free: 2.328 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000111/0.007779, allocations: 117.2 kB / 257.1 MB, free: 2.188 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.00778, allocations: 0 / 257.1 MB, free: 2.188 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.753e-05/0.007828, allocations: 15.98 kB / 257.1 MB, free: 2.172 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.007829, allocations: 0 / 257.1 MB, free: 2.172 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.007836, allocations: 7.938 kB / 257.1 MB, free: 2.164 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.007837, allocations: 4 kB / 257.1 MB, free: 2.16 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.007838, allocations: 0 / 257.1 MB, free: 2.16 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001152/0.007953, allocations: 215.8 kB / 257.3 MB, free: 1.93 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.713e-06/0.00796, allocations: 0 / 257.3 MB, free: 1.93 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/0.007972, allocations: 11.92 kB / 257.3 MB, free: 1.918 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.841e-05/0.00801, allocations: 4 kB / 257.3 MB, free: 1.914 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.049e-05/0.008041, allocations: 7.984 kB / 257.3 MB, free: 1.906 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.008045, allocations: 4 kB / 257.3 MB, free: 1.902 MB / 234.7 MB Notification: Performance of sorting global known variables: time 3.683e-05/0.008082, allocations: 131.1 kB / 257.4 MB, free: 1.773 MB / 234.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008082, allocations: 0 / 257.4 MB, free: 1.773 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001424/0.008224, allocations: 15.95 kB / 257.5 MB, free: 1.758 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.0001084/0.008333, allocations: 99.25 kB / 257.6 MB, free: 1.648 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 7.729e-05/0.00841, allocations: 35.59 kB / 257.6 MB, free: 1.609 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.008411, allocations: 0 / 257.6 MB, free: 1.609 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 2.675e-05/0.008438, allocations: 23.67 kB / 257.6 MB, free: 1.582 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001797/0.008618, allocations: 8 kB / 257.6 MB, free: 1.574 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002687/0.008886, allocations: 165 kB / 257.8 MB, free: 1.387 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.792e-05/0.008924, allocations: 63.34 kB / 257.8 MB, free: 1.305 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 2.083e-05/0.008945, allocations: 0 / 257.8 MB, free: 1.305 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.019e-05/0.009005, allocations: 82.19 kB / 257.9 MB, free: 1.223 MB / 234.7 MB Notification: Performance of SimCode: time 5.61e-07/0.009006, allocations: 0 / 257.9 MB, free: 1.223 MB / 234.7 MB Notification: Performance of Templates: time 0.002635/0.01164, allocations: 1.1 MB / 259 MB, free: 136 kB / 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 -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.812725462950766]