Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00525/0.00525, allocations: 160.9 kB / 24.7 MB, free: 9.41 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8586/0.8586, allocations: 177.1 MB / 205 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.485e-05/1.617e-05, allocations: 6.281 kB / 325.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.001642/0.001658, allocations: 1.575 MB / 327.4 MB, free: 13.83 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002822/0.00194, allocations: 143.4 kB / 327.6 MB, free: 13.69 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.445e-05/0.002014, allocations: 3.938 kB / 327.6 MB, free: 13.69 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.828e-05/0.002053, allocations: 3.938 kB / 327.6 MB, free: 13.68 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001247/0.002177, allocations: 15.92 kB / 327.6 MB, free: 13.67 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001802/0.002358, allocations: 39.16 kB / 327.6 MB, free: 13.63 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.031e-05/0.002438, allocations: 35.86 kB / 327.7 MB, free: 13.6 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.354e-05/0.002522, allocations: 19.97 kB / 327.7 MB, free: 13.58 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.786e-05/0.002559, allocations: 11.98 kB / 327.7 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.443e-05/0.002594, allocations: 7.938 kB / 327.7 MB, free: 13.56 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.068e-05/0.002615, allocations: 4 kB / 327.7 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.574e-06/0.002622, allocations: 0 / 327.7 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.074e-05/0.002663, allocations: 15.98 kB / 327.7 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.655e-05/0.002689, allocations: 15.92 kB / 327.7 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.264e-05/0.002782, allocations: 51.8 kB / 327.8 MB, free: 13.47 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.002784, allocations: 0 / 327.8 MB, free: 13.47 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.002785, allocations: 0 / 327.8 MB, free: 13.47 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.002788, allocations: 0 / 327.8 MB, free: 13.47 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003255/0.003114, allocations: 293 kB / 328.1 MB, free: 13.16 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.04e-05/0.003144, allocations: 8.031 kB / 328.1 MB, free: 13.15 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.57e-05/0.00317, allocations: 8.891 kB / 328.1 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.003318, allocations: 141.5 kB / 328.2 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-06/0.003327, allocations: 384 / 328.2 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.959e-06/0.003337, allocations: 12.38 kB / 328.2 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002051/0.003542, allocations: 113.6 kB / 328.3 MB, free: 12.84 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.034e-06/0.003549, allocations: 4.125 kB / 328.3 MB, free: 12.83 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.003557, allocations: 384 / 328.3 MB, free: 12.83 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.003561, allocations: 384 / 328.3 MB, free: 12.83 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.052e-05/0.003602, allocations: 23.86 kB / 328.4 MB, free: 12.81 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002012/0.003803, allocations: 209.4 kB / 328.6 MB, free: 12.57 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001244/0.003927, allocations: 61.14 kB / 328.6 MB, free: 12.49 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.797e-05/0.003965, allocations: 25.77 kB / 328.7 MB, free: 12.46 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.003983, allocations: 4 kB / 328.7 MB, free: 12.46 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.671e-05/0.004, allocations: 34.56 kB / 328.7 MB, free: 12.41 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 8.11e-07/0.004, allocations: 0 / 328.7 MB, free: 12.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001584/0.004159, allocations: 85.48 kB / 328.8 MB, free: 12.32 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/0.004197, allocations: 77.11 kB / 328.9 MB, free: 12.23 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.545e-05/0.004272, allocations: 141 kB / 329 MB, free: 12.08 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.128e-06/0.004282, allocations: 25.7 kB / 329 MB, free: 12.05 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.352e-05/0.004315, allocations: 84.14 kB / 329.1 MB, free: 11.96 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.173e-05/0.004327, allocations: 4 kB / 329.1 MB, free: 11.96 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.213e-05/0.004349, allocations: 13.67 kB / 329.1 MB, free: 11.94 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.244e-05/0.004421, allocations: 322.8 kB / 329.4 MB, free: 11.62 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.703e-05/0.004438, allocations: 4 kB / 329.4 MB, free: 11.61 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.366e-05/0.004452, allocations: 11.92 kB / 329.4 MB, free: 11.6 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.931e-05/0.004481, allocations: 12.92 kB / 329.5 MB, free: 11.59 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.004483, allocations: 4 kB / 329.5 MB, free: 11.58 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.053e-05/0.004534, allocations: 49.67 kB / 329.5 MB, free: 11.53 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.358e-06/0.004543, allocations: 4 kB / 329.5 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.004548, allocations: 3.938 kB / 329.5 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.004558, allocations: 0 / 329.5 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.825e-05/0.004586, allocations: 4 kB / 329.5 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.00459, allocations: 0 / 329.5 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.202e-05/0.004602, allocations: 4 kB / 329.5 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-06/0.004606, allocations: 0 / 329.5 MB, free: 11.51 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 (1): * Single equations (assignments): 1 * 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.055e-05/0.004656, allocations: 121.9 kB / 329.6 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.665e-05/0.004693, allocations: 53.53 kB / 329.7 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.345e-05/0.004716, allocations: 12.27 kB / 329.7 MB, free: 11.31 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.004718, allocations: 4 kB / 329.7 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.004721, allocations: 0 / 329.7 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.004724, allocations: 0 / 329.7 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.458e-05/0.004808, allocations: 117.3 kB / 329.8 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.004809, allocations: 0 / 329.8 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.994e-05/0.004829, allocations: 12.22 kB / 329.8 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.004831, allocations: 4 kB / 329.8 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.97e-06/0.004836, allocations: 4 kB / 329.8 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.004837, allocations: 3.938 kB / 329.9 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.004838, allocations: 3.938 kB / 329.9 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.05e-05/0.004929, allocations: 172.3 kB / 330 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.237e-05/0.004951, allocations: 11.95 kB / 330 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.004962, allocations: 7.984 kB / 330 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.263e-05/0.004995, allocations: 3.938 kB / 330 MB, free: 10.92 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.243e-05/0.005017, allocations: 4 kB / 330.1 MB, free: 10.92 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-06/0.005019, allocations: 0 / 330.1 MB, free: 10.92 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.999e-05/0.005059, allocations: 103.3 kB / 330.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005059, allocations: 4 kB / 330.2 MB, free: 10.81 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001352/0.005195, allocations: 4 kB / 330.2 MB, free: 10.81 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 5.569e-05/0.00525, allocations: 99.17 kB / 330.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.22e-05/0.005322, allocations: 23.92 kB / 330.3 MB, free: 10.68 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.005324, allocations: 4 kB / 330.3 MB, free: 10.68 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.505e-05/0.005339, allocations: 4 kB / 330.3 MB, free: 10.67 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002077/0.005546, allocations: 22.97 kB / 330.3 MB, free: 10.65 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002173/0.005764, allocations: 184 kB / 330.5 MB, free: 10.44 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.9e-05/0.005813, allocations: 79.27 kB / 330.6 MB, free: 10.34 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.914e-05/0.005832, allocations: 8.5 kB / 330.6 MB, free: 10.33 MB / 298.7 MB Notification: Performance of SimCode: time 3.51e-07/0.005832, allocations: 0 / 330.6 MB, free: 10.33 MB / 298.7 MB Notification: Performance of Templates: time 0.001305/0.007137, allocations: 0.6795 MB / 331.3 MB, free: 9.652 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample2/Sample2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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.008898523636162]