Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 72.08 kB / 21.69 MB, free: 2.859 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009751/0.0009751, allocations: 142.1 kB / 24.97 MB, free: 8.316 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9797/0.9797, allocations: 173.3 MB / 201.5 MB, free: 9.32 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 268.1 MB, free: 6.707 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.619e-05/3.81e-05, allocations: 6.25 kB / 268.1 MB, free: 6.699 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.003471/0.003509, allocations: 1.714 MB / 269.8 MB, free: 4.969 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005366/0.004046, allocations: 171.3 kB / 270 MB, free: 4.801 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001146/0.00416, allocations: 3.938 kB / 270 MB, free: 4.797 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.29e-05/0.004223, allocations: 7.875 kB / 270 MB, free: 4.789 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001632/0.004386, allocations: 15.91 kB / 270 MB, free: 4.773 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003023/0.004689, allocations: 47.77 kB / 270 MB, free: 4.727 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001334/0.004822, allocations: 55.78 kB / 270.1 MB, free: 4.672 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.004955, allocations: 19.98 kB / 270.1 MB, free: 4.652 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.164e-05/0.005027, allocations: 31.97 kB / 270.2 MB, free: 4.621 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.923e-05/0.005086, allocations: 15.91 kB / 270.2 MB, free: 4.605 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.732e-05/0.005113, allocations: 12 kB / 270.2 MB, free: 4.594 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.294e-05/0.005126, allocations: 4 kB / 270.2 MB, free: 4.59 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.66e-05/0.005183, allocations: 19.92 kB / 270.2 MB, free: 4.57 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.713e-05/0.00522, allocations: 19.92 kB / 270.2 MB, free: 4.551 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001552/0.005375, allocations: 47.7 kB / 270.3 MB, free: 4.504 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.00538, allocations: 4 kB / 270.3 MB, free: 4.5 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.005382, allocations: 0 / 270.3 MB, free: 4.5 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.005388, allocations: 0 / 270.3 MB, free: 4.5 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.0005553/0.005943, allocations: 416.2 kB / 270.7 MB, free: 4.055 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.005989, allocations: 8.922 kB / 270.7 MB, free: 4.047 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.82e-05/0.006047, allocations: 16.84 kB / 270.7 MB, free: 4.031 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002316/0.006279, allocations: 159.3 kB / 270.9 MB, free: 3.852 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.006294, allocations: 8.375 kB / 270.9 MB, free: 3.844 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.466e-05/0.006308, allocations: 4.375 kB / 270.9 MB, free: 3.84 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003764/0.006685, allocations: 168.7 kB / 271 MB, free: 3.648 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.006694, allocations: 4.125 kB / 271 MB, free: 3.645 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.00671, allocations: 8.375 kB / 271 MB, free: 3.637 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.006721, allocations: 4.375 kB / 271.1 MB, free: 3.633 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.917e-05/0.00678, allocations: 23.86 kB / 271.1 MB, free: 3.609 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004343/0.007214, allocations: 414.3 kB / 271.5 MB, free: 3.16 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000278/0.007492, allocations: 113.3 kB / 271.6 MB, free: 3.012 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.651e-05/0.007579, allocations: 51.16 kB / 271.6 MB, free: 2.949 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.985e-05/0.007608, allocations: 7.984 kB / 271.6 MB, free: 2.941 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.007643, allocations: 37.39 kB / 271.7 MB, free: 2.895 MB / 250.7 MB Notification: Performance of pre-optimization done (n=10): time 3.136e-06/0.007646, allocations: 0 / 271.7 MB, free: 2.895 MB / 250.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003064/0.007953, allocations: 101.7 kB / 271.8 MB, free: 2.789 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.903e-05/0.008022, allocations: 114.7 kB / 271.9 MB, free: 2.652 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.008158, allocations: 193.9 kB / 272.1 MB, free: 2.445 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.00817, allocations: 25.7 kB / 272.1 MB, free: 2.414 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.823e-05/0.008228, allocations: 130.9 kB / 272.2 MB, free: 2.281 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.946e-05/0.008247, allocations: 7.953 kB / 272.2 MB, free: 2.273 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.863e-05/0.008286, allocations: 27.36 kB / 272.3 MB, free: 2.238 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.008427, allocations: 492.1 kB / 272.8 MB, free: 1.746 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.627e-05/0.008443, allocations: 0 / 272.8 MB, free: 1.746 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.528e-05/0.008468, allocations: 27.62 kB / 272.8 MB, free: 1.711 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.854e-05/0.008507, allocations: 23.31 kB / 272.8 MB, free: 1.68 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.008509, allocations: 0 / 272.8 MB, free: 1.68 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.292e-05/0.008592, allocations: 49.64 kB / 272.9 MB, free: 1.625 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.00861, allocations: 7.938 kB / 272.9 MB, free: 1.617 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.008615, allocations: 0 / 272.9 MB, free: 1.617 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.008631, allocations: 0 / 272.9 MB, free: 1.617 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.061e-05/0.008682, allocations: 7.938 kB / 272.9 MB, free: 1.609 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.00869, allocations: 4.125 kB / 272.9 MB, free: 1.605 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.373e-05/0.008714, allocations: 7.984 kB / 272.9 MB, free: 1.598 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.008719, allocations: 0 / 272.9 MB, free: 1.598 MB / 250.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 8.236e-05/0.008801, allocations: 156.6 kB / 273 MB, free: 1.434 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/0.008926, allocations: 65.64 kB / 273.1 MB, free: 1.363 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.094e-05/0.008977, allocations: 24.72 kB / 273.1 MB, free: 1.336 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.008982, allocations: 4 kB / 273.1 MB, free: 1.332 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.008986, allocations: 0 / 273.1 MB, free: 1.332 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.00899, allocations: 3.938 kB / 273.1 MB, free: 1.328 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002232/0.009214, allocations: 136.6 kB / 273.3 MB, free: 1.16 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.009216, allocations: 0 / 273.3 MB, free: 1.16 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.02e-05/0.009296, allocations: 27.92 kB / 273.3 MB, free: 1.133 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.009299, allocations: 0 / 273.3 MB, free: 1.133 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.009309, allocations: 4 kB / 273.3 MB, free: 1.129 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.009312, allocations: 3.938 kB / 273.3 MB, free: 1.125 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.009314, allocations: 0 / 273.3 MB, free: 1.125 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003474/0.009662, allocations: 398.2 kB / 273.7 MB, free: 0.707 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.95e-05/0.009711, allocations: 19.89 kB / 273.7 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.00973, allocations: 7.969 kB / 273.7 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.816e-05/0.009828, allocations: 8 kB / 273.7 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.397e-05/0.009862, allocations: 4 kB / 273.7 MB, free: 0.668 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.009869, allocations: 4 kB / 273.7 MB, free: 0.6641 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.84e-05/0.009947, allocations: 145.6 kB / 273.9 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.009948, allocations: 0 / 273.9 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003304/0.01028, allocations: 12 kB / 273.9 MB, free: 0.5117 MB / 250.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 0.0001095/0.01039, allocations: 99.23 kB / 274 MB, free: 416 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001195/0.01051, allocations: 31.61 kB / 274 MB, free: 380 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.01051, allocations: 0 / 274 MB, free: 380 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.903e-05/0.01053, allocations: 19.8 kB / 274 MB, free: 356 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005334/0.01106, allocations: 38.83 kB / 274.1 MB, free: 316 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004865/0.01155, allocations: 199.9 kB / 274.3 MB, free: 72 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.567e-05/0.01162, allocations: 63.34 kB / 274.3 MB, free: 15.99 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.112e-05/0.01165, allocations: 11.92 kB / 274.3 MB, free: 15.98 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.524e-05/0.01169, allocations: 16.44 kB / 274.4 MB, free: 15.96 MB / 266.7 MB Notification: Performance of SimCode: time 1.172e-06/0.01169, allocations: 0 / 274.4 MB, free: 15.96 MB / 266.7 MB Notification: Performance of Templates: time 0.00342/0.01511, allocations: 0.6951 MB / 275 MB, free: 15.28 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.8172285889741033]