Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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.001345/0.001345, allocations: 91.67 kB / 21.2 MB, free: 3.367 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.001478/0.001478, allocations: 160.5 kB / 24.56 MB, free: 12 kB / 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.9655/0.9655, allocations: 177 MB / 204.8 MB, free: 5.574 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.Clocked.Examples.Elementary.RealSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 272.9 MB, free: 1.441 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.437e-05/2.582e-05, allocations: 2.312 kB / 272.9 MB, free: 1.438 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.002275/0.002301, allocations: 1.619 MB / 274.5 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003609/0.002661, allocations: 147.3 kB / 274.7 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.358e-05/0.002735, allocations: 0 / 274.7 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.77e-05/0.002783, allocations: 7.922 kB / 274.7 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001248/0.002908, allocations: 3.938 kB / 274.7 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001979/0.003106, allocations: 47.77 kB / 274.7 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.172e-05/0.003187, allocations: 35.92 kB / 274.8 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.749e-05/0.003275, allocations: 11.98 kB / 274.8 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.538e-05/0.00332, allocations: 15.92 kB / 274.8 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.524e-05/0.003355, allocations: 7.984 kB / 274.8 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/0.003374, allocations: 4 kB / 274.8 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.105e-06/0.003383, allocations: 0 / 274.8 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.825e-05/0.003431, allocations: 23.86 kB / 274.8 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.108e-05/0.003462, allocations: 15.92 kB / 274.8 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001042/0.003566, allocations: 27.86 kB / 274.9 MB, free: 15.46 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.003568, allocations: 0 / 274.9 MB, free: 15.46 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.00357, allocations: 4 kB / 274.9 MB, free: 15.46 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.003575, allocations: 0 / 274.9 MB, free: 15.46 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.0003897/0.003965, allocations: 392.4 kB / 275.3 MB, free: 15.04 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.004011, allocations: 15.98 kB / 275.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.313e-05/0.004054, allocations: 12.88 kB / 275.3 MB, free: 15.01 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001725/0.004226, allocations: 136.5 kB / 275.4 MB, free: 14.85 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-06/0.004236, allocations: 8.312 kB / 275.4 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.242e-05/0.004248, allocations: 4.375 kB / 275.4 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002387/0.004487, allocations: 129.6 kB / 275.6 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.004495, allocations: 192 / 275.6 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.004505, allocations: 384 / 275.6 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.004516, allocations: 384 / 275.6 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.142e-05/0.004538, allocations: 7.938 kB / 275.6 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002553/0.004793, allocations: 271.4 kB / 275.8 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001324/0.004925, allocations: 66.17 kB / 275.9 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.172e-05/0.004957, allocations: 27.38 kB / 275.9 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.004974, allocations: 4 kB / 275.9 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.004995, allocations: 45.33 kB / 276 MB, free: 14.19 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.004996, allocations: 0 / 276 MB, free: 14.19 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001488/0.005145, allocations: 61.52 kB / 276 MB, free: 14.12 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/0.005189, allocations: 85.09 kB / 276.1 MB, free: 14.02 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.786e-05/0.005277, allocations: 188.6 kB / 276.3 MB, free: 13.82 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.114e-05/0.005288, allocations: 29.7 kB / 276.3 MB, free: 13.79 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.119e-05/0.005329, allocations: 130.9 kB / 276.5 MB, free: 13.65 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.383e-05/0.005343, allocations: 3.953 kB / 276.5 MB, free: 13.65 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.477e-05/0.005367, allocations: 19.5 kB / 276.5 MB, free: 13.62 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.005482, allocations: 496.1 kB / 277 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.351e-05/0.005495, allocations: 3.984 kB / 277 MB, free: 13.12 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.645e-06/0.005503, allocations: 8 kB / 277 MB, free: 13.11 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.107e-05/0.005524, allocations: 11.62 kB / 277 MB, free: 13.1 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.005526, allocations: 0 / 277 MB, free: 13.1 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.395e-05/0.00557, allocations: 33.7 kB / 277 MB, free: 13.06 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.005583, allocations: 4 kB / 277 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.005589, allocations: 3.938 kB / 277 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.005604, allocations: 0 / 277 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.599e-05/0.00565, allocations: 8.094 kB / 277 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.005655, allocations: 0 / 277 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.446e-05/0.00567, allocations: 3.984 kB / 277 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-06/0.005674, allocations: 4 kB / 277 MB, free: 13.04 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 6.558e-05/0.005739, allocations: 152.6 kB / 277.2 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.868e-05/0.005798, allocations: 53.77 kB / 277.2 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.585e-05/0.005834, allocations: 20.27 kB / 277.3 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.005836, allocations: 0 / 277.3 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.00584, allocations: 0 / 277.3 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.005842, allocations: 0 / 277.3 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.601e-05/0.005938, allocations: 128.6 kB / 277.4 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.00594, allocations: 4 kB / 277.4 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.131e-05/0.005972, allocations: 7.984 kB / 277.4 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.005974, allocations: 0 / 277.4 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.005982, allocations: 8 kB / 277.4 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.005985, allocations: 3.938 kB / 277.4 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.005986, allocations: 0 / 277.4 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001398/0.006126, allocations: 207.5 kB / 277.6 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.921e-05/0.006155, allocations: 19.89 kB / 277.6 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/0.00617, allocations: 3.984 kB / 277.6 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.18e-05/0.006202, allocations: 7.938 kB / 277.6 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.916e-05/0.006231, allocations: 4 kB / 277.7 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.006235, allocations: 0 / 277.7 MB, free: 12.35 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.872e-05/0.006294, allocations: 139.2 kB / 277.8 MB, free: 12.21 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006294, allocations: 0 / 277.8 MB, free: 12.21 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001411/0.006435, allocations: 4 kB / 277.8 MB, free: 12.21 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 0.0002398/0.006675, allocations: 102.9 kB / 277.9 MB, free: 12.1 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.688e-05/0.006762, allocations: 23.61 kB / 277.9 MB, free: 12.07 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.006764, allocations: 0 / 277.9 MB, free: 12.07 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.248e-05/0.006776, allocations: 15.75 kB / 277.9 MB, free: 12.05 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002484/0.007024, allocations: 17.72 kB / 277.9 MB, free: 12.04 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002719/0.007296, allocations: 164.8 kB / 278.1 MB, free: 11.84 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.715e-05/0.007334, allocations: 59.34 kB / 278.2 MB, free: 11.77 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.621e-05/0.00735, allocations: 3.938 kB / 278.2 MB, free: 11.76 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.098e-05/0.007381, allocations: 12.5 kB / 278.2 MB, free: 11.75 MB / 266.7 MB Notification: Performance of SimCode: time 8.42e-07/0.007382, allocations: 0 / 278.2 MB, free: 11.75 MB / 266.7 MB Notification: Performance of Templates: time 0.002312/0.009694, allocations: 0.5233 MB / 278.7 MB, free: 11.23 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.9424442588351667]