Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.TestConversionBlock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.008156/0.008156, allocations: 105.5 kB / 21.98 MB, free: 5.223 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002346/0.002346, allocations: 214.3 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.455/1.455, allocations: 230.6 MB / 259 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_Modelica.ComplexBlocks.Examples.TestConversionBlock") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 71.88 kB / 379.8 MB, free: 2.758 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2643/0.2663, allocations: 53.35 MB / 433.1 MB, free: 6.98 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002852/0.2691, allocations: 1.539 MB / 434.7 MB, free: 5.438 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009532/0.2701, allocations: 0.5375 MB / 435.2 MB, free: 4.895 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.059e-05/0.2701, allocations: 4 kB / 435.2 MB, free: 4.891 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001247/0.2703, allocations: 19.86 kB / 435.2 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.132e-05/0.2703, allocations: 15.88 kB / 435.2 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001719/0.2705, allocations: 39.89 kB / 435.3 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.946e-05/0.2706, allocations: 55.84 kB / 435.3 MB, free: 4.762 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.2707, allocations: 8 kB / 435.3 MB, free: 4.754 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001807/0.2709, allocations: 39.84 kB / 435.4 MB, free: 4.715 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.35e-05/0.271, allocations: 31.84 kB / 435.4 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.271, allocations: 8 kB / 435.4 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.811e-05/0.271, allocations: 15.98 kB / 435.4 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.771e-05/0.2711, allocations: 8 kB / 435.4 MB, free: 4.652 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.584e-05/0.2711, allocations: 27.86 kB / 435.5 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001624/0.2713, allocations: 76.92 kB / 435.6 MB, free: 4.555 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.2713, allocations: 0 / 435.6 MB, free: 4.555 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.2713, allocations: 0 / 435.6 MB, free: 4.555 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.2713, allocations: 0 / 435.6 MB, free: 4.555 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.0006378/0.2719, allocations: 306.1 kB / 435.9 MB, free: 4.227 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.2719, allocations: 12.03 kB / 435.9 MB, free: 4.215 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.266e-05/0.272, allocations: 4.891 kB / 435.9 MB, free: 4.211 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.2721, allocations: 114.4 kB / 436 MB, free: 4.074 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.2721, allocations: 12.31 kB / 436 MB, free: 4.062 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/0.2721, allocations: 4.375 kB / 436 MB, free: 4.059 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002694/0.2724, allocations: 89.94 kB / 436.1 MB, free: 3.965 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.2724, allocations: 3.938 kB / 436.1 MB, free: 3.961 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.2724, allocations: 4 kB / 436.1 MB, free: 3.957 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.2724, allocations: 0 / 436.1 MB, free: 3.957 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002929/0.2727, allocations: 79.92 kB / 436.2 MB, free: 3.879 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004467/0.2732, allocations: 283.8 kB / 436.4 MB, free: 3.559 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002359/0.2734, allocations: 66.53 kB / 436.5 MB, free: 3.484 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001722/0.2736, allocations: 56.94 kB / 436.6 MB, free: 3.426 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.502e-05/0.2736, allocations: 0 / 436.6 MB, free: 3.426 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.2736, allocations: 34.59 kB / 436.6 MB, free: 3.383 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 8.12e-07/0.2736, allocations: 0 / 436.6 MB, free: 3.383 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005413/0.2742, allocations: 157.5 kB / 436.8 MB, free: 3.223 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/0.2742, allocations: 51.41 kB / 436.8 MB, free: 3.16 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.81e-05/0.2743, allocations: 109.8 kB / 436.9 MB, free: 3.043 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.2743, allocations: 25.7 kB / 436.9 MB, free: 3.012 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.09e-05/0.2744, allocations: 96.03 kB / 437 MB, free: 2.914 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.328e-05/0.2744, allocations: 15.89 kB / 437 MB, free: 2.898 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-05/0.2744, allocations: 17.72 kB / 437.1 MB, free: 2.875 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.2746, allocations: 318.8 kB / 437.4 MB, free: 2.555 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/0.2747, allocations: 40.33 kB / 437.4 MB, free: 2.516 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/0.2748, allocations: 40.27 kB / 437.5 MB, free: 2.477 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002692/0.2751, allocations: 88.8 kB / 437.5 MB, free: 2.387 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.2751, allocations: 0 / 437.5 MB, free: 2.387 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003248/0.2754, allocations: 113.5 kB / 437.7 MB, free: 2.27 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.2754, allocations: 10.66 kB / 437.7 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.387e-06/0.2755, allocations: 0 / 437.7 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.2755, allocations: 0 / 437.7 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.2756, allocations: 19.98 kB / 437.7 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.2756, allocations: 4 kB / 437.7 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.949e-05/0.2757, allocations: 19.91 kB / 437.7 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.2757, allocations: 0 / 437.7 MB, free: 2.219 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 8.378e-05/0.2758, allocations: 117.8 kB / 437.8 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.679e-05/0.2758, allocations: 4 kB / 437.8 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003774/0.2762, allocations: 137.6 kB / 438 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.2762, allocations: 0 / 438 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.2762, allocations: 0 / 438 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.2762, allocations: 3.938 kB / 438 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002007/0.2764, allocations: 164.6 kB / 438.1 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2764, allocations: 0 / 438.1 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001159/0.2765, allocations: 27.91 kB / 438.1 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.2765, allocations: 0 / 438.1 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.2765, allocations: 0 / 438.1 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.2765, allocations: 4.078 kB / 438.2 MB, free: 1.707 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.2765, allocations: 3.984 kB / 438.2 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003821/0.2769, allocations: 215.4 kB / 438.4 MB, free: 1.477 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.354e-05/0.2769, allocations: 7.938 kB / 438.4 MB, free: 1.469 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.2769, allocations: 4 kB / 438.4 MB, free: 1.465 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.277, allocations: 16.05 kB / 438.4 MB, free: 1.449 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.314e-05/0.2771, allocations: 11.98 kB / 438.4 MB, free: 1.438 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-06/0.2771, allocations: 0 / 438.4 MB, free: 1.438 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.432e-05/0.2771, allocations: 87.28 kB / 438.5 MB, free: 1.352 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2771, allocations: 0 / 438.5 MB, free: 1.352 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00023/0.2774, allocations: 15.92 kB / 438.5 MB, free: 1.336 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.0001234/0.2775, allocations: 111.2 kB / 438.6 MB, free: 1.219 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000348/0.2778, allocations: 83.91 kB / 438.7 MB, free: 1.137 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2778, allocations: 0 / 438.7 MB, free: 1.137 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001571/0.278, allocations: 48.17 kB / 438.7 MB, free: 1.09 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003043/0.2783, allocations: 11.94 kB / 438.8 MB, free: 1.078 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003673/0.2787, allocations: 187.9 kB / 438.9 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003069/0.279, allocations: 0.6885 MB / 439.6 MB, free: 152 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.663e-05/0.279, allocations: 15.44 kB / 439.6 MB, free: 136 kB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.279, allocations: 0 / 439.6 MB, free: 136 kB / 334.1 MB Notification: Performance of Templates: time 0.002665/0.2817, allocations: 0.9664 MB / 440.6 MB, free: 15.17 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.TestConversionBlock.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & ./Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.TestConversionBlock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/ComplexBlocks/Examples/TestConversionBlock/TestConversionBlock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.665017956169322]