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.001599/0.001599, allocations: 112.2 kB / 21.19 MB, free: 0.7812 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.001963/0.001963, allocations: 214.5 kB / 24.49 MB, free: 4.18 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.537/1.537, allocations: 230.6 MB / 258.3 MB, free: 8.004 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+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 0.001601/0.001601, allocations: 55.92 kB / 379 MB, free: 2.699 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3832/0.3848, allocations: 53.36 MB / 432.4 MB, free: 6.953 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.004157/0.3889, allocations: 1.897 MB / 434.3 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001641/0.3906, allocations: 0.7711 MB / 435.1 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001425/0.3907, allocations: 3.938 kB / 435.1 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001648/0.3909, allocations: 23.8 kB / 435.1 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001778/0.391, allocations: 23.8 kB / 435.1 MB, free: 4.223 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007043/0.3917, allocations: 171.5 kB / 435.3 MB, free: 4.055 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002661/0.392, allocations: 155.5 kB / 435.4 MB, free: 3.902 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001692/0.3922, allocations: 41.72 kB / 435.5 MB, free: 3.859 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001712/0.3924, allocations: 63.77 kB / 435.5 MB, free: 3.797 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001473/0.3925, allocations: 63.64 kB / 435.6 MB, free: 3.734 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.227e-05/0.3925, allocations: 12 kB / 435.6 MB, free: 3.723 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001314/0.3927, allocations: 59.95 kB / 435.7 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.49e-05/0.3928, allocations: 43.83 kB / 435.7 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.778e-05/0.3928, allocations: 75.55 kB / 435.8 MB, free: 3.547 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003346/0.3932, allocations: 201.4 kB / 436 MB, free: 3.355 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.3932, allocations: 4 kB / 436 MB, free: 3.352 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3932, allocations: 0 / 436 MB, free: 3.352 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.3932, allocations: 0 / 436 MB, free: 3.352 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.0008629/0.3941, allocations: 409.5 kB / 436.4 MB, free: 2.922 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.3941, allocations: 8.031 kB / 436.4 MB, free: 2.914 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001995/0.3943, allocations: 36.78 kB / 436.4 MB, free: 2.879 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000363/0.3947, allocations: 190.7 kB / 436.6 MB, free: 2.668 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.331e-05/0.3947, allocations: 8.562 kB / 436.6 MB, free: 2.66 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.743e-05/0.3947, allocations: 16.12 kB / 436.6 MB, free: 2.645 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007308/0.3954, allocations: 328.1 kB / 437 MB, free: 2.305 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.3955, allocations: 0 / 437 MB, free: 2.305 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.152e-05/0.3955, allocations: 8 kB / 437 MB, free: 2.297 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.3955, allocations: 4 kB / 437 MB, free: 2.293 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002519/0.3957, allocations: 83.88 kB / 437.1 MB, free: 2.211 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004714/0.3962, allocations: 312.6 kB / 437.4 MB, free: 1.859 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005039/0.3967, allocations: 189.1 kB / 437.5 MB, free: 1.66 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002098/0.3969, allocations: 97.61 kB / 437.6 MB, free: 1.559 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004076/0.3973, allocations: 63.94 kB / 437.7 MB, free: 1.496 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/0.3974, allocations: 34.56 kB / 437.7 MB, free: 1.453 MB / 334.1 MB Notification: Performance of pre-optimization done (n=19): time 1.423e-06/0.3974, allocations: 0 / 437.7 MB, free: 1.453 MB / 334.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006681/0.398, allocations: 241.4 kB / 438 MB, free: 1.211 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001333/0.3982, allocations: 121.2 kB / 438.1 MB, free: 1.07 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002156/0.3984, allocations: 190.8 kB / 438.3 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.3984, allocations: 29.64 kB / 438.3 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.174e-05/0.3985, allocations: 108.6 kB / 438.4 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.275e-05/0.3985, allocations: 15.91 kB / 438.4 MB, free: 0.707 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.193e-05/0.3986, allocations: 37.7 kB / 438.5 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.3987, allocations: 330.8 kB / 438.8 MB, free: 340 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.651e-05/0.3988, allocations: 40.02 kB / 438.8 MB, free: 300 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001924/0.399, allocations: 165.1 kB / 439 MB, free: 72 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002769/0.3993, allocations: 200.1 kB / 439.2 MB, free: 15.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.3993, allocations: 0 / 439.2 MB, free: 15.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003518/0.3997, allocations: 225 kB / 439.4 MB, free: 15.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.3997, allocations: 8 kB / 439.4 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.3997, allocations: 4.594 kB / 439.4 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/0.3997, allocations: 8 kB / 439.4 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001542/0.3999, allocations: 43.92 kB / 439.5 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.3999, allocations: 4 kB / 439.5 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001227/0.4, allocations: 27.81 kB / 439.5 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.138e-05/0.4, allocations: 8 kB / 439.5 MB, free: 15.49 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.0001789/0.4002, allocations: 159.3 kB / 439.7 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003179/0.4005, allocations: 157.4 kB / 439.8 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003953/0.4009, allocations: 183.3 kB / 440 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.228e-06/0.4009, allocations: 4 kB / 440 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.4009, allocations: 0 / 440 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.4009, allocations: 0 / 440 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002728/0.4012, allocations: 204.5 kB / 440.2 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/0.4012, allocations: 7.938 kB / 440.2 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001412/0.4014, allocations: 35.91 kB / 440.2 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.4014, allocations: 0 / 440.2 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.4014, allocations: 8 kB / 440.2 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-06/0.4014, allocations: 4 kB / 440.2 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.4014, allocations: 0 / 440.2 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004475/0.4018, allocations: 276.2 kB / 440.5 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.74e-05/0.4019, allocations: 47.75 kB / 440.6 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.351e-05/0.402, allocations: 8 kB / 440.6 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.4021, allocations: 15.98 kB / 440.6 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.08e-05/0.4021, allocations: 3.938 kB / 440.6 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.927e-05/0.4022, allocations: 7.938 kB / 440.6 MB, free: 14.3 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001522/0.4023, allocations: 156 kB / 440.8 MB, free: 14.15 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4023, allocations: 0 / 440.8 MB, free: 14.15 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000323/0.4026, allocations: 32 kB / 440.8 MB, free: 14.12 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.0001922/0.4028, allocations: 111.2 kB / 440.9 MB, free: 14 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003833/0.4032, allocations: 142.7 kB / 441 MB, free: 13.87 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.4032, allocations: 0 / 441 MB, free: 13.87 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.326e-05/0.4033, allocations: 17.17 kB / 441 MB, free: 13.85 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006404/0.4039, allocations: 148.7 kB / 441.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000756/0.4046, allocations: 366.6 kB / 441.6 MB, free: 13.3 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003968/0.405, allocations: 0.7323 MB / 442.3 MB, free: 12.54 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.84e-05/0.4051, allocations: 19.44 kB / 442.3 MB, free: 12.53 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4051, allocations: 0 / 442.3 MB, free: 12.53 MB / 350.1 MB Notification: Performance of Templates: time 0.005257/0.4104, allocations: 2.282 MB / 444.6 MB, free: 10.25 MB / 350.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleWithADeffects/SampleWithADeffects.csv","/var/lib/jenkins1/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: 7.477372880093753]