Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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.001946/0.001946, allocations: 95.86 kB / 20.96 MB, free: 3.461 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.002081/0.002081, allocations: 149.1 kB / 24.26 MB, free: 168 kB / 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 1.518/1.518, allocations: 173.3 MB / 200.8 MB, free: 9.293 MB / 186.7 MB " [Timeout remaining time 178] 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.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 267.3 MB, free: 6.707 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.984e-05/3.163e-05, allocations: 6.312 kB / 267.3 MB, free: 6.699 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.003081/0.003113, allocations: 1.553 MB / 268.9 MB, free: 5.133 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000466/0.003579, allocations: 147.4 kB / 269 MB, free: 4.988 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.93e-05/0.003658, allocations: 3.938 kB / 269 MB, free: 4.984 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.251e-05/0.003721, allocations: 11.92 kB / 269 MB, free: 4.973 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001324/0.003853, allocations: 7.938 kB / 269.1 MB, free: 4.965 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002589/0.004112, allocations: 35.84 kB / 269.1 MB, free: 4.93 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001176/0.00423, allocations: 39.84 kB / 269.1 MB, free: 4.891 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.004331, allocations: 7.984 kB / 269.1 MB, free: 4.883 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.166e-05/0.004392, allocations: 19.98 kB / 269.2 MB, free: 4.863 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.731e-05/0.00444, allocations: 11.92 kB / 269.2 MB, free: 4.852 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.141e-05/0.004461, allocations: 0 / 269.2 MB, free: 4.852 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.406e-05/0.004475, allocations: 4 kB / 269.2 MB, free: 4.848 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.299e-05/0.004528, allocations: 11.94 kB / 269.2 MB, free: 4.836 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.155e-05/0.00457, allocations: 15.97 kB / 269.2 MB, free: 4.82 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001302/0.0047, allocations: 43.83 kB / 269.2 MB, free: 4.777 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.004704, allocations: 0 / 269.2 MB, free: 4.777 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.004705, allocations: 0 / 269.2 MB, free: 4.777 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.004711, allocations: 0 / 269.2 MB, free: 4.777 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006056/0.005316, allocations: 407.9 kB / 269.6 MB, free: 4.34 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.00536, allocations: 8.922 kB / 269.6 MB, free: 4.332 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.925e-05/0.00541, allocations: 8.891 kB / 269.7 MB, free: 4.324 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002329/0.005643, allocations: 140.5 kB / 269.8 MB, free: 4.16 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.868e-06/0.005653, allocations: 384 / 269.8 MB, free: 4.16 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.005664, allocations: 8.375 kB / 269.8 MB, free: 4.152 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003249/0.005989, allocations: 124.9 kB / 269.9 MB, free: 4.008 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.005999, allocations: 4.125 kB / 269.9 MB, free: 4.004 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-06/0.006007, allocations: 384 / 269.9 MB, free: 4.004 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.006014, allocations: 4.375 kB / 269.9 MB, free: 4 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.402e-05/0.006088, allocations: 19.92 kB / 270 MB, free: 3.98 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000359/0.006447, allocations: 271.5 kB / 270.2 MB, free: 3.676 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000223/0.00667, allocations: 82.11 kB / 270.3 MB, free: 3.57 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.043e-05/0.00674, allocations: 27.44 kB / 270.3 MB, free: 3.535 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.006759, allocations: 3.984 kB / 270.3 MB, free: 3.531 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.572e-05/0.006795, allocations: 37.39 kB / 270.4 MB, free: 3.484 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.006796, allocations: 3.938 kB / 270.4 MB, free: 3.48 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002752/0.007071, allocations: 69.58 kB / 270.4 MB, free: 3.406 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.317e-05/0.007155, allocations: 85.05 kB / 270.5 MB, free: 3.305 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001816/0.007336, allocations: 201.4 kB / 270.7 MB, free: 3.094 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.007356, allocations: 29.83 kB / 270.7 MB, free: 3.059 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.385e-05/0.00745, allocations: 138.9 kB / 270.9 MB, free: 2.918 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.311e-05/0.007463, allocations: 0 / 270.9 MB, free: 2.918 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.806e-05/0.007511, allocations: 23.33 kB / 270.9 MB, free: 2.887 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000272/0.007783, allocations: 0.4884 MB / 271.4 MB, free: 2.387 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.201e-05/0.007815, allocations: 3.984 kB / 271.4 MB, free: 2.383 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.976e-05/0.007845, allocations: 4 kB / 271.4 MB, free: 2.379 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.571e-05/0.007901, allocations: 19.69 kB / 271.4 MB, free: 2.355 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.007903, allocations: 0 / 271.4 MB, free: 2.355 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.517e-05/0.007998, allocations: 49.62 kB / 271.5 MB, free: 2.301 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.008017, allocations: 8 kB / 271.5 MB, free: 2.293 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.008024, allocations: 3.938 kB / 271.5 MB, free: 2.289 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.008036, allocations: 0 / 271.5 MB, free: 2.289 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.787e-05/0.008074, allocations: 0 / 271.5 MB, free: 2.289 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.008083, allocations: 4 kB / 271.5 MB, free: 2.285 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.845e-05/0.008101, allocations: 0 / 271.5 MB, free: 2.285 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.008109, allocations: 3.984 kB / 271.5 MB, free: 2.281 MB / 250.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.0001199/0.008229, allocations: 160.6 kB / 271.6 MB, free: 2.113 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.083e-05/0.00831, allocations: 45.66 kB / 271.7 MB, free: 2.062 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.811e-05/0.008358, allocations: 20.3 kB / 271.7 MB, free: 2.035 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.008362, allocations: 4 kB / 271.7 MB, free: 2.031 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.008366, allocations: 0 / 271.7 MB, free: 2.031 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.00837, allocations: 0 / 271.7 MB, free: 2.031 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001777/0.008547, allocations: 128.6 kB / 271.8 MB, free: 1.871 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.008548, allocations: 0 / 271.8 MB, free: 1.871 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.605e-05/0.008594, allocations: 15.92 kB / 271.9 MB, free: 1.855 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.008597, allocations: 0 / 271.9 MB, free: 1.855 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.984e-06/0.008604, allocations: 0 / 271.9 MB, free: 1.855 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.522e-06/0.00861, allocations: 7.938 kB / 271.9 MB, free: 1.848 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.008614, allocations: 4 kB / 271.9 MB, free: 1.844 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002446/0.008859, allocations: 219.8 kB / 272.1 MB, free: 1.605 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.289e-05/0.008902, allocations: 19.94 kB / 272.1 MB, free: 1.586 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.275e-05/0.008915, allocations: 0 / 272.1 MB, free: 1.586 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.494e-05/0.00897, allocations: 3.938 kB / 272.1 MB, free: 1.582 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.581e-05/0.009006, allocations: 4 kB / 272.1 MB, free: 1.578 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.009009, allocations: 3.938 kB / 272.1 MB, free: 1.574 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001412/0.00915, allocations: 143.2 kB / 272.3 MB, free: 1.434 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00915, allocations: 0 / 272.3 MB, free: 1.434 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002154/0.009366, allocations: 7.984 kB / 272.3 MB, free: 1.426 MB / 250.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.0001292/0.009495, allocations: 99.25 kB / 272.4 MB, free: 1.32 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001413/0.009636, allocations: 27.67 kB / 272.4 MB, free: 1.289 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.009638, allocations: 0 / 272.4 MB, free: 1.289 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.635e-05/0.009684, allocations: 11.69 kB / 272.4 MB, free: 1.273 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/0.01004, allocations: 28.7 kB / 272.4 MB, free: 1.242 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003963/0.01043, allocations: 160.8 kB / 272.6 MB, free: 1.055 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001026/0.01054, allocations: 79.12 kB / 272.7 MB, free: 0.957 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.733e-05/0.01056, allocations: 4.125 kB / 272.7 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.661e-05/0.0106, allocations: 16.5 kB / 272.7 MB, free: 0.9375 MB / 250.7 MB Notification: Performance of SimCode: time 8.42e-07/0.0106, allocations: 0 / 272.7 MB, free: 0.9375 MB / 250.7 MB Notification: Performance of Templates: time 0.003609/0.01421, allocations: 0.516 MB / 273.2 MB, free: 440 kB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample2/Sample2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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.323927577002905]