Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.0008246/0.0008246, allocations: 88.28 kB / 21.43 MB, free: 3.137 MB / 18.57 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.003405/0.003405, allocations: 156.7 kB / 24.7 MB, free: 8.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8304/0.8304, allocations: 177 MB / 204.9 MB, free: 5.77 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock") translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1010,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 325.7 MB, free: 15.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.881e-05/3.015e-05, allocations: 6.984 kB / 325.7 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.001896/0.001926, allocations: 1.508 MB / 327.2 MB, free: 13.93 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006733/0.0026, allocations: 0.4985 MB / 327.7 MB, free: 13.42 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.127e-05/0.002641, allocations: 0 / 327.7 MB, free: 13.42 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001095/0.00275, allocations: 19.88 kB / 327.8 MB, free: 13.4 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.445e-05/0.002815, allocations: 15.84 kB / 327.8 MB, free: 13.39 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001586/0.002973, allocations: 39.86 kB / 327.8 MB, free: 13.35 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.432e-05/0.003058, allocations: 59.78 kB / 327.9 MB, free: 13.29 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.003161, allocations: 15.97 kB / 327.9 MB, free: 13.27 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001777/0.003339, allocations: 39.91 kB / 327.9 MB, free: 13.23 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.521e-05/0.003394, allocations: 31.89 kB / 328 MB, free: 13.2 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.00341, allocations: 4 kB / 328 MB, free: 13.2 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.075e-05/0.003461, allocations: 15.94 kB / 328 MB, free: 13.18 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.225e-05/0.003483, allocations: 19.92 kB / 328 MB, free: 13.16 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.249e-05/0.003506, allocations: 11.94 kB / 328 MB, free: 13.15 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001489/0.003655, allocations: 75.77 kB / 328.1 MB, free: 13.08 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.003658, allocations: 0 / 328.1 MB, free: 13.08 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.00366, allocations: 4 kB / 328.1 MB, free: 13.07 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.003665, allocations: 0 / 328.1 MB, free: 13.07 MB / 298.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.0004797/0.004145, allocations: 310.1 kB / 328.4 MB, free: 12.74 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.004184, allocations: 11.98 kB / 328.4 MB, free: 12.73 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.156e-05/0.004215, allocations: 8.891 kB / 328.4 MB, free: 12.72 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.951e-05/0.004295, allocations: 117.7 kB / 328.5 MB, free: 12.58 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.00431, allocations: 384 / 328.5 MB, free: 12.58 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.118e-05/0.004321, allocations: 4.375 kB / 328.5 MB, free: 12.58 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001833/0.004505, allocations: 86.2 kB / 328.6 MB, free: 12.49 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.004512, allocations: 192 / 328.6 MB, free: 12.49 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.004525, allocations: 4.375 kB / 328.6 MB, free: 12.48 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.004531, allocations: 7.938 kB / 328.6 MB, free: 12.48 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001608/0.004691, allocations: 87.83 kB / 328.7 MB, free: 12.39 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003154/0.005007, allocations: 232.5 kB / 328.9 MB, free: 12.13 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001605/0.005167, allocations: 82.5 kB / 329 MB, free: 12.04 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.819e-05/0.005246, allocations: 44.95 kB / 329.1 MB, free: 12 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.00526, allocations: 0 / 329.1 MB, free: 12 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.005278, allocations: 30.56 kB / 329.1 MB, free: 11.96 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.005279, allocations: 0 / 329.1 MB, free: 11.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003203/0.0056, allocations: 157.5 kB / 329.2 MB, free: 11.8 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.071e-05/0.005631, allocations: 51.41 kB / 329.3 MB, free: 11.73 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.543e-05/0.005696, allocations: 113.8 kB / 329.4 MB, free: 11.61 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.005e-05/0.005706, allocations: 25.7 kB / 329.4 MB, free: 11.58 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.43e-05/0.00575, allocations: 104 kB / 329.5 MB, free: 11.48 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.128e-05/0.005772, allocations: 11.91 kB / 329.5 MB, free: 11.46 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.739e-05/0.005799, allocations: 13.72 kB / 329.6 MB, free: 11.45 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.082e-05/0.00588, allocations: 330.8 kB / 329.9 MB, free: 11.11 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.831e-05/0.005958, allocations: 31.97 kB / 329.9 MB, free: 11.08 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.839e-05/0.006026, allocations: 39.95 kB / 330 MB, free: 11.04 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001395/0.006166, allocations: 76.78 kB / 330 MB, free: 10.96 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.006168, allocations: 4 kB / 330 MB, free: 10.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001733/0.006341, allocations: 117.5 kB / 330.1 MB, free: 10.84 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.006359, allocations: 4 kB / 330.2 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.006364, allocations: 0 / 330.2 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.006377, allocations: 4 kB / 330.2 MB, free: 10.83 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.462e-05/0.006462, allocations: 23.91 kB / 330.2 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.006467, allocations: 4 kB / 330.2 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.572e-05/0.006502, allocations: 11.98 kB / 330.2 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.561e-06/0.006508, allocations: 4 kB / 330.2 MB, free: 10.79 MB / 298.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 5.871e-05/0.006567, allocations: 109.8 kB / 330.3 MB, free: 10.67 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.466e-05/0.006581, allocations: 3.938 kB / 330.3 MB, free: 10.67 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002209/0.006802, allocations: 137.6 kB / 330.4 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.006806, allocations: 8 kB / 330.5 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.006811, allocations: 0 / 330.5 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.006814, allocations: 448 / 330.5 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001021/0.006916, allocations: 125.3 kB / 330.6 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.006919, allocations: 3.984 kB / 330.6 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.763e-05/0.006976, allocations: 31.86 kB / 330.6 MB, free: 10.33 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.155e-06/0.006978, allocations: 0 / 330.6 MB, free: 10.33 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.884e-06/0.006986, allocations: 0 / 330.6 MB, free: 10.33 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.006988, allocations: 0 / 330.6 MB, free: 10.33 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.006989, allocations: 384 / 330.6 MB, free: 10.33 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002073/0.007196, allocations: 219.5 kB / 330.8 MB, free: 10.1 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.679e-06/0.007206, allocations: 15.89 kB / 330.8 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.007218, allocations: 0 / 330.8 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.026e-05/0.007268, allocations: 15.92 kB / 330.9 MB, free: 10.07 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.907e-05/0.007307, allocations: 3.984 kB / 330.9 MB, free: 10.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.423e-06/0.007313, allocations: 8 kB / 330.9 MB, free: 10.06 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.059e-05/0.007344, allocations: 87.27 kB / 331 MB, free: 9.973 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007344, allocations: 7.938 kB / 331 MB, free: 9.965 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001477/0.007492, allocations: 12 kB / 331 MB, free: 9.953 MB / 298.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.0001092/0.007601, allocations: 99.23 kB / 331.1 MB, free: 9.848 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002006/0.007801, allocations: 91.84 kB / 331.2 MB, free: 9.758 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.007803, allocations: 0 / 331.2 MB, free: 9.758 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.77e-05/0.007881, allocations: 47.91 kB / 331.2 MB, free: 9.711 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002472/0.008128, allocations: 11.98 kB / 331.2 MB, free: 9.699 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003136/0.008441, allocations: 186.4 kB / 331.4 MB, free: 9.484 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.517e-05/0.008487, allocations: 67.34 kB / 331.5 MB, free: 9.398 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.829e-05/0.008525, allocations: 20.48 kB / 331.5 MB, free: 9.379 MB / 298.7 MB Notification: Performance of SimCode: time 4.41e-07/0.008525, allocations: 0 / 331.5 MB, free: 9.379 MB / 298.7 MB Notification: Performance of Templates: time 0.001817/0.01034, allocations: 0.9937 MB / 332.5 MB, free: 8.391 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & ./Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/ComplexBlocks/Examples/TestConversionBlock/TestConversionBlock.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.050147037021816]