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.00108/0.00108, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001109/0.001109, allocations: 163.4 kB / 25.61 MB, free: 8.582 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.9747/0.9747, allocations: 177 MB / 205.9 MB, free: 4.461 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.142e-06/1.142e-06, allocations: 0 / 274.1 MB, free: 4.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.661e-05/1.775e-05, allocations: 6.812 kB / 274.1 MB, free: 4.336 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.001862/0.00188, allocations: 1.557 MB / 275.6 MB, free: 2.781 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006687/0.002549, allocations: 0.5125 MB / 276.1 MB, free: 2.266 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.521e-05/0.002584, allocations: 0 / 276.1 MB, free: 2.266 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.515e-05/0.002659, allocations: 13.72 kB / 276.1 MB, free: 2.254 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.051e-05/0.002709, allocations: 7.875 kB / 276.2 MB, free: 2.246 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001193/0.002829, allocations: 43.83 kB / 276.2 MB, free: 2.203 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.085e-05/0.0029, allocations: 59.78 kB / 276.3 MB, free: 2.145 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.52e-05/0.002975, allocations: 12.64 kB / 276.3 MB, free: 2.133 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001398/0.003115, allocations: 52.45 kB / 276.3 MB, free: 2.082 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.867e-05/0.003163, allocations: 19.97 kB / 276.3 MB, free: 2.062 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.392e-05/0.003177, allocations: 6.469 kB / 276.3 MB, free: 2.059 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.268e-05/0.00322, allocations: 19.88 kB / 276.4 MB, free: 2.039 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.387e-05/0.003234, allocations: 15.98 kB / 276.4 MB, free: 2.023 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.922e-05/0.003253, allocations: 15.92 kB / 276.4 MB, free: 2.008 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001067/0.00336, allocations: 55.81 kB / 276.4 MB, free: 1.953 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.674e-06/0.003361, allocations: 0 / 276.4 MB, free: 1.953 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.003362, allocations: 1.844 kB / 276.5 MB, free: 1.953 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.003366, allocations: 0 / 276.5 MB, free: 1.953 MB / 250.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.0003835/0.003749, allocations: 404.4 kB / 276.8 MB, free: 1.523 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.132e-05/0.00378, allocations: 8.031 kB / 276.9 MB, free: 1.516 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.609e-05/0.003807, allocations: 9.484 kB / 276.9 MB, free: 1.508 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.963e-05/0.003886, allocations: 112.6 kB / 277 MB, free: 1.371 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.0039, allocations: 9.031 kB / 277 MB, free: 1.363 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.518e-06/0.003909, allocations: 4.375 kB / 277 MB, free: 1.359 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.004026, allocations: 78.86 kB / 277.1 MB, free: 1.273 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.004033, allocations: 192 / 277.1 MB, free: 1.273 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.613e-06/0.00404, allocations: 384 / 277.1 MB, free: 1.273 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.004045, allocations: 7.938 kB / 277.1 MB, free: 1.266 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.45e-05/0.00408, allocations: 19.92 kB / 277.1 MB, free: 1.246 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002616/0.004342, allocations: 276.2 kB / 277.4 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.843e-05/0.00441, allocations: 39.06 kB / 277.4 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.066e-05/0.004431, allocations: 19.67 kB / 277.4 MB, free: 0.875 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.236e-05/0.004443, allocations: 7.938 kB / 277.4 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.747e-05/0.00446, allocations: 33.39 kB / 277.5 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of pre-optimization done (n=5): time 8.01e-07/0.004461, allocations: 0 / 277.5 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001238/0.004585, allocations: 65.8 kB / 277.5 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.481e-05/0.00461, allocations: 55.41 kB / 277.6 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.74e-05/0.004667, allocations: 165.9 kB / 277.7 MB, free: 0.5078 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.004679, allocations: 25.7 kB / 277.8 MB, free: 488 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.414e-05/0.004723, allocations: 142.8 kB / 277.9 MB, free: 340 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.704e-05/0.00474, allocations: 19.78 kB / 277.9 MB, free: 320 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.641e-05/0.004766, allocations: 23.38 kB / 277.9 MB, free: 288 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.004899, allocations: 0.4923 MB / 278.4 MB, free: 15.78 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.496e-05/0.004914, allocations: 8 kB / 278.4 MB, free: 15.77 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.249e-05/0.004927, allocations: 4.25 kB / 278.4 MB, free: 15.77 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.566e-05/0.004962, allocations: 27.8 kB / 278.5 MB, free: 15.73 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.004964, allocations: 0 / 278.5 MB, free: 15.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.85e-05/0.005032, allocations: 57.58 kB / 278.5 MB, free: 15.67 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.005045, allocations: 7.984 kB / 278.5 MB, free: 15.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/0.005048, allocations: 0 / 278.5 MB, free: 15.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.366e-06/0.005057, allocations: 0 / 278.5 MB, free: 15.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.592e-05/0.005123, allocations: 12 kB / 278.6 MB, free: 15.65 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.005125, allocations: 0 / 278.6 MB, free: 15.65 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.502e-05/0.00515, allocations: 15.94 kB / 278.6 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-06/0.005154, allocations: 0 / 278.6 MB, free: 15.64 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 6.135e-05/0.005216, allocations: 160.6 kB / 278.7 MB, free: 15.47 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.669e-05/0.005232, allocations: 7.938 kB / 278.7 MB, free: 15.46 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.686e-05/0.005319, allocations: 65.73 kB / 278.8 MB, free: 15.39 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.005322, allocations: 4 kB / 278.8 MB, free: 15.39 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-06/0.005323, allocations: 0 / 278.8 MB, free: 15.39 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.005327, allocations: 3.984 kB / 278.8 MB, free: 15.38 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001012/0.005428, allocations: 121.1 kB / 278.9 MB, free: 15.24 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-06/0.005429, allocations: 0 / 278.9 MB, free: 15.24 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.058e-05/0.00547, allocations: 20 kB / 278.9 MB, free: 15.22 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.005471, allocations: 3.984 kB / 278.9 MB, free: 15.21 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.005479, allocations: 7.922 kB / 279 MB, free: 15.21 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.91e-07/0.005479, allocations: 0 / 279 MB, free: 15.21 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.00548, allocations: 0 / 279 MB, free: 15.21 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001031/0.005583, allocations: 207.9 kB / 279.2 MB, free: 14.98 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.604e-06/0.005591, allocations: 7.953 kB / 279.2 MB, free: 14.98 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.897e-06/0.0056, allocations: 3.938 kB / 279.2 MB, free: 14.97 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.744e-05/0.005637, allocations: 8.047 kB / 279.2 MB, free: 14.96 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.654e-05/0.005664, allocations: 12 kB / 279.2 MB, free: 14.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.005666, allocations: 4 kB / 279.2 MB, free: 14.95 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.57e-05/0.005702, allocations: 131.2 kB / 279.3 MB, free: 14.82 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005702, allocations: 4 kB / 279.3 MB, free: 14.82 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001379/0.00584, allocations: 11.94 kB / 279.3 MB, free: 14.8 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 8.702e-05/0.005927, allocations: 103.2 kB / 279.4 MB, free: 14.69 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.492e-05/0.006002, allocations: 31.62 kB / 279.5 MB, free: 14.66 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.41e-07/0.006003, allocations: 0 / 279.5 MB, free: 14.66 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.589e-05/0.006029, allocations: 27.67 kB / 279.5 MB, free: 14.62 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000161/0.00619, allocations: 8 kB / 279.5 MB, free: 14.62 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002293/0.006419, allocations: 162 kB / 279.7 MB, free: 14.43 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.377e-05/0.006453, allocations: 63.22 kB / 279.7 MB, free: 14.35 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.078e-05/0.006474, allocations: 7.891 kB / 279.7 MB, free: 14.34 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.737e-05/0.006531, allocations: 82.14 kB / 279.8 MB, free: 14.26 MB / 266.7 MB Notification: Performance of SimCode: time 7.72e-07/0.006532, allocations: 4 kB / 279.8 MB, free: 14.25 MB / 266.7 MB Notification: Performance of Templates: time 0.002457/0.008989, allocations: 1.08 MB / 280.9 MB, free: 13.19 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.7226187558844686]