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.0009765/0.0009765, allocations: 75.77 kB / 21.18 MB, free: 3.379 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.001076/0.001076, allocations: 161 kB / 24.56 MB, free: 8 kB / 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 1.04/1.04, allocations: 177.1 MB / 205 MB, free: 5.645 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.583e-06/1.583e-06, allocations: 0 / 273 MB, free: 1.559 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.288e-05/2.447e-05, allocations: 2.312 kB / 273 MB, free: 1.555 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.002017/0.002041, allocations: 1.607 MB / 274.6 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003487/0.00239, allocations: 151.4 kB / 274.7 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.721e-05/0.002467, allocations: 0 / 274.7 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.136e-05/0.002519, allocations: 3.938 kB / 274.7 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001412/0.00266, allocations: 11.88 kB / 274.8 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00022/0.00288, allocations: 35.83 kB / 274.8 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.171e-05/0.002972, allocations: 43.84 kB / 274.8 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.797e-05/0.00306, allocations: 7.984 kB / 274.8 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.633e-05/0.003106, allocations: 19.98 kB / 274.9 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.515e-05/0.003141, allocations: 3.938 kB / 274.9 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.026e-05/0.003161, allocations: 4 kB / 274.9 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.009e-05/0.003171, allocations: 8 kB / 274.9 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.688e-05/0.003218, allocations: 15.97 kB / 274.9 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.95e-05/0.003248, allocations: 11.94 kB / 274.9 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 9.445e-05/0.003342, allocations: 31.83 kB / 274.9 MB, free: 15.59 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.003344, allocations: 0 / 274.9 MB, free: 15.59 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.003346, allocations: 4 kB / 274.9 MB, free: 15.59 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.00335, allocations: 3.938 kB / 274.9 MB, free: 15.59 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003476/0.003698, allocations: 392.4 kB / 275.3 MB, free: 15.16 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.003739, allocations: 12.03 kB / 275.3 MB, free: 15.15 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.751e-05/0.003777, allocations: 8.891 kB / 275.3 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.003925, allocations: 140.5 kB / 275.5 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-06/0.003934, allocations: 4.375 kB / 275.5 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.328e-06/0.003943, allocations: 4.375 kB / 275.5 MB, free: 14.97 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002278/0.004171, allocations: 133.5 kB / 275.6 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.004178, allocations: 192 / 275.6 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.004186, allocations: 384 / 275.6 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.116e-06/0.004195, allocations: 384 / 275.6 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.165e-05/0.004216, allocations: 15.92 kB / 275.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002508/0.004467, allocations: 267.5 kB / 275.9 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001373/0.004604, allocations: 70.11 kB / 276 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.493e-05/0.004639, allocations: 27.41 kB / 276 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.471e-05/0.004654, allocations: 4 kB / 276 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.004675, allocations: 37.33 kB / 276 MB, free: 14.32 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 4.799e-06/0.004679, allocations: 0 / 276 MB, free: 14.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001442/0.004824, allocations: 69.52 kB / 276.1 MB, free: 14.25 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.004863, allocations: 81.23 kB / 276.2 MB, free: 14.15 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.433e-05/0.004948, allocations: 188.7 kB / 276.4 MB, free: 13.95 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.857e-06/0.004957, allocations: 25.7 kB / 276.4 MB, free: 13.92 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.206e-05/0.004999, allocations: 130.9 kB / 276.5 MB, free: 13.79 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.27e-05/0.005011, allocations: 3.953 kB / 276.5 MB, free: 13.78 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.551e-05/0.005037, allocations: 23.38 kB / 276.5 MB, free: 13.75 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.005141, allocations: 496.1 kB / 277 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.478e-06/0.005151, allocations: 4 kB / 277 MB, free: 13.25 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.22e-06/0.005156, allocations: 0 / 277 MB, free: 13.25 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.003e-05/0.005176, allocations: 11.69 kB / 277 MB, free: 13.23 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.005178, allocations: 4.062 kB / 277.1 MB, free: 13.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.068e-05/0.005218, allocations: 37.64 kB / 277.1 MB, free: 13.19 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.005231, allocations: 4 kB / 277.1 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.005237, allocations: 7.938 kB / 277.1 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.00525, allocations: 0 / 277.1 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.172e-05/0.005291, allocations: 7.984 kB / 277.1 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.005296, allocations: 0 / 277.1 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.31e-05/0.005309, allocations: 4 kB / 277.1 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.038e-06/0.005313, allocations: 0 / 277.1 MB, free: 13.16 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 (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.942e-05/0.005373, allocations: 152.6 kB / 277.3 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.22e-05/0.005415, allocations: 57.58 kB / 277.3 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.71e-05/0.005442, allocations: 16.28 kB / 277.3 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.005444, allocations: 0 / 277.3 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.005446, allocations: 3.938 kB / 277.3 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.005449, allocations: 0 / 277.3 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.728e-05/0.005547, allocations: 124.6 kB / 277.5 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.005548, allocations: 0 / 277.5 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.536e-05/0.005573, allocations: 7.984 kB / 277.5 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.005575, allocations: 4 kB / 277.5 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.005582, allocations: 4 kB / 277.5 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.005584, allocations: 7.938 kB / 277.5 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.005585, allocations: 0 / 277.5 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001029/0.005688, allocations: 207.6 kB / 277.7 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.443e-05/0.005712, allocations: 11.94 kB / 277.7 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.01e-05/0.005722, allocations: 4 kB / 277.7 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.005e-05/0.005752, allocations: 11.88 kB / 277.7 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.568e-05/0.005778, allocations: 0 / 277.7 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-06/0.005781, allocations: 0 / 277.7 MB, free: 12.49 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.587e-05/0.005827, allocations: 139.2 kB / 277.8 MB, free: 12.35 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005827, allocations: 0 / 277.8 MB, free: 12.35 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001346/0.005962, allocations: 4 kB / 277.9 MB, free: 12.35 MB / 266.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 7.163e-05/0.006034, allocations: 103.2 kB / 278 MB, free: 12.23 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.279e-05/0.006106, allocations: 15.69 kB / 278 MB, free: 12.21 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.006108, allocations: 4 kB / 278 MB, free: 12.21 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.234e-05/0.006121, allocations: 11.62 kB / 278 MB, free: 12.2 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/0.006351, allocations: 25.08 kB / 278 MB, free: 12.17 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002508/0.006602, allocations: 156.9 kB / 278.2 MB, free: 11.98 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.686e-05/0.006639, allocations: 63.34 kB / 278.2 MB, free: 11.9 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.634e-05/0.006655, allocations: 8.359 kB / 278.2 MB, free: 11.89 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.187e-05/0.006677, allocations: 8.5 kB / 278.2 MB, free: 11.88 MB / 266.7 MB Notification: Performance of SimCode: time 5.71e-07/0.006677, allocations: 0 / 278.2 MB, free: 11.88 MB / 266.7 MB Notification: Performance of Templates: time 0.002179/0.008856, allocations: 0.557 MB / 278.8 MB, free: 11.34 MB / 266.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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) [Timeout 240] 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","",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.700150670018047]