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.00123/0.00123, allocations: 75.75 kB / 21.97 MB, free: 2.602 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.001375/0.001375, allocations: 173.9 kB / 25.33 MB, free: 9.438 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 0.8785/0.8785, allocations: 158.6 MB / 187.2 MB, free: 2.531 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.874e-06/1.874e-06, allocations: 0 / 251 MB, free: 3.652 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.414e-05/2.601e-05, allocations: 5.406 kB / 251 MB, free: 3.648 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002101/0.002127, allocations: 1.527 MB / 252.5 MB, free: 2.105 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007583/0.002885, allocations: 0.5345 MB / 253.1 MB, free: 1.562 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.844e-05/0.002934, allocations: 0 / 253.1 MB, free: 1.562 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001109/0.003044, allocations: 19.81 kB / 253.1 MB, free: 1.543 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 7.313e-05/0.003118, allocations: 11.86 kB / 253.1 MB, free: 1.531 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001687/0.003286, allocations: 39.84 kB / 253.1 MB, free: 1.492 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 8.343e-05/0.00337, allocations: 59.78 kB / 253.2 MB, free: 1.434 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.87e-05/0.003468, allocations: 15.98 kB / 253.2 MB, free: 1.418 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.003596, allocations: 35.95 kB / 253.2 MB, free: 1.383 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.318e-05/0.003649, allocations: 27.91 kB / 253.3 MB, free: 1.355 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.003665, allocations: 8 kB / 253.3 MB, free: 1.348 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.738e-05/0.003722, allocations: 16 kB / 253.3 MB, free: 1.332 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.843e-05/0.003741, allocations: 11.92 kB / 253.3 MB, free: 1.32 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.068e-05/0.003772, allocations: 15.98 kB / 253.3 MB, free: 1.305 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001445/0.003916, allocations: 63.69 kB / 253.4 MB, free: 1.242 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.003918, allocations: 0 / 253.4 MB, free: 1.242 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.003919, allocations: 0 / 253.4 MB, free: 1.242 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.003924, allocations: 0 / 253.4 MB, free: 1.242 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.0004641/0.004388, allocations: 400.4 kB / 253.8 MB, free: 0.8164 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.004427, allocations: 11.98 kB / 253.8 MB, free: 0.8047 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.635e-05/0.004473, allocations: 20.89 kB / 253.8 MB, free: 0.7852 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.917e-05/0.004562, allocations: 120.5 kB / 253.9 MB, free: 0.6406 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.004579, allocations: 384 / 253.9 MB, free: 0.6406 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.438e-05/0.004593, allocations: 8.375 kB / 253.9 MB, free: 0.6328 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/0.004756, allocations: 74.88 kB / 254 MB, free: 0.5508 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.004767, allocations: 4.172 kB / 254 MB, free: 0.5469 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.004779, allocations: 384 / 254 MB, free: 0.5469 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.355e-06/0.004787, allocations: 3.938 kB / 254 MB, free: 0.543 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.141e-05/0.004839, allocations: 19.98 kB / 254 MB, free: 0.5234 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003434/0.005182, allocations: 291.7 kB / 254.3 MB, free: 208 kB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.005288, allocations: 54.98 kB / 254.4 MB, free: 140 kB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.109e-05/0.005319, allocations: 15.69 kB / 254.4 MB, free: 120 kB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.005338, allocations: 4.125 kB / 254.4 MB, free: 116 kB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/0.005356, allocations: 33.39 kB / 254.4 MB, free: 72 kB / 234.7 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.005357, allocations: 0 / 254.4 MB, free: 72 kB / 234.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001831/0.005541, allocations: 73.66 kB / 254.5 MB, free: 15.99 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.633e-05/0.005567, allocations: 51.41 kB / 254.5 MB, free: 15.93 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.686e-05/0.005644, allocations: 173.9 kB / 254.7 MB, free: 15.74 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.005655, allocations: 25.7 kB / 254.7 MB, free: 15.71 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.267e-05/0.005707, allocations: 138.8 kB / 254.9 MB, free: 15.57 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.45e-05/0.005732, allocations: 23.83 kB / 254.9 MB, free: 15.55 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-05/0.005764, allocations: 19.38 kB / 254.9 MB, free: 15.52 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.005883, allocations: 496.1 kB / 255.4 MB, free: 15.02 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.545e-05/0.005908, allocations: 8.234 kB / 255.4 MB, free: 15.02 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.046e-05/0.005928, allocations: 12 kB / 255.4 MB, free: 15 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.027e-05/0.005979, allocations: 31.62 kB / 255.4 MB, free: 14.97 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.005981, allocations: 0 / 255.4 MB, free: 14.97 MB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.231e-05/0.006063, allocations: 57.58 kB / 255.5 MB, free: 14.91 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.006077, allocations: 11.94 kB / 255.5 MB, free: 14.89 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.006082, allocations: 0 / 255.5 MB, free: 14.89 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.006098, allocations: 4 kB / 255.5 MB, free: 14.89 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.93e-05/0.006177, allocations: 15.98 kB / 255.5 MB, free: 14.88 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.006183, allocations: 4 kB / 255.5 MB, free: 14.87 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.654e-05/0.00621, allocations: 7.984 kB / 255.5 MB, free: 14.86 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-06/0.006215, allocations: 0 / 255.5 MB, free: 14.86 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 6.454e-05/0.006279, allocations: 152.6 kB / 255.7 MB, free: 14.7 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.563e-05/0.006295, allocations: 7.938 kB / 255.7 MB, free: 14.7 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001277/0.006423, allocations: 81.69 kB / 255.8 MB, free: 14.61 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.006424, allocations: 0 / 255.8 MB, free: 14.61 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.006427, allocations: 4 kB / 255.8 MB, free: 14.61 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.00643, allocations: 0 / 255.8 MB, free: 14.61 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001097/0.00654, allocations: 140.5 kB / 255.9 MB, free: 14.43 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.006542, allocations: 0 / 255.9 MB, free: 14.43 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.488e-05/0.006586, allocations: 15.94 kB / 255.9 MB, free: 14.42 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.006588, allocations: 0 / 255.9 MB, free: 14.42 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.619e-06/0.006598, allocations: 11.98 kB / 255.9 MB, free: 14.41 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-06/0.006599, allocations: 0 / 255.9 MB, free: 14.41 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.0066, allocations: 0 / 255.9 MB, free: 14.41 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001277/0.006727, allocations: 212 kB / 256.2 MB, free: 14.18 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.945e-06/0.006735, allocations: 7.938 kB / 256.2 MB, free: 14.17 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.067e-05/0.006746, allocations: 8 kB / 256.2 MB, free: 14.16 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.868e-05/0.006785, allocations: 7.984 kB / 256.2 MB, free: 14.16 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.748e-05/0.006822, allocations: 8 kB / 256.2 MB, free: 14.15 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.006826, allocations: 3.984 kB / 256.2 MB, free: 14.14 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.805e-05/0.006864, allocations: 127.2 kB / 256.3 MB, free: 14.02 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006864, allocations: 0 / 256.3 MB, free: 14.02 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001454/0.00701, allocations: 12 kB / 256.3 MB, free: 14.01 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.0001044/0.007114, allocations: 107.2 kB / 256.4 MB, free: 13.89 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000104/0.007218, allocations: 35.61 kB / 256.5 MB, free: 13.85 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.007219, allocations: 0 / 256.5 MB, free: 13.85 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.907e-05/0.007249, allocations: 23.69 kB / 256.5 MB, free: 13.82 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001762/0.007425, allocations: 10.64 kB / 256.5 MB, free: 13.82 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000283/0.007708, allocations: 173 kB / 256.7 MB, free: 13.62 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.452e-05/0.007742, allocations: 59.3 kB / 256.7 MB, free: 13.54 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.13e-05/0.007764, allocations: 11.98 kB / 256.7 MB, free: 13.53 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.494e-05/0.007799, allocations: 16.5 kB / 256.8 MB, free: 13.52 MB / 250.7 MB Notification: Performance of SimCode: time 7.31e-07/0.007799, allocations: 0 / 256.8 MB, free: 13.52 MB / 250.7 MB Notification: Performance of Templates: time 0.002536/0.01034, allocations: 0.9621 MB / 257.7 MB, free: 12.56 MB / 250.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.7838958762586117]