Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.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.001776/0.001776, allocations: 85.72 kB / 20.68 MB, free: 1.023 MB / 14.72 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.00219/0.00219, allocations: 166.3 kB / 23.96 MB, free: 4.141 MB / 14.72 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.525/1.525, allocations: 177.1 MB / 204.3 MB, free: 9.188 MB / 190.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+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.SampleWithADeffects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.274e-06/2.274e-06, allocations: 0 / 325.1 MB, free: 0.543 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.5e-05/3.727e-05, allocations: 5.516 kB / 325.1 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.0036/0.003638, allocations: 1.844 MB / 326.9 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001514/0.005152, allocations: 0.7094 MB / 327.6 MB, free: 14.83 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001365/0.005288, allocations: 6.531 kB / 327.6 MB, free: 14.82 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001716/0.00546, allocations: 25.84 kB / 327.7 MB, free: 14.8 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001991/0.005659, allocations: 23.97 kB / 327.7 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007688/0.006428, allocations: 182.9 kB / 327.9 MB, free: 14.7 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003167/0.006745, allocations: 157.4 kB / 328 MB, free: 14.61 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001797/0.006925, allocations: 37.7 kB / 328.1 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000264/0.007188, allocations: 83.8 kB / 328.1 MB, free: 14.55 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001465/0.007335, allocations: 49.98 kB / 328.2 MB, free: 14.53 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.413e-05/0.007379, allocations: 12.72 kB / 328.2 MB, free: 14.53 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001468/0.007526, allocations: 53.91 kB / 328.2 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001139/0.00764, allocations: 46.44 kB / 328.3 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.364e-05/0.007713, allocations: 38.84 kB / 328.3 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004096/0.008123, allocations: 216 kB / 328.5 MB, free: 14.39 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.008126, allocations: 1.094 kB / 328.5 MB, free: 14.39 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.71e-07/0.008127, allocations: 0 / 328.5 MB, free: 14.39 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.008133, allocations: 4 kB / 328.5 MB, free: 14.39 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008615/0.008994, allocations: 407.4 kB / 328.9 MB, free: 14.04 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.009034, allocations: 10.08 kB / 329 MB, free: 14.04 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001777/0.009212, allocations: 30.98 kB / 329 MB, free: 14.03 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003277/0.00954, allocations: 193.3 kB / 329.2 MB, free: 13.85 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.00956, allocations: 5.469 kB / 329.2 MB, free: 13.85 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.806e-05/0.009588, allocations: 14.72 kB / 329.2 MB, free: 13.84 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008453/0.01043, allocations: 359.8 kB / 329.5 MB, free: 13.65 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.01044, allocations: 4 kB / 329.6 MB, free: 13.65 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.669e-05/0.01046, allocations: 1.156 kB / 329.6 MB, free: 13.65 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.01047, allocations: 2.219 kB / 329.6 MB, free: 13.65 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002749/0.01074, allocations: 84.3 kB / 329.6 MB, free: 13.62 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004356/0.01118, allocations: 267.6 kB / 329.9 MB, free: 13.38 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005213/0.0117, allocations: 183.2 kB / 330.1 MB, free: 13.29 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002274/0.01193, allocations: 94.95 kB / 330.2 MB, free: 13.24 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004153/0.01234, allocations: 62.92 kB / 330.2 MB, free: 13.23 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.01238, allocations: 37.47 kB / 330.3 MB, free: 13.19 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 2.084e-06/0.01238, allocations: 0 / 330.3 MB, free: 13.19 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.000702/0.01308, allocations: 246 kB / 330.5 MB, free: 13.09 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/0.01319, allocations: 117.9 kB / 330.6 MB, free: 12.95 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002444/0.01344, allocations: 191.4 kB / 330.8 MB, free: 12.82 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.216e-05/0.01347, allocations: 30.8 kB / 330.8 MB, free: 12.79 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.868e-05/0.01356, allocations: 104.6 kB / 330.9 MB, free: 12.69 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.176e-05/0.01359, allocations: 8.906 kB / 331 MB, free: 12.69 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.556e-05/0.01365, allocations: 26.22 kB / 331 MB, free: 12.66 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001735/0.01382, allocations: 326.1 kB / 331.3 MB, free: 12.34 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.713e-05/0.01391, allocations: 29.73 kB / 331.3 MB, free: 12.33 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001507/0.01406, allocations: 87.59 kB / 331.4 MB, free: 12.25 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001606/0.01422, allocations: 70.7 kB / 331.5 MB, free: 12.2 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.01422, allocations: 0 / 331.5 MB, free: 12.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002335/0.01445, allocations: 109.8 kB / 331.6 MB, free: 12.12 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/0.01448, allocations: 10.33 kB / 331.6 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.01448, allocations: 5.188 kB / 331.6 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.0145, allocations: 1.25 kB / 331.6 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.437e-05/0.0146, allocations: 14.41 kB / 331.6 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.0146, allocations: 1.312 kB / 331.6 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.459e-05/0.01468, allocations: 12.56 kB / 331.6 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.01469, allocations: 6.281 kB / 331.6 MB, free: 12.1 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($CLKPRE.sample1.noise.seedState[3],sample1.noise.seedState[3],$CLKPRE.sample1.noise.seedState[2],sample1.noise.seedState[2],$CLKPRE.sample1.noise.seedState[1],sample1.noise.seedState[1]) * Number of discrete states: 0 () * Number of clocked states: 3 (sample1.noise.seedState[3],sample1.noise.seedState[2],sample1.noise.seedState[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001616/0.01485, allocations: 149.1 kB / 331.8 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000353/0.0152, allocations: 157.9 kB / 331.9 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004272/0.01563, allocations: 183.4 kB / 332.1 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.01563, allocations: 1.281 kB / 332.1 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.01564, allocations: 1.094 kB / 332.1 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.78e-06/0.01565, allocations: 0.9688 kB / 332.1 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002353/0.01588, allocations: 153.5 kB / 332.3 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.01589, allocations: 2.094 kB / 332.3 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001484/0.01604, allocations: 31.14 kB / 332.3 MB, free: 11.6 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.01604, allocations: 2.188 kB / 332.3 MB, free: 11.6 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.901e-05/0.01606, allocations: 4.766 kB / 332.3 MB, free: 11.6 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.01606, allocations: 2.219 kB / 332.3 MB, free: 11.6 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.01606, allocations: 7.875 kB / 332.3 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004897/0.01655, allocations: 284.5 kB / 332.6 MB, free: 11.38 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.82e-05/0.01664, allocations: 39.69 kB / 332.6 MB, free: 11.35 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.162e-05/0.01668, allocations: 7.469 kB / 332.6 MB, free: 11.35 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/0.01681, allocations: 13.95 kB / 332.7 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.287e-05/0.01686, allocations: 5.125 kB / 332.7 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-05/0.01688, allocations: 3.469 kB / 332.7 MB, free: 11.34 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001548/0.01703, allocations: 147.5 kB / 332.8 MB, free: 11.23 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01703, allocations: 0 / 332.8 MB, free: 11.23 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000306/0.01734, allocations: 27.08 kB / 332.8 MB, free: 11.22 MB / 302.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: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Number of discrete states: 0 () * Number of clocked states: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0002081/0.01755, allocations: 117.1 kB / 332.9 MB, free: 11.12 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003233/0.01787, allocations: 109.7 kB / 333.1 MB, free: 11.07 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.01787, allocations: 5.031 kB / 333.1 MB, free: 11.07 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.832e-05/0.01791, allocations: 5.594 kB / 333.1 MB, free: 11.07 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000664/0.01857, allocations: 151 kB / 333.2 MB, free: 10.98 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000725/0.0193, allocations: 325.9 kB / 333.5 MB, free: 10.73 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001511/0.01945, allocations: 129.1 kB / 333.7 MB, free: 10.62 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.831e-05/0.0195, allocations: 11.89 kB / 333.7 MB, free: 10.62 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.882e-05/0.01955, allocations: 14.97 kB / 333.7 MB, free: 10.61 MB / 302.1 MB Notification: Performance of SimCode: time 5.51e-07/0.01955, allocations: 1.062 kB / 333.7 MB, free: 10.61 MB / 302.1 MB Notification: Performance of Templates: time 0.007039/0.02659, allocations: 2.431 MB / 336.1 MB, free: 9.379 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleWithADeffects/SampleWithADeffects.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.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.545057866722345]