Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.00227/0.00227, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002075/0.002075, allocations: 169.3 kB / 24.27 MB, free: 156 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.588/1.588, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.405e-06/2.405e-06, allocations: 0 / 272.3 MB, free: 1.824 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.817e-05/4.058e-05, allocations: 2.312 kB / 272.3 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.005127/0.005168, allocations: 1.603 MB / 273.9 MB, free: 212 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001735/0.006903, allocations: 0.5181 MB / 274.4 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001209/0.007024, allocations: 3.938 kB / 274.5 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 7.336e-05/0.007097, allocations: 7.922 kB / 274.5 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001696/0.007267, allocations: 11.94 kB / 274.5 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000435/0.007702, allocations: 59.69 kB / 274.5 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001619/0.007864, allocations: 43.84 kB / 274.6 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.00799, allocations: 8 kB / 274.6 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002016/0.008192, allocations: 35.83 kB / 274.6 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.62e-05/0.008268, allocations: 19.92 kB / 274.6 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.791e-05/0.008296, allocations: 4 kB / 274.6 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.32e-05/0.008349, allocations: 8 kB / 274.6 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.046e-05/0.00842, allocations: 11.98 kB / 274.7 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.373e-05/0.008473, allocations: 11.94 kB / 274.7 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002443/0.008718, allocations: 67.72 kB / 274.7 MB, free: 15.39 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.008722, allocations: 0 / 274.7 MB, free: 15.39 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.008724, allocations: 0 / 274.7 MB, free: 15.39 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.583e-06/0.00873, allocations: 0 / 274.7 MB, free: 15.39 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.0008526/0.009583, allocations: 407.9 kB / 275.1 MB, free: 14.96 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.448e-05/0.009637, allocations: 8.031 kB / 275.1 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002502/0.009888, allocations: 20.84 kB / 275.2 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003263/0.01021, allocations: 152.4 kB / 275.3 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.01023, allocations: 384 / 275.3 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.559e-05/0.01024, allocations: 4.375 kB / 275.3 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004323/0.01067, allocations: 124.8 kB / 275.4 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.01069, allocations: 192 / 275.4 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.0107, allocations: 4.375 kB / 275.4 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.248e-06/0.01071, allocations: 11.94 kB / 275.5 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.01081, allocations: 11.98 kB / 275.5 MB, free: 14.58 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005035/0.01132, allocations: 275.5 kB / 275.7 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002972/0.01162, allocations: 74.17 kB / 275.8 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001214/0.01174, allocations: 35.42 kB / 275.8 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.624e-05/0.01176, allocations: 7.922 kB / 275.8 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.99e-05/0.01181, allocations: 41.33 kB / 275.9 MB, free: 14.07 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.363e-06/0.01181, allocations: 0 / 275.9 MB, free: 14.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003992/0.01221, allocations: 81.56 kB / 276 MB, free: 13.99 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/0.01232, allocations: 81.11 kB / 276 MB, free: 13.89 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002734/0.01259, allocations: 205.2 kB / 276.2 MB, free: 13.68 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.782e-05/0.01262, allocations: 25.7 kB / 276.3 MB, free: 13.64 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/0.01276, allocations: 134.9 kB / 276.4 MB, free: 13.51 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.675e-05/0.01278, allocations: 7.891 kB / 276.4 MB, free: 13.5 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.533e-05/0.01286, allocations: 27.36 kB / 276.4 MB, free: 13.46 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003835/0.01324, allocations: 492.1 kB / 276.9 MB, free: 12.97 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.221e-05/0.0133, allocations: 8 kB / 276.9 MB, free: 12.96 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.622e-05/0.01335, allocations: 12.11 kB / 276.9 MB, free: 12.95 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.839e-05/0.01345, allocations: 19.69 kB / 277 MB, free: 12.93 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.01345, allocations: 3.938 kB / 277 MB, free: 12.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001832/0.01363, allocations: 49.58 kB / 277 MB, free: 12.87 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/0.01366, allocations: 7.938 kB / 277 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.01366, allocations: 0 / 277 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.01368, allocations: 0 / 277 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.629e-05/0.01376, allocations: 8 kB / 277 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.792e-06/0.01377, allocations: 0 / 277 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.916e-05/0.01382, allocations: 8.078 kB / 277 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.473e-05/0.01383, allocations: 4 kB / 277 MB, free: 12.84 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 0.0001711/0.014, allocations: 156.6 kB / 277.2 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001519/0.01415, allocations: 57.52 kB / 277.2 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.105e-05/0.01421, allocations: 12.34 kB / 277.3 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.01421, allocations: 0 / 277.3 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.01422, allocations: 4 kB / 277.3 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.01422, allocations: 0 / 277.3 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003034/0.01452, allocations: 132.6 kB / 277.4 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.563e-06/0.01453, allocations: 3.984 kB / 277.4 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.279e-05/0.01461, allocations: 12 kB / 277.4 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.01462, allocations: 0 / 277.4 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.01463, allocations: 7.938 kB / 277.4 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.01464, allocations: 0 / 277.4 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.01464, allocations: 4 kB / 277.4 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003667/0.01501, allocations: 223.5 kB / 277.6 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.496e-05/0.01507, allocations: 11.94 kB / 277.6 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.544e-05/0.0151, allocations: 3.938 kB / 277.7 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.01521, allocations: 8 kB / 277.7 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.186e-05/0.01525, allocations: 0 / 277.7 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.01526, allocations: 8 kB / 277.7 MB, free: 12.14 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001733/0.01544, allocations: 151.2 kB / 277.8 MB, free: 11.99 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.01544, allocations: 0 / 277.8 MB, free: 11.99 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004115/0.01585, allocations: 4 kB / 277.8 MB, free: 11.98 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.0001647/0.01601, allocations: 91.25 kB / 277.9 MB, free: 11.88 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001983/0.01621, allocations: 27.67 kB / 277.9 MB, free: 11.85 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.01621, allocations: 0 / 277.9 MB, free: 11.85 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.793e-05/0.01628, allocations: 19.62 kB / 278 MB, free: 11.83 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000548/0.01683, allocations: 28.98 kB / 278 MB, free: 11.8 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005321/0.01736, allocations: 179.5 kB / 278.2 MB, free: 11.59 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001202/0.01748, allocations: 71.75 kB / 278.2 MB, free: 11.5 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.243e-05/0.01752, allocations: 7.984 kB / 278.2 MB, free: 11.5 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.241e-05/0.01757, allocations: 8.5 kB / 278.2 MB, free: 11.49 MB / 266.7 MB Notification: Performance of SimCode: time 8.92e-07/0.01757, allocations: 0 / 278.2 MB, free: 11.49 MB / 266.7 MB Notification: Performance of Templates: time 0.004837/0.02241, allocations: 0.5647 MB / 278.8 MB, free: 10.94 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.67112766194623]