Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001722/0.001722, allocations: 112 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002353/0.002353, allocations: 180.8 kB / 23.71 MB, free: 4.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.625/1.625, allocations: 225.6 MB / 252.5 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001613/0.001613, allocations: 47.92 kB / 370.9 MB, free: 9.348 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3286/0.3303, allocations: 52.18 MB / 423.1 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.003755/0.334, allocations: 1.896 MB / 425 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001619/0.3356, allocations: 0.6894 MB / 425.7 MB, free: 12.1 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001499/0.3358, allocations: 7.938 kB / 425.7 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002065/0.336, allocations: 23.78 kB / 425.7 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002139/0.3362, allocations: 23.8 kB / 425.8 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007375/0.3369, allocations: 157.8 kB / 425.9 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003249/0.3373, allocations: 147.6 kB / 426.1 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002051/0.3375, allocations: 37.72 kB / 426.1 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001656/0.3376, allocations: 63.7 kB / 426.2 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001656/0.3378, allocations: 59.7 kB / 426.2 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.801e-05/0.3378, allocations: 12 kB / 426.2 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001292/0.338, allocations: 47.97 kB / 426.3 MB, free: 11.53 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.3381, allocations: 43.83 kB / 426.3 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.3382, allocations: 79.47 kB / 426.4 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004375/0.3386, allocations: 196.5 kB / 426.6 MB, free: 11.22 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.3386, allocations: 4 kB / 426.6 MB, free: 11.21 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3386, allocations: 0 / 426.6 MB, free: 11.21 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.546e-05/0.3387, allocations: 0 / 426.6 MB, free: 11.21 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.0009449/0.3396, allocations: 409.5 kB / 427 MB, free: 10.79 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.749e-05/0.3397, allocations: 12.03 kB / 427 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.614e-05/0.3397, allocations: 20.83 kB / 427 MB, free: 10.75 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004888/0.3402, allocations: 183.1 kB / 427.2 MB, free: 10.55 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.414e-05/0.3402, allocations: 8.562 kB / 427.2 MB, free: 10.54 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.786e-05/0.3403, allocations: 16.12 kB / 427.2 MB, free: 10.53 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008716/0.3412, allocations: 326.4 kB / 427.5 MB, free: 10.19 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.3412, allocations: 0 / 427.5 MB, free: 10.19 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.053e-05/0.3412, allocations: 7.984 kB / 427.6 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.124e-05/0.3412, allocations: 4 kB / 427.6 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002828/0.3415, allocations: 87.88 kB / 427.6 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004908/0.342, allocations: 316.6 kB / 428 MB, free: 9.734 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000518/0.3425, allocations: 181.1 kB / 428.1 MB, free: 9.539 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002049/0.3427, allocations: 89.67 kB / 428.2 MB, free: 9.445 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004334/0.3431, allocations: 60.2 kB / 428.3 MB, free: 9.387 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.667e-05/0.3432, allocations: 46.5 kB / 428.3 MB, free: 9.332 MB / 334.1 MB Notification: Performance of pre-optimization done (n=19): time 1.312e-06/0.3432, allocations: 0 / 428.3 MB, free: 9.332 MB / 334.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006611/0.3438, allocations: 233.3 kB / 428.6 MB, free: 9.098 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001287/0.344, allocations: 118.8 kB / 428.7 MB, free: 8.957 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002297/0.3442, allocations: 190.4 kB / 428.9 MB, free: 8.762 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.904e-05/0.3442, allocations: 33.64 kB / 428.9 MB, free: 8.723 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.548e-05/0.3443, allocations: 112.5 kB / 429 MB, free: 8.605 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.62e-05/0.3444, allocations: 19.89 kB / 429 MB, free: 8.586 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.7e-05/0.3444, allocations: 37.7 kB / 429.1 MB, free: 8.543 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.3446, allocations: 322.8 kB / 429.4 MB, free: 8.219 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.356e-05/0.3447, allocations: 39.97 kB / 429.4 MB, free: 8.18 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002068/0.3449, allocations: 164.1 kB / 429.6 MB, free: 7.961 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002983/0.3452, allocations: 216.1 kB / 429.8 MB, free: 7.691 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.3452, allocations: 0 / 429.8 MB, free: 7.691 MB / 334.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003907/0.3456, allocations: 217.1 kB / 430 MB, free: 7.473 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.608e-05/0.3456, allocations: 8 kB / 430 MB, free: 7.465 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.3456, allocations: 4 kB / 430 MB, free: 7.461 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.582e-05/0.3456, allocations: 8 kB / 430 MB, free: 7.453 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/0.3458, allocations: 51.84 kB / 430.1 MB, free: 7.402 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.312e-05/0.3458, allocations: 8.531 kB / 430.1 MB, free: 7.395 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/0.3459, allocations: 15.95 kB / 430.1 MB, free: 7.379 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.152e-05/0.3459, allocations: 15.98 kB / 430.1 MB, free: 7.363 MB / 334.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.0001641/0.3461, allocations: 153.2 kB / 430.2 MB, free: 7.207 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003404/0.3465, allocations: 164.1 kB / 430.4 MB, free: 7.043 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004123/0.3469, allocations: 179.3 kB / 430.6 MB, free: 6.859 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.3469, allocations: 8 kB / 430.6 MB, free: 6.852 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.3469, allocations: 0 / 430.6 MB, free: 6.852 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.3469, allocations: 3.984 kB / 430.6 MB, free: 6.848 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002625/0.3471, allocations: 196.5 kB / 430.8 MB, free: 6.613 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.115e-05/0.3472, allocations: 7.922 kB / 430.8 MB, free: 6.605 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001515/0.3473, allocations: 31.98 kB / 430.8 MB, free: 6.574 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.3473, allocations: 4 kB / 430.8 MB, free: 6.57 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.3473, allocations: 0 / 430.8 MB, free: 6.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.3473, allocations: 0 / 430.8 MB, free: 6.57 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.3473, allocations: 7.984 kB / 430.8 MB, free: 6.562 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000479/0.3478, allocations: 288.1 kB / 431.1 MB, free: 6.262 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.7e-05/0.3479, allocations: 35.77 kB / 431.2 MB, free: 6.227 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.327e-05/0.348, allocations: 11.98 kB / 431.2 MB, free: 6.215 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001498/0.3481, allocations: 15.94 kB / 431.2 MB, free: 6.199 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.185e-05/0.3481, allocations: 7.984 kB / 431.2 MB, free: 6.191 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.002e-05/0.3482, allocations: 4 kB / 431.2 MB, free: 6.188 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001475/0.3483, allocations: 148.3 kB / 431.3 MB, free: 6.043 MB / 334.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3483, allocations: 0 / 431.3 MB, free: 6.043 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003367/0.3486, allocations: 28 kB / 431.4 MB, free: 6.016 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: 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.0001901/0.3488, allocations: 115.2 kB / 431.5 MB, free: 5.895 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004108/0.3492, allocations: 146.2 kB / 431.6 MB, free: 5.754 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3493, allocations: 3.938 kB / 431.6 MB, free: 5.75 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.547e-05/0.3493, allocations: 11.92 kB / 431.6 MB, free: 5.738 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006522/0.3499, allocations: 150.7 kB / 431.8 MB, free: 5.586 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006888/0.3506, allocations: 332.5 kB / 432.1 MB, free: 5.23 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004064/0.351, allocations: 0.7323 MB / 432.8 MB, free: 4.469 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.462e-05/0.3511, allocations: 17.48 kB / 432.9 MB, free: 4.449 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.394e-05/0.3512, allocations: 15.44 kB / 432.9 MB, free: 4.438 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3512, allocations: 0 / 432.9 MB, free: 4.438 MB / 334.1 MB Notification: Performance of Templates: time 0.006852/0.358, allocations: 2.49 MB / 435.4 MB, free: 1.957 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleWithADeffects/SampleWithADeffects.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.979552878066897]