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.001295/0.001295, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001225/0.001225, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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.9766/0.9766, allocations: 177 MB / 204.8 MB, free: 5.578 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.433e-06/1.433e-06, allocations: 0 / 272.9 MB, free: 1.496 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.388e-06/1.082e-05, allocations: 2.312 kB / 272.9 MB, free: 1.492 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.001728/0.001739, allocations: 1.568 MB / 274.4 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006622/0.002401, allocations: 0.5102 MB / 274.9 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.252e-05/0.002434, allocations: 0 / 274.9 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 7.299e-05/0.002507, allocations: 27.86 kB / 275 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 4.009e-05/0.002547, allocations: 11.86 kB / 275 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001043/0.002651, allocations: 35.84 kB / 275 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 6.127e-05/0.002712, allocations: 59.84 kB / 275.1 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.684e-05/0.002769, allocations: 11.98 kB / 275.1 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.002879, allocations: 43.89 kB / 275.1 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.499e-05/0.002914, allocations: 23.91 kB / 275.1 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.114e-05/0.002925, allocations: 4 kB / 275.2 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.866e-05/0.002964, allocations: 19.94 kB / 275.2 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.189e-05/0.002976, allocations: 15.98 kB / 275.2 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.735e-05/0.002993, allocations: 19.86 kB / 275.2 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001018/0.003095, allocations: 59.81 kB / 275.3 MB, free: 15.07 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.352e-06/0.003096, allocations: 0 / 275.3 MB, free: 15.07 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.003097, allocations: 0 / 275.3 MB, free: 15.07 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.076e-06/0.0031, allocations: 0 / 275.3 MB, free: 15.07 MB / 266.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.0003638/0.003464, allocations: 396.5 kB / 275.7 MB, free: 14.65 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.821e-05/0.003492, allocations: 11.98 kB / 275.7 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.835e-05/0.00352, allocations: 8.891 kB / 275.7 MB, free: 14.63 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.977e-05/0.00359, allocations: 120.5 kB / 275.8 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.787e-06/0.003599, allocations: 12.38 kB / 275.8 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.896e-06/0.003608, allocations: 4.375 kB / 275.8 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001117/0.00372, allocations: 78.86 kB / 275.9 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.131e-06/0.003726, allocations: 4.172 kB / 275.9 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.003735, allocations: 4.375 kB / 275.9 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.003742, allocations: 3.938 kB / 275.9 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.434e-05/0.003786, allocations: 15.98 kB / 275.9 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002674/0.004053, allocations: 295.6 kB / 276.2 MB, free: 14.03 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.738e-05/0.004141, allocations: 58.98 kB / 276.3 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.95e-05/0.00417, allocations: 11.69 kB / 276.3 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.408e-05/0.004184, allocations: 8.031 kB / 276.3 MB, free: 13.94 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.55e-05/0.0042, allocations: 33.39 kB / 276.3 MB, free: 13.89 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 7.51e-07/0.0042, allocations: 0 / 276.3 MB, free: 13.89 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001213/0.004322, allocations: 65.77 kB / 276.4 MB, free: 13.82 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.045e-05/0.004342, allocations: 51.41 kB / 276.4 MB, free: 13.76 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.243e-05/0.004405, allocations: 165.9 kB / 276.6 MB, free: 13.58 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.004417, allocations: 33.7 kB / 276.6 MB, free: 13.54 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.045e-05/0.004457, allocations: 142.8 kB / 276.8 MB, free: 13.4 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.386e-05/0.004471, allocations: 11.91 kB / 276.8 MB, free: 13.39 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.533e-05/0.004496, allocations: 27.38 kB / 276.8 MB, free: 13.35 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001951/0.004691, allocations: 0.4884 MB / 277.3 MB, free: 12.85 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.791e-05/0.004709, allocations: 7.938 kB / 277.3 MB, free: 12.84 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.634e-05/0.004726, allocations: 11.98 kB / 277.3 MB, free: 12.83 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.545e-05/0.004761, allocations: 19.69 kB / 277.3 MB, free: 12.81 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.004763, allocations: 4 kB / 277.3 MB, free: 12.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.35e-05/0.004826, allocations: 61.95 kB / 277.4 MB, free: 12.74 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.385e-06/0.004835, allocations: 4 kB / 277.4 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.214e-06/0.004837, allocations: 4 kB / 277.4 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.941e-06/0.004843, allocations: 64 / 277.4 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.559e-05/0.004899, allocations: 23.92 kB / 277.4 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.575e-06/0.004901, allocations: 0 / 277.4 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.37e-05/0.004925, allocations: 8 kB / 277.4 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.556e-06/0.004928, allocations: 0 / 277.4 MB, free: 12.7 MB / 266.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.915e-05/0.004987, allocations: 156.6 kB / 277.6 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.785e-05/0.005005, allocations: 11.92 kB / 277.6 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001138/0.005119, allocations: 81.67 kB / 277.7 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.005122, allocations: 4 kB / 277.7 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.005123, allocations: 0 / 277.7 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-06/0.005125, allocations: 0 / 277.7 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.73e-05/0.005222, allocations: 132.6 kB / 277.8 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-07/0.005223, allocations: 0 / 277.8 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.106e-05/0.005264, allocations: 23.86 kB / 277.8 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.005265, allocations: 0 / 277.8 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.639e-06/0.00527, allocations: 3.938 kB / 277.8 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.005271, allocations: 4 kB / 277.8 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.005272, allocations: 0 / 277.8 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000124/0.005396, allocations: 207.9 kB / 278 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.143e-05/0.005407, allocations: 11.92 kB / 278 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.00542, allocations: 4 kB / 278.1 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.696e-05/0.005457, allocations: 8 kB / 278.1 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.577e-05/0.005503, allocations: 7.984 kB / 278.1 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-06/0.005505, allocations: 0 / 278.1 MB, free: 11.98 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.657e-05/0.005552, allocations: 135.2 kB / 278.2 MB, free: 11.85 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.005552, allocations: 0 / 278.2 MB, free: 11.85 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001509/0.005703, allocations: 11.94 kB / 278.2 MB, free: 11.84 MB / 266.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.0001103/0.005813, allocations: 103.2 kB / 278.3 MB, free: 11.73 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001149/0.005928, allocations: 35.67 kB / 278.3 MB, free: 11.69 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.005931, allocations: 4 kB / 278.4 MB, free: 11.68 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.378e-05/0.005965, allocations: 27.61 kB / 278.4 MB, free: 11.65 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001964/0.006161, allocations: 9.172 kB / 278.4 MB, free: 11.64 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002969/0.006458, allocations: 173.9 kB / 278.6 MB, free: 11.45 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.478e-05/0.006493, allocations: 63.34 kB / 278.6 MB, free: 11.36 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.019e-05/0.006513, allocations: 4 kB / 278.6 MB, free: 11.36 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.829e-05/0.006542, allocations: 12.5 kB / 278.6 MB, free: 11.35 MB / 266.7 MB Notification: Performance of SimCode: time 3.51e-07/0.006542, allocations: 0 / 278.6 MB, free: 11.35 MB / 266.7 MB Notification: Performance of Templates: time 0.002489/0.009031, allocations: 1.077 MB / 279.7 MB, free: 10.28 MB / 266.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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) [Timeout 240] 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","",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.7496811929158866]