Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 96.03 kB / 21.18 MB, free: 0.5312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 187 kB / 24.46 MB, free: 3.863 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 225.7 MB / 253.3 MB, free: 12.85 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001688/0.001688, allocations: 55.86 kB / 371.6 MB, free: 9.223 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.2569, allocations: 52.17 MB / 423.8 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002864/0.2598, allocations: 1.514 MB / 425.3 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008883/0.2607, allocations: 470.8 kB / 425.8 MB, free: 12.51 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.156e-05/0.2607, allocations: 0 / 425.8 MB, free: 12.51 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001172/0.2608, allocations: 27.86 kB / 425.8 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.552e-05/0.2609, allocations: 7.875 kB / 425.8 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001761/0.2611, allocations: 35.91 kB / 425.8 MB, free: 12.44 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.917e-05/0.2612, allocations: 59.83 kB / 425.9 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.2613, allocations: 12 kB / 425.9 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001221/0.2614, allocations: 31.84 kB / 425.9 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.685e-05/0.2615, allocations: 27.86 kB / 426 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.2615, allocations: 8 kB / 426 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.74e-05/0.2616, allocations: 12 kB / 426 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.332e-05/0.2616, allocations: 19.97 kB / 426 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.4e-05/0.2616, allocations: 23.86 kB / 426 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001618/0.2618, allocations: 74.33 kB / 426.1 MB, free: 12.18 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.2618, allocations: 4 kB / 426.1 MB, free: 12.18 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2618, allocations: 0 / 426.1 MB, free: 12.18 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.2618, allocations: 0 / 426.1 MB, free: 12.18 MB / 334.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.0006231/0.2624, allocations: 302.1 kB / 426.4 MB, free: 11.85 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.2624, allocations: 12.03 kB / 426.4 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.392e-05/0.2625, allocations: 8.828 kB / 426.4 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.2626, allocations: 118.4 kB / 426.5 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.2626, allocations: 4.375 kB / 426.5 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.722e-05/0.2626, allocations: 8.375 kB / 426.5 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002715/0.2629, allocations: 93.89 kB / 426.6 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.2629, allocations: 0 / 426.6 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.2629, allocations: 0 / 426.6 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.2629, allocations: 0 / 426.6 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003171/0.2632, allocations: 83.91 kB / 426.7 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003966/0.2636, allocations: 244.4 kB / 426.9 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002473/0.2639, allocations: 70.52 kB / 427 MB, free: 11.15 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001739/0.2641, allocations: 40.95 kB / 427.1 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.2641, allocations: 4 kB / 427.1 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.2641, allocations: 34.66 kB / 427.1 MB, free: 11.06 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.2641, allocations: 3.938 kB / 427.1 MB, free: 11.06 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005752/0.2647, allocations: 153.5 kB / 427.2 MB, free: 10.9 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.2647, allocations: 51.41 kB / 427.3 MB, free: 10.84 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.36e-05/0.2648, allocations: 109.8 kB / 427.4 MB, free: 10.72 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.2648, allocations: 29.7 kB / 427.4 MB, free: 10.69 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.191e-05/0.2649, allocations: 96.06 kB / 427.5 MB, free: 10.59 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.744e-05/0.2649, allocations: 23.78 kB / 427.6 MB, free: 10.57 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.912e-05/0.265, allocations: 17.72 kB / 427.6 MB, free: 10.54 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.2651, allocations: 323.1 kB / 427.9 MB, free: 10.22 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/0.2652, allocations: 31.97 kB / 427.9 MB, free: 10.19 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001394/0.2654, allocations: 39.95 kB / 428 MB, free: 10.15 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000294/0.2657, allocations: 88.72 kB / 428 MB, free: 10.06 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.2657, allocations: 3.938 kB / 428 MB, free: 10.05 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003346/0.266, allocations: 105.6 kB / 428.2 MB, free: 9.945 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.266, allocations: 4 kB / 428.2 MB, free: 9.941 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.266, allocations: 4 kB / 428.2 MB, free: 9.938 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.2661, allocations: 0 / 428.2 MB, free: 9.938 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.2662, allocations: 23.97 kB / 428.2 MB, free: 9.914 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.2662, allocations: 4 kB / 428.2 MB, free: 9.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.953e-05/0.2663, allocations: 7.984 kB / 428.2 MB, free: 9.902 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.2663, allocations: 4.438 kB / 428.2 MB, free: 9.898 MB / 334.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.327e-05/0.2664, allocations: 117.7 kB / 428.3 MB, free: 9.773 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.753e-05/0.2664, allocations: 7.953 kB / 428.3 MB, free: 9.766 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004054/0.2668, allocations: 137.6 kB / 428.5 MB, free: 9.621 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.2668, allocations: 0 / 428.5 MB, free: 9.621 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/0.2668, allocations: 4 kB / 428.5 MB, free: 9.617 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.2668, allocations: 0 / 428.5 MB, free: 9.617 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001548/0.267, allocations: 121.2 kB / 428.6 MB, free: 9.469 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.267, allocations: 7.984 kB / 428.6 MB, free: 9.461 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001146/0.2671, allocations: 15.98 kB / 428.6 MB, free: 9.445 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.2671, allocations: 8 kB / 428.6 MB, free: 9.438 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.2671, allocations: 0 / 428.6 MB, free: 9.438 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.2671, allocations: 3.938 kB / 428.6 MB, free: 9.434 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2671, allocations: 0 / 428.6 MB, free: 9.434 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004192/0.2675, allocations: 227.3 kB / 428.8 MB, free: 9.195 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.62e-05/0.2676, allocations: 7.953 kB / 428.8 MB, free: 9.188 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.2676, allocations: 4 kB / 428.8 MB, free: 9.184 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.2677, allocations: 15.98 kB / 428.9 MB, free: 9.168 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.533e-05/0.2677, allocations: 7.984 kB / 428.9 MB, free: 9.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.2678, allocations: 0 / 428.9 MB, free: 9.16 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.596e-05/0.2678, allocations: 91.27 kB / 429 MB, free: 9.07 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2678, allocations: 0 / 429 MB, free: 9.07 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002361/0.268, allocations: 15.94 kB / 429 MB, free: 9.055 MB / 334.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.0001493/0.2682, allocations: 103.2 kB / 429.1 MB, free: 8.945 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003612/0.2686, allocations: 87.91 kB / 429.2 MB, free: 8.859 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.2686, allocations: 288 / 429.2 MB, free: 8.859 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001671/0.2687, allocations: 43.97 kB / 429.2 MB, free: 8.816 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003144/0.269, allocations: 15.23 kB / 429.2 MB, free: 8.805 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003933/0.2694, allocations: 191.8 kB / 429.4 MB, free: 8.586 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.262e-05/0.2695, allocations: 71.2 kB / 429.5 MB, free: 8.496 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.993e-05/0.2696, allocations: 19.42 kB / 429.5 MB, free: 8.477 MB / 334.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2696, allocations: 0 / 429.5 MB, free: 8.477 MB / 334.1 MB Notification: Performance of Templates: time 0.002602/0.2722, allocations: 0.9892 MB / 430.5 MB, free: 7.492 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & ./Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/ComplexBlocks/Examples/TestConversionBlock/TestConversionBlock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 6.720831140875816]