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.SampleWithADeffects.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.002061/0.002061, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002484/0.002484, allocations: 212.6 kB / 24.54 MB, free: 4.016 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.622/1.622, allocations: 230.6 MB / 258.3 MB, free: 8.07 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.SampleWithADeffects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_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-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects") [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.001996/0.001996, allocations: 68.75 kB / 379.1 MB, free: 2.676 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3746/0.3766, allocations: 53.35 MB / 432.4 MB, free: 6.992 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.004102/0.3807, allocations: 1.905 MB / 434.3 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001718/0.3824, allocations: 0.7672 MB / 435.1 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001389/0.3825, allocations: 7.938 kB / 435.1 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001686/0.3827, allocations: 19.8 kB / 435.1 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001602/0.3829, allocations: 31.78 kB / 435.1 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000611/0.3835, allocations: 163.6 kB / 435.3 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002672/0.3837, allocations: 155.5 kB / 435.4 MB, free: 3.938 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001707/0.3839, allocations: 37.72 kB / 435.5 MB, free: 3.898 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001682/0.3841, allocations: 63.77 kB / 435.5 MB, free: 3.836 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000131/0.3842, allocations: 59.64 kB / 435.6 MB, free: 3.777 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.748e-05/0.3843, allocations: 12 kB / 435.6 MB, free: 3.766 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001835/0.3844, allocations: 63.95 kB / 435.7 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001162/0.3846, allocations: 47.83 kB / 435.7 MB, free: 3.656 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.554e-05/0.3846, allocations: 67.55 kB / 435.8 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003551/0.385, allocations: 208.8 kB / 436 MB, free: 3.391 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.385, allocations: 0 / 436 MB, free: 3.391 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.385, allocations: 0 / 436 MB, free: 3.391 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.553e-06/0.385, allocations: 0 / 436 MB, free: 3.391 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008605/0.3859, allocations: 417.5 kB / 436.4 MB, free: 2.953 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.3859, allocations: 8.031 kB / 436.4 MB, free: 2.945 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001898/0.3861, allocations: 32.78 kB / 436.4 MB, free: 2.914 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004263/0.3865, allocations: 190.7 kB / 436.6 MB, free: 2.703 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.3866, allocations: 8.547 kB / 436.6 MB, free: 2.695 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.57e-05/0.3866, allocations: 12.12 kB / 436.6 MB, free: 2.684 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007777/0.3874, allocations: 334.2 kB / 437 MB, free: 2.336 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.3874, allocations: 0 / 437 MB, free: 2.336 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.3874, allocations: 0 / 437 MB, free: 2.336 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.3874, allocations: 4 kB / 437 MB, free: 2.332 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002396/0.3876, allocations: 87.88 kB / 437.1 MB, free: 2.246 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005039/0.3881, allocations: 312.6 kB / 437.4 MB, free: 1.895 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004974/0.3886, allocations: 188.6 kB / 437.6 MB, free: 1.695 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002028/0.3888, allocations: 89.73 kB / 437.6 MB, free: 1.602 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003971/0.3892, allocations: 59.94 kB / 437.7 MB, free: 1.543 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.504e-05/0.3893, allocations: 38.5 kB / 437.7 MB, free: 1.496 MB / 334.1 MB Notification: Performance of pre-optimization done (n=19): time 1.383e-06/0.3893, allocations: 0 / 437.7 MB, free: 1.496 MB / 334.1 MB Notification: Performance of matching and sorting (n=19): time 0.000634/0.3899, allocations: 244.4 kB / 438 MB, free: 1.254 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001412/0.39, allocations: 122.7 kB / 438.1 MB, free: 1.109 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002347/0.3903, allocations: 190.8 kB / 438.3 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.808e-05/0.3903, allocations: 29.7 kB / 438.3 MB, free: 0.875 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.715e-05/0.3904, allocations: 100.6 kB / 438.4 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.162e-05/0.3904, allocations: 19.91 kB / 438.4 MB, free: 0.75 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.32e-05/0.3905, allocations: 45.83 kB / 438.5 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.3907, allocations: 326.8 kB / 438.8 MB, free: 380 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.549e-05/0.3908, allocations: 39.98 kB / 438.8 MB, free: 340 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002139/0.391, allocations: 163 kB / 439 MB, free: 116 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000287/0.3913, allocations: 200.1 kB / 439.2 MB, free: 15.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.3913, allocations: 4 kB / 439.2 MB, free: 15.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003592/0.3916, allocations: 221.5 kB / 439.4 MB, free: 15.63 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.3916, allocations: 12.06 kB / 439.4 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.3917, allocations: 4 kB / 439.4 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/0.3917, allocations: 4 kB / 439.4 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.3918, allocations: 51.86 kB / 439.5 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.336e-05/0.3918, allocations: 8 kB / 439.5 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/0.392, allocations: 19.88 kB / 439.5 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.009e-05/0.392, allocations: 15.94 kB / 439.5 MB, free: 15.52 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (22): * Single equations (assignments): 22 * 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.0001906/0.3922, allocations: 149.7 kB / 439.7 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003139/0.3925, allocations: 165.4 kB / 439.8 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003914/0.3929, allocations: 179.3 kB / 440 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.3929, allocations: 0 / 440 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.3929, allocations: 4 kB / 440 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.78e-06/0.3929, allocations: 3.984 kB / 440 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002688/0.3932, allocations: 200.5 kB / 440.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.297e-06/0.3932, allocations: 3.938 kB / 440.2 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001467/0.3933, allocations: 43.91 kB / 440.3 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.3933, allocations: 4 kB / 440.3 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.3933, allocations: 0 / 440.3 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.3933, allocations: 0 / 440.3 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3933, allocations: 0 / 440.3 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004376/0.3938, allocations: 284.2 kB / 440.5 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000146/0.3939, allocations: 43.75 kB / 440.6 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.688e-05/0.394, allocations: 11.94 kB / 440.6 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.3941, allocations: 11.98 kB / 440.6 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.051e-05/0.3941, allocations: 4 kB / 440.6 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.759e-05/0.3942, allocations: 4 kB / 440.6 MB, free: 14.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001482/0.3943, allocations: 156 kB / 440.8 MB, free: 14.19 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3943, allocations: 0 / 440.8 MB, free: 14.19 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003138/0.3946, allocations: 28 kB / 440.8 MB, free: 14.16 MB / 350.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.0001983/0.3948, allocations: 111.2 kB / 440.9 MB, free: 14.05 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000354/0.3952, allocations: 143.8 kB / 441 MB, free: 13.91 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3952, allocations: 3.938 kB / 441 MB, free: 13.91 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.997e-05/0.3952, allocations: 12.05 kB / 441.1 MB, free: 13.89 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000606/0.3958, allocations: 152.6 kB / 441.2 MB, free: 13.74 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008244/0.3966, allocations: 332.9 kB / 441.5 MB, free: 13.38 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004259/0.3971, allocations: 0.7401 MB / 442.3 MB, free: 12.61 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.103e-05/0.3971, allocations: 17.48 kB / 442.3 MB, free: 12.6 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.348e-05/0.3972, allocations: 19.44 kB / 442.3 MB, free: 12.58 MB / 350.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3972, allocations: 0 / 442.3 MB, free: 12.58 MB / 350.1 MB Notification: Performance of Templates: time 0.006589/0.4038, allocations: 2.494 MB / 444.8 MB, free: 10.11 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_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: 5.164830939844251]