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.001401/0.001401, allocations: 85.91 kB / 21.43 MB, free: 3.062 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.001293/0.001293, allocations: 164.6 kB / 24.82 MB, free: 9.23 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 1.061/1.061, allocations: 177 MB / 205.1 MB, free: 5.48 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.894e-06/1.894e-06, allocations: 0 / 273.3 MB, free: 1.277 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.511e-05/2.7e-05, allocations: 5.266 kB / 273.3 MB, free: 1.273 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002688/0.002715, allocations: 1.554 MB / 274.8 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008597/0.003574, allocations: 0.514 MB / 275.4 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.465e-05/0.003629, allocations: 0 / 275.4 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001442/0.003773, allocations: 23.86 kB / 275.4 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.247e-05/0.003846, allocations: 7.875 kB / 275.4 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001608/0.004006, allocations: 35.89 kB / 275.4 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.043e-05/0.004087, allocations: 63.78 kB / 275.5 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.442e-05/0.004181, allocations: 15.98 kB / 275.5 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001893/0.00437, allocations: 43.89 kB / 275.5 MB, free: 15 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.243e-05/0.004423, allocations: 19.92 kB / 275.6 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.569e-05/0.004439, allocations: 4 kB / 275.6 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.248e-05/0.004501, allocations: 23.92 kB / 275.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.854e-05/0.00452, allocations: 15.92 kB / 275.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.038e-05/0.00454, allocations: 11.98 kB / 275.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001373/0.004677, allocations: 63.75 kB / 275.7 MB, free: 14.86 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.004679, allocations: 0 / 275.7 MB, free: 14.86 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.00468, allocations: 0 / 275.7 MB, free: 14.86 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.004684, allocations: 0 / 275.7 MB, free: 14.86 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.0004362/0.00512, allocations: 400.4 kB / 276.1 MB, free: 14.44 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.00516, allocations: 11.98 kB / 276.1 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.583e-05/0.005195, allocations: 16.89 kB / 276.1 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.093e-05/0.005276, allocations: 112.6 kB / 276.2 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.005288, allocations: 4.312 kB / 276.2 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.001e-05/0.005298, allocations: 4.375 kB / 276.2 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002071/0.005505, allocations: 74.86 kB / 276.3 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.096e-06/0.005513, allocations: 4.188 kB / 276.3 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.005521, allocations: 4.375 kB / 276.3 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.005528, allocations: 7.938 kB / 276.3 MB, free: 14.17 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.681e-05/0.005564, allocations: 11.98 kB / 276.3 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003034/0.005868, allocations: 280.2 kB / 276.6 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.071e-05/0.005958, allocations: 39.06 kB / 276.6 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.415e-05/0.005983, allocations: 15.67 kB / 276.6 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/0.005999, allocations: 3.938 kB / 276.6 MB, free: 13.78 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.006025, allocations: 41.52 kB / 276.7 MB, free: 13.73 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 1.433e-06/0.006027, allocations: 0 / 276.7 MB, free: 13.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001591/0.006186, allocations: 61.67 kB / 276.7 MB, free: 13.66 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.75e-05/0.006213, allocations: 55.41 kB / 276.8 MB, free: 13.6 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.521e-05/0.006289, allocations: 169.8 kB / 277 MB, free: 13.41 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.909e-06/0.006299, allocations: 25.7 kB / 277 MB, free: 13.38 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.434e-05/0.006353, allocations: 150.7 kB / 277.1 MB, free: 13.23 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.139e-05/0.006374, allocations: 11.91 kB / 277.1 MB, free: 13.22 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.782e-05/0.006412, allocations: 23.38 kB / 277.2 MB, free: 13.19 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.006533, allocations: 0.4884 MB / 277.7 MB, free: 12.69 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.097e-05/0.006554, allocations: 4 kB / 277.7 MB, free: 12.68 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.68e-05/0.006571, allocations: 4 kB / 277.7 MB, free: 12.68 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.321e-05/0.006614, allocations: 27.61 kB / 277.7 MB, free: 12.65 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.006616, allocations: 4.375 kB / 277.7 MB, free: 12.64 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.962e-05/0.006706, allocations: 61.59 kB / 277.8 MB, free: 12.58 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.006718, allocations: 6.656 kB / 277.8 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.006725, allocations: 3.984 kB / 277.8 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.888e-06/0.006735, allocations: 0 / 277.8 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.75e-05/0.006813, allocations: 12 kB / 277.8 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.425e-06/0.006815, allocations: 0 / 277.8 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.213e-05/0.006847, allocations: 7.984 kB / 277.8 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.006856, allocations: 8 kB / 277.8 MB, free: 12.54 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.644e-05/0.006922, allocations: 152.6 kB / 277.9 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.933e-05/0.006952, allocations: 15.88 kB / 278 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002436/0.007195, allocations: 77.72 kB / 278 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.007197, allocations: 3.938 kB / 278 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.007199, allocations: 0 / 278 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.007202, allocations: 3.984 kB / 278 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001302/0.007333, allocations: 113.2 kB / 278.2 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.007336, allocations: 3.984 kB / 278.2 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.822e-05/0.007394, allocations: 12 kB / 278.2 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.007396, allocations: 0 / 278.2 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.007405, allocations: 7.938 kB / 278.2 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.007407, allocations: 4 kB / 278.2 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.00741, allocations: 7.984 kB / 278.2 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001282/0.007538, allocations: 207.8 kB / 278.4 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.815e-06/0.007546, allocations: 0 / 278.4 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.114e-05/0.007557, allocations: 3.938 kB / 278.4 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.89e-05/0.007616, allocations: 4 kB / 278.4 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.299e-05/0.007649, allocations: 11.98 kB / 278.4 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.007654, allocations: 0 / 278.4 MB, free: 11.86 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.368e-05/0.007697, allocations: 135.2 kB / 278.5 MB, free: 11.73 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007697, allocations: 0 / 278.5 MB, free: 11.73 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000216/0.007913, allocations: 12 kB / 278.6 MB, free: 11.72 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.0001053/0.008019, allocations: 99.25 kB / 278.7 MB, free: 11.61 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.293e-05/0.008101, allocations: 35.61 kB / 278.7 MB, free: 11.57 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.008103, allocations: 0 / 278.7 MB, free: 11.57 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.448e-05/0.008137, allocations: 27.66 kB / 278.7 MB, free: 11.54 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002301/0.008368, allocations: 8.312 kB / 278.7 MB, free: 11.53 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002716/0.008639, allocations: 181.8 kB / 278.9 MB, free: 11.32 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.621e-05/0.008675, allocations: 55.36 kB / 279 MB, free: 11.25 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.688e-05/0.008702, allocations: 7.984 kB / 279 MB, free: 11.24 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.377e-05/0.008766, allocations: 74.2 kB / 279 MB, free: 11.17 MB / 266.7 MB Notification: Performance of SimCode: time 7.52e-07/0.008767, allocations: 0 / 279 MB, free: 11.17 MB / 266.7 MB Notification: Performance of Templates: time 0.002885/0.01165, allocations: 1.071 MB / 280.1 MB, free: 10.11 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.7760703237727284]