Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.001471/0.001471, allocations: 110.4 kB / 21.17 MB, free: 0.7852 MB / 14.72 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.001584/0.001584, allocations: 217.4 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.623/1.623, allocations: 230.4 MB / 258.1 MB, free: 8.152 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_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-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002107/0.002107, allocations: 75.81 kB / 378.7 MB, free: 2.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3888/0.3909, allocations: 53.31 MB / 432.1 MB, free: 7.383 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.003492/0.3944, allocations: 1.586 MB / 433.6 MB, free: 5.793 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001201/0.3956, allocations: 0.5376 MB / 434.2 MB, free: 5.25 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.876e-05/0.3957, allocations: 0 / 434.2 MB, free: 5.25 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.119e-05/0.3957, allocations: 3.938 kB / 434.2 MB, free: 5.246 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001455/0.3959, allocations: 11.92 kB / 434.2 MB, free: 5.234 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003507/0.3962, allocations: 47.83 kB / 434.2 MB, free: 5.188 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001289/0.3964, allocations: 51.78 kB / 434.3 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.3965, allocations: 7.984 kB / 434.3 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001328/0.3966, allocations: 27.92 kB / 434.3 MB, free: 5.102 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.14e-05/0.3966, allocations: 15.92 kB / 434.3 MB, free: 5.086 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.3967, allocations: 7.938 kB / 434.3 MB, free: 5.078 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.285e-05/0.3967, allocations: 11.94 kB / 434.4 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.421e-05/0.3968, allocations: 7.984 kB / 434.4 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.061e-05/0.3968, allocations: 27.8 kB / 434.4 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001564/0.3969, allocations: 53.3 kB / 434.4 MB, free: 4.98 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.397, allocations: 0 / 434.4 MB, free: 4.98 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.397, allocations: 7.938 kB / 434.5 MB, free: 4.973 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.397, allocations: 0 / 434.5 MB, free: 4.973 MB / 334.1 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.0005538/0.3975, allocations: 367.2 kB / 434.8 MB, free: 4.566 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.3976, allocations: 11.97 kB / 434.8 MB, free: 4.555 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001663/0.3977, allocations: 20.88 kB / 434.8 MB, free: 4.535 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003633/0.3981, allocations: 196.2 kB / 435 MB, free: 4.305 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.3981, allocations: 384 / 435 MB, free: 4.305 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.3981, allocations: 4.375 kB / 435 MB, free: 4.301 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003405/0.3984, allocations: 101.3 kB / 435.1 MB, free: 4.184 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.3985, allocations: 0 / 435.1 MB, free: 4.184 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.3985, allocations: 0 / 435.1 MB, free: 4.184 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-06/0.3985, allocations: 0 / 435.1 MB, free: 4.184 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.176e-05/0.3986, allocations: 27.92 kB / 435.2 MB, free: 4.156 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004087/0.399, allocations: 257.7 kB / 435.4 MB, free: 3.852 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001414/0.3991, allocations: 49.14 kB / 435.5 MB, free: 3.785 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.841e-05/0.3992, allocations: 21.78 kB / 435.5 MB, free: 3.758 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.3992, allocations: 4 kB / 435.5 MB, free: 3.754 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.3992, allocations: 30.56 kB / 435.5 MB, free: 3.715 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.3992, allocations: 0 / 435.5 MB, free: 3.715 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002848/0.3995, allocations: 69.56 kB / 435.6 MB, free: 3.641 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.925e-05/0.3996, allocations: 77.11 kB / 435.7 MB, free: 3.547 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001605/0.3997, allocations: 149.7 kB / 435.8 MB, free: 3.391 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.3998, allocations: 25.7 kB / 435.8 MB, free: 3.359 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001505/0.3999, allocations: 88.14 kB / 435.9 MB, free: 3.27 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.641e-05/0.3999, allocations: 0 / 435.9 MB, free: 3.27 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.605e-05/0.4, allocations: 25.59 kB / 435.9 MB, free: 3.238 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002042/0.4002, allocations: 314.8 kB / 436.3 MB, free: 2.922 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.351e-05/0.4002, allocations: 11.92 kB / 436.3 MB, free: 2.91 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.992e-05/0.4003, allocations: 25.72 kB / 436.3 MB, free: 2.879 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001001/0.4004, allocations: 33.64 kB / 436.3 MB, free: 2.84 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.4004, allocations: 0 / 436.3 MB, free: 2.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001293/0.4005, allocations: 53.62 kB / 436.4 MB, free: 2.781 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.4005, allocations: 4 kB / 436.4 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.4005, allocations: 12.11 kB / 436.4 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/0.4006, allocations: 4 kB / 436.4 MB, free: 2.762 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.79e-05/0.4006, allocations: 4 kB / 436.4 MB, free: 2.758 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.4006, allocations: 0 / 436.4 MB, free: 2.758 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.482e-05/0.4007, allocations: 0 / 436.4 MB, free: 2.758 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.4007, allocations: 4 kB / 436.4 MB, free: 2.754 MB / 334.1 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 0.0001084/0.4008, allocations: 121.8 kB / 436.5 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.767e-05/0.4009, allocations: 41.59 kB / 436.6 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.406e-05/0.4009, allocations: 19.84 kB / 436.6 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.4009, allocations: 4 kB / 436.6 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.4009, allocations: 0 / 436.6 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.4009, allocations: 0 / 436.6 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002241/0.4011, allocations: 173.5 kB / 436.8 MB, free: 2.336 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.4011, allocations: 4 kB / 436.8 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.511e-05/0.4012, allocations: 4 kB / 436.8 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.4012, allocations: 0 / 436.8 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.4012, allocations: 0 / 436.8 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.4012, allocations: 0 / 436.8 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.4012, allocations: 0 / 436.8 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002117/0.4014, allocations: 172.2 kB / 436.9 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.846e-05/0.4015, allocations: 93.05 kB / 437 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.4015, allocations: 0 / 437 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.513e-05/0.4016, allocations: 4 kB / 437 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.362e-05/0.4016, allocations: 3.984 kB / 437 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.4016, allocations: 8.031 kB / 437 MB, free: 2.016 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.179e-05/0.4017, allocations: 103.3 kB / 437.1 MB, free: 1.914 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4017, allocations: 0 / 437.1 MB, free: 1.914 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002323/0.402, allocations: 4 kB / 437.1 MB, free: 1.91 MB / 334.1 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 0.0001454/0.4021, allocations: 103.2 kB / 437.2 MB, free: 1.797 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001565/0.4023, allocations: 23.92 kB / 437.3 MB, free: 1.773 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4023, allocations: 4 kB / 437.3 MB, free: 1.77 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.835e-05/0.4023, allocations: 8.125 kB / 437.3 MB, free: 1.762 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003577/0.4027, allocations: 23.89 kB / 437.3 MB, free: 1.738 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004118/0.4031, allocations: 163.4 kB / 437.5 MB, free: 1.551 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004083/0.4035, allocations: 0.6885 MB / 438.2 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.379e-05/0.4035, allocations: 160 / 438.2 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.392e-05/0.4035, allocations: 15.44 kB / 438.2 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of SimCode: time 4.61e-07/0.4035, allocations: 0 / 438.2 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of Templates: time 0.003189/0.4067, allocations: 0.4908 MB / 438.7 MB, free: 344 kB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.986150270327926]