Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.001165/0.001165, allocations: 80.31 kB / 22.21 MB, free: 2.285 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.002016/0.002016, allocations: 171.1 kB / 25.61 MB, free: 8.594 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.9769/0.9769, allocations: 177.1 MB / 206.1 MB, free: 4.473 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.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 274.2 MB, free: 4.387 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.968e-05/3.182e-05, allocations: 7.906 kB / 274.2 MB, free: 4.379 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.002681/0.002712, allocations: 1.725 MB / 275.9 MB, free: 2.656 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004628/0.003175, allocations: 167.8 kB / 276.1 MB, free: 2.492 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.794e-05/0.003273, allocations: 4.938 kB / 276.1 MB, free: 2.488 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.177e-05/0.003335, allocations: 7.875 kB / 276.1 MB, free: 2.48 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001483/0.003483, allocations: 16.48 kB / 276.1 MB, free: 2.465 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002361/0.003719, allocations: 47.81 kB / 276.2 MB, free: 2.418 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001142/0.003834, allocations: 56.47 kB / 276.2 MB, free: 2.363 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.003937, allocations: 21.8 kB / 276.3 MB, free: 2.344 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.991e-05/0.003997, allocations: 27.91 kB / 276.3 MB, free: 2.316 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.016e-05/0.004047, allocations: 19.92 kB / 276.3 MB, free: 2.297 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.019e-05/0.004067, allocations: 4 kB / 276.3 MB, free: 2.293 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.094e-05/0.004078, allocations: 4 kB / 276.3 MB, free: 2.289 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.93e-05/0.004127, allocations: 21.84 kB / 276.3 MB, free: 2.27 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.351e-05/0.004151, allocations: 19.92 kB / 276.3 MB, free: 2.25 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001155/0.004267, allocations: 51.7 kB / 276.4 MB, free: 2.199 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.614e-06/0.004269, allocations: 0 / 276.4 MB, free: 2.199 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.00427, allocations: 0 / 276.4 MB, free: 2.199 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.004276, allocations: 0 / 276.4 MB, free: 2.199 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003926/0.004668, allocations: 420.7 kB / 276.8 MB, free: 1.75 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.004703, allocations: 15.97 kB / 276.8 MB, free: 1.734 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.557e-05/0.004739, allocations: 12.89 kB / 276.8 MB, free: 1.723 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001763/0.004915, allocations: 146.5 kB / 277 MB, free: 1.555 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.004926, allocations: 8.375 kB / 277 MB, free: 1.547 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.246e-05/0.004939, allocations: 8.312 kB / 277 MB, free: 1.539 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002271/0.005166, allocations: 157.2 kB / 277.2 MB, free: 1.355 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.996e-06/0.005174, allocations: 192 / 277.2 MB, free: 1.355 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.005183, allocations: 8.375 kB / 277.2 MB, free: 1.348 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.005189, allocations: 384 / 277.2 MB, free: 1.348 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.192e-05/0.005221, allocations: 19.86 kB / 277.2 MB, free: 1.328 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002986/0.005519, allocations: 398.8 kB / 277.6 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001596/0.005679, allocations: 117.4 kB / 277.7 MB, free: 0.75 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.052e-05/0.00573, allocations: 47.16 kB / 277.7 MB, free: 0.6914 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.005749, allocations: 8 kB / 277.7 MB, free: 0.6836 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.005774, allocations: 37.39 kB / 277.8 MB, free: 0.6367 MB / 250.7 MB Notification: Performance of pre-optimization done (n=10): time 1.332e-06/0.005775, allocations: 0 / 277.8 MB, free: 0.6367 MB / 250.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001804/0.005956, allocations: 97.44 kB / 277.9 MB, free: 0.5352 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.332e-05/0.006009, allocations: 110.8 kB / 278 MB, free: 412 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.422e-05/0.006093, allocations: 185.9 kB / 278.2 MB, free: 208 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.999e-06/0.006103, allocations: 29.7 kB / 278.2 MB, free: 172 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.957e-05/0.006153, allocations: 130.9 kB / 278.3 MB, free: 36 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.679e-05/0.00617, allocations: 15.88 kB / 278.3 MB, free: 20 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.042e-05/0.00621, allocations: 19.38 kB / 278.3 MB, free: 15.99 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.006333, allocations: 0.4886 MB / 278.8 MB, free: 15.49 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.032e-05/0.006343, allocations: 4 kB / 278.8 MB, free: 15.49 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.762e-05/0.006361, allocations: 19.38 kB / 278.9 MB, free: 15.46 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.894e-05/0.006389, allocations: 27.3 kB / 278.9 MB, free: 15.43 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.006391, allocations: 0 / 278.9 MB, free: 15.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.94e-05/0.006451, allocations: 45.59 kB / 278.9 MB, free: 15.38 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.006464, allocations: 10.03 kB / 278.9 MB, free: 15.37 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.006469, allocations: 0 / 278.9 MB, free: 15.37 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.006481, allocations: 8.062 kB / 279 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4e-05/0.006521, allocations: 7.984 kB / 279 MB, free: 15.35 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-06/0.006523, allocations: 0 / 279 MB, free: 15.35 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.556e-05/0.006539, allocations: 4 kB / 279 MB, free: 15.35 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.006548, allocations: 0 / 279 MB, free: 15.35 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.774e-05/0.006615, allocations: 156.6 kB / 279.1 MB, free: 15.18 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.603e-05/0.006691, allocations: 69.56 kB / 279.2 MB, free: 15.11 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.287e-05/0.006724, allocations: 12.78 kB / 279.2 MB, free: 15.09 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.006729, allocations: 7.938 kB / 279.2 MB, free: 15.09 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.006731, allocations: 0 / 279.2 MB, free: 15.09 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.006734, allocations: 4 kB / 279.2 MB, free: 15.08 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001442/0.006878, allocations: 117.2 kB / 279.3 MB, free: 14.94 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.006882, allocations: 3.984 kB / 279.3 MB, free: 14.94 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.251e-05/0.006924, allocations: 16 kB / 279.3 MB, free: 14.92 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.006926, allocations: 0 / 279.3 MB, free: 14.92 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.298e-06/0.00693, allocations: 0 / 279.3 MB, free: 14.92 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.006933, allocations: 4 kB / 279.3 MB, free: 14.92 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.006934, allocations: 0 / 279.3 MB, free: 14.92 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000154/0.007088, allocations: 326.6 kB / 279.7 MB, free: 14.57 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.965e-05/0.007128, allocations: 23.86 kB / 279.7 MB, free: 14.55 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.154e-05/0.007139, allocations: 8.031 kB / 279.7 MB, free: 14.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.628e-05/0.007196, allocations: 8 kB / 279.7 MB, free: 14.54 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.783e-05/0.007224, allocations: 7.922 kB / 279.7 MB, free: 14.53 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.007228, allocations: 4 kB / 279.7 MB, free: 14.52 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.202e-05/0.00728, allocations: 143.2 kB / 279.9 MB, free: 14.38 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00728, allocations: 0 / 279.9 MB, free: 14.38 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001697/0.00745, allocations: 7.938 kB / 279.9 MB, free: 14.38 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.724e-05/0.007537, allocations: 95.25 kB / 280 MB, free: 14.27 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.822e-05/0.007615, allocations: 31.67 kB / 280 MB, free: 14.24 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.007617, allocations: 4.062 kB / 280 MB, free: 14.23 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003321/0.007949, allocations: 15.62 kB / 280 MB, free: 14.21 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003114/0.008261, allocations: 30.27 kB / 280 MB, free: 14.18 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003043/0.008565, allocations: 207.9 kB / 280.2 MB, free: 13.94 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.677e-05/0.008612, allocations: 71.2 kB / 280.3 MB, free: 13.85 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.781e-05/0.00863, allocations: 0 / 280.3 MB, free: 13.85 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.427e-05/0.008684, allocations: 74.2 kB / 280.4 MB, free: 13.77 MB / 266.7 MB Notification: Performance of SimCode: time 7.31e-07/0.008685, allocations: 4.125 kB / 280.4 MB, free: 13.77 MB / 266.7 MB Notification: Performance of Templates: time 0.002624/0.01131, allocations: 0.7538 MB / 281.1 MB, free: 13.03 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.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.767373540904373]