Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.001074/0.001074, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001073/0.001073, allocations: 161 kB / 24.56 MB, free: 16 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 0.989/0.989, allocations: 177.1 MB / 205 MB, free: 5.254 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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 273 MB, free: 1.395 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.201e-05/2.397e-05, allocations: 5.406 kB / 273 MB, free: 1.391 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.002115/0.002139, allocations: 1.611 MB / 274.6 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008682/0.003007, allocations: 0.5181 MB / 275.1 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.324e-05/0.00309, allocations: 7.938 kB / 275.1 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.144e-05/0.003141, allocations: 11.88 kB / 275.1 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001572/0.003299, allocations: 3.984 kB / 275.1 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002845/0.003583, allocations: 63.69 kB / 275.2 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.867e-05/0.003682, allocations: 35.86 kB / 275.2 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.003789, allocations: 11.98 kB / 275.3 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/0.003912, allocations: 35.78 kB / 275.3 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.687e-05/0.003969, allocations: 11.98 kB / 275.3 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.003985, allocations: 0 / 275.3 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.564e-05/0.004031, allocations: 8 kB / 275.3 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.284e-05/0.004084, allocations: 19.92 kB / 275.3 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.489e-05/0.004109, allocations: 11.94 kB / 275.3 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001392/0.004248, allocations: 35.83 kB / 275.4 MB, free: 14.99 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.00425, allocations: 0 / 275.4 MB, free: 14.99 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.004251, allocations: 0 / 275.4 MB, free: 14.99 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.004257, allocations: 0 / 275.4 MB, free: 14.99 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004876/0.004745, allocations: 396.4 kB / 275.8 MB, free: 14.57 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.004792, allocations: 12.03 kB / 275.8 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000141/0.004933, allocations: 16.88 kB / 275.8 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001845/0.005117, allocations: 148.4 kB / 275.9 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.005127, allocations: 4.312 kB / 275.9 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.179e-05/0.005139, allocations: 4.375 kB / 275.9 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002242/0.005363, allocations: 109.6 kB / 276.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.005375, allocations: 8.109 kB / 276.1 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.005385, allocations: 4.375 kB / 276.1 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.005393, allocations: 3.938 kB / 276.1 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.345e-05/0.005417, allocations: 8 kB / 276.1 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002797/0.005696, allocations: 267.5 kB / 276.3 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.918e-05/0.005755, allocations: 62.06 kB / 276.4 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.472e-05/0.00578, allocations: 15.38 kB / 276.4 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.005801, allocations: 0 / 276.4 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/0.005825, allocations: 41.39 kB / 276.5 MB, free: 13.75 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 5.71e-07/0.005826, allocations: 0 / 276.5 MB, free: 13.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001684/0.005994, allocations: 53.58 kB / 276.5 MB, free: 13.69 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/0.006044, allocations: 81.05 kB / 276.6 MB, free: 13.59 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.006166, allocations: 198.1 kB / 276.8 MB, free: 13.38 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.758e-06/0.006175, allocations: 29.7 kB / 276.8 MB, free: 13.34 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.208e-05/0.006227, allocations: 130.9 kB / 276.9 MB, free: 13.21 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.775e-05/0.006245, allocations: 4 kB / 276.9 MB, free: 13.21 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.887e-05/0.006274, allocations: 23.33 kB / 277 MB, free: 13.18 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.006422, allocations: 0.4884 MB / 277.4 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.377e-05/0.006435, allocations: 0 / 277.4 MB, free: 12.68 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.113e-06/0.006442, allocations: 0 / 277.4 MB, free: 12.68 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.941e-05/0.006472, allocations: 11.69 kB / 277.5 MB, free: 12.66 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.006474, allocations: 0 / 277.5 MB, free: 12.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.792e-05/0.006532, allocations: 45.7 kB / 277.5 MB, free: 12.61 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.006546, allocations: 7.938 kB / 277.5 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.006551, allocations: 0 / 277.5 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.006569, allocations: 3.984 kB / 277.5 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.546e-05/0.006635, allocations: 4 kB / 277.5 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.006642, allocations: 0 / 277.5 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.518e-05/0.006657, allocations: 0 / 277.5 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/0.006664, allocations: 0 / 277.5 MB, free: 12.59 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 7.429e-05/0.006739, allocations: 156.6 kB / 277.7 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.806e-05/0.006777, allocations: 41.58 kB / 277.7 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.786e-05/0.006815, allocations: 15.88 kB / 277.7 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.006817, allocations: 0 / 277.7 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.006823, allocations: 4 kB / 277.7 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.006826, allocations: 0 / 277.7 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000112/0.006938, allocations: 124.6 kB / 277.9 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-07/0.006939, allocations: 0 / 277.9 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.106e-05/0.00696, allocations: 11.92 kB / 277.9 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.006961, allocations: 0 / 277.9 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.006972, allocations: 7.938 kB / 277.9 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.006973, allocations: 3.938 kB / 277.9 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.006974, allocations: 0 / 277.9 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001171/0.007091, allocations: 203.6 kB / 278.1 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.575e-05/0.007117, allocations: 15.94 kB / 278.1 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.007131, allocations: 3.938 kB / 278.1 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.919e-05/0.00716, allocations: 0 / 278.1 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.729e-05/0.007198, allocations: 8 kB / 278.1 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.007202, allocations: 4 kB / 278.1 MB, free: 11.93 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.85e-05/0.007261, allocations: 145.9 kB / 278.3 MB, free: 11.79 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007261, allocations: 0 / 278.3 MB, free: 11.79 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001372/0.007398, allocations: 4 kB / 278.3 MB, free: 11.79 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 (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 Backend phase and start with SimCode phase: time 6.724e-05/0.007465, allocations: 107.2 kB / 278.4 MB, free: 11.67 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.037e-05/0.007536, allocations: 11.69 kB / 278.4 MB, free: 11.65 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.007537, allocations: 0 / 278.4 MB, free: 11.65 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.428e-05/0.007551, allocations: 15.69 kB / 278.4 MB, free: 11.63 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002349/0.007786, allocations: 12.3 kB / 278.4 MB, free: 11.62 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004579/0.008244, allocations: 173.5 kB / 278.6 MB, free: 11.42 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.273e-05/0.008287, allocations: 63.34 kB / 278.6 MB, free: 11.34 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.044e-05/0.008307, allocations: 3.984 kB / 278.6 MB, free: 11.33 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.767e-05/0.008335, allocations: 8.5 kB / 278.6 MB, free: 11.32 MB / 266.7 MB Notification: Performance of SimCode: time 4.71e-07/0.008335, allocations: 4 kB / 278.6 MB, free: 11.32 MB / 266.7 MB Notification: Performance of Templates: time 0.002204/0.01054, allocations: 0.5126 MB / 279.2 MB, free: 10.82 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.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.994741950184107]