Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001727/0.001727, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002022/0.002022, allocations: 213.9 kB / 23.73 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.58/1.58, allocations: 230.5 MB / 257.4 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 67.89 kB / 378.2 MB, free: 2.309 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3079, allocations: 53.4 MB / 431.6 MB, free: 6.547 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.003868/0.3117, allocations: 1.847 MB / 433.5 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001767/0.3135, allocations: 0.705 MB / 434.2 MB, free: 3.984 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002337/0.3137, allocations: 3.938 kB / 434.2 MB, free: 3.98 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001841/0.3139, allocations: 23.8 kB / 434.2 MB, free: 3.957 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002269/0.3141, allocations: 23.8 kB / 434.2 MB, free: 3.934 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007297/0.3149, allocations: 167.5 kB / 434.4 MB, free: 3.77 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003068/0.3152, allocations: 155.5 kB / 434.5 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001721/0.3153, allocations: 37.73 kB / 434.6 MB, free: 3.578 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001972/0.3155, allocations: 63.77 kB / 434.6 MB, free: 3.516 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001701/0.3157, allocations: 63.62 kB / 434.7 MB, free: 3.453 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.719e-05/0.3157, allocations: 12 kB / 434.7 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001443/0.3159, allocations: 55.97 kB / 434.8 MB, free: 3.387 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.477e-05/0.316, allocations: 43.83 kB / 434.8 MB, free: 3.344 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.451e-05/0.3161, allocations: 51.67 kB / 434.9 MB, free: 3.293 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003744/0.3164, allocations: 209.4 kB / 435.1 MB, free: 3.094 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3164, allocations: 0 / 435.1 MB, free: 3.094 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.3164, allocations: 0 / 435.1 MB, free: 3.094 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.3164, allocations: 0 / 435.1 MB, free: 3.094 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.0008648/0.3173, allocations: 413.5 kB / 435.5 MB, free: 2.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.3173, allocations: 11.98 kB / 435.5 MB, free: 2.648 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002071/0.3176, allocations: 32.78 kB / 435.5 MB, free: 2.617 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004252/0.318, allocations: 206.6 kB / 435.7 MB, free: 2.391 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.318, allocations: 4.562 kB / 435.7 MB, free: 2.387 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.227e-05/0.318, allocations: 12.12 kB / 435.7 MB, free: 2.375 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000743/0.3188, allocations: 362.4 kB / 436.1 MB, free: 2 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.3188, allocations: 0 / 436.1 MB, free: 2 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.723e-05/0.3188, allocations: 8 kB / 436.1 MB, free: 1.992 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.3188, allocations: 0 / 436.1 MB, free: 1.992 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002361/0.319, allocations: 83.88 kB / 436.2 MB, free: 1.91 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004422/0.3195, allocations: 265.3 kB / 436.4 MB, free: 1.617 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004887/0.32, allocations: 173.4 kB / 436.6 MB, free: 1.43 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002129/0.3202, allocations: 105.3 kB / 436.7 MB, free: 1.324 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003976/0.3206, allocations: 55.94 kB / 436.8 MB, free: 1.27 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.676e-05/0.3206, allocations: 38.56 kB / 436.8 MB, free: 1.223 MB / 334.1 MB Notification: Performance of pre-optimization done (n=19): time 1.383e-06/0.3206, allocations: 0 / 436.8 MB, free: 1.223 MB / 334.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006374/0.3213, allocations: 237.3 kB / 437 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001339/0.3214, allocations: 121.5 kB / 437.2 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002107/0.3216, allocations: 198.7 kB / 437.4 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.3216, allocations: 25.7 kB / 437.4 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.623e-05/0.3217, allocations: 104.6 kB / 437.5 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.266e-05/0.3217, allocations: 23.83 kB / 437.5 MB, free: 484 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.601e-05/0.3218, allocations: 37.7 kB / 437.5 MB, free: 440 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.3219, allocations: 326.8 kB / 437.9 MB, free: 104 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.292e-05/0.322, allocations: 36.09 kB / 437.9 MB, free: 68 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002139/0.3222, allocations: 198.2 kB / 438.1 MB, free: 15.81 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002709/0.3225, allocations: 204.1 kB / 438.3 MB, free: 15.55 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.3225, allocations: 0 / 438.3 MB, free: 15.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003618/0.3229, allocations: 217.1 kB / 438.5 MB, free: 15.33 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.3229, allocations: 11.94 kB / 438.5 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.3229, allocations: 4.594 kB / 438.5 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.3229, allocations: 11.98 kB / 438.5 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/0.3231, allocations: 43.92 kB / 438.6 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.3231, allocations: 4 kB / 438.6 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/0.3232, allocations: 19.89 kB / 438.6 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/0.3232, allocations: 11.98 kB / 438.6 MB, free: 15.23 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.0001538/0.3234, allocations: 149.7 kB / 438.7 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003207/0.3237, allocations: 168.6 kB / 438.9 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003789/0.3241, allocations: 183.3 kB / 439.1 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.3241, allocations: 8 kB / 439.1 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.3241, allocations: 3.984 kB / 439.1 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.3241, allocations: 0 / 439.1 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00021/0.3243, allocations: 153.2 kB / 439.3 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/0.3243, allocations: 7.922 kB / 439.3 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001414/0.3244, allocations: 31.92 kB / 439.3 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.696e-06/0.3245, allocations: 0 / 439.3 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.079e-05/0.3245, allocations: 15.88 kB / 439.3 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.3245, allocations: 4 kB / 439.3 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3245, allocations: 0 / 439.3 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000436/0.3249, allocations: 284.2 kB / 439.6 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.634e-05/0.325, allocations: 35.83 kB / 439.6 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.411e-05/0.3251, allocations: 15.92 kB / 439.6 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.3252, allocations: 4 kB / 439.6 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.749e-05/0.3252, allocations: 15.92 kB / 439.7 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.646e-05/0.3252, allocations: 4 kB / 439.7 MB, free: 14.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001419/0.3254, allocations: 156 kB / 439.8 MB, free: 13.94 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3254, allocations: 0 / 439.8 MB, free: 13.94 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003204/0.3257, allocations: 28 kB / 439.8 MB, free: 13.91 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.0001804/0.3259, allocations: 111.2 kB / 440 MB, free: 13.8 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003519/0.3262, allocations: 136.9 kB / 440.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3262, allocations: 4.062 kB / 440.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.111e-05/0.3263, allocations: 7.984 kB / 440.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006045/0.3269, allocations: 144.1 kB / 440.2 MB, free: 13.51 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006954/0.3276, allocations: 341 kB / 440.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001433/0.3277, allocations: 127.6 kB / 440.7 MB, free: 13 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.528e-05/0.3278, allocations: 17.48 kB / 440.7 MB, free: 12.98 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.603e-05/0.3278, allocations: 15.44 kB / 440.7 MB, free: 12.96 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.3279, allocations: 0 / 440.7 MB, free: 12.96 MB / 350.1 MB Notification: Performance of Templates: time 0.006872/0.3347, allocations: 2.674 MB / 443.4 MB, free: 10.32 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.781747547909617]