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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001974/0.001974, allocations: 103.3 kB / 19.61 MB, free: 2.707 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002908/0.002908, allocations: 197.1 kB / 22.76 MB, free: 5.48 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.572/1.572, allocations: 225.6 MB / 251.4 MB, free: 13.42 MB / 206.1 MB [Timeout remaining time 88] 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.002593/0.002593, allocations: 52.06 kB / 369.2 MB, free: 10.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3431, allocations: 52.13 MB / 421.3 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.003502/0.3466, allocations: 1.868 MB / 423.2 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001383/0.3479, allocations: 0.701 MB / 423.9 MB, free: 12.58 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001218/0.3481, allocations: 7.938 kB / 423.9 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001569/0.3482, allocations: 19.8 kB / 423.9 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000153/0.3484, allocations: 23.8 kB / 423.9 MB, free: 12.53 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005724/0.3489, allocations: 143.6 kB / 424 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002378/0.3492, allocations: 151.6 kB / 424.2 MB, free: 12.24 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001488/0.3493, allocations: 37.53 kB / 424.2 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001299/0.3495, allocations: 63.7 kB / 424.3 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.3496, allocations: 59.7 kB / 424.4 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.539e-05/0.3496, allocations: 16 kB / 424.4 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001104/0.3497, allocations: 51.95 kB / 424.4 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.85e-05/0.3498, allocations: 43.83 kB / 424.5 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.583e-05/0.3499, allocations: 75.48 kB / 424.5 MB, free: 11.9 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003187/0.3502, allocations: 192.5 kB / 424.7 MB, free: 11.72 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3502, allocations: 3.938 kB / 424.7 MB, free: 11.71 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3502, allocations: 0 / 424.7 MB, free: 11.71 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.3502, allocations: 0 / 424.7 MB, free: 11.71 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.0008374/0.3511, allocations: 494.6 kB / 425.2 MB, free: 11.18 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.3511, allocations: 15.89 kB / 425.2 MB, free: 11.17 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.731e-05/0.3512, allocations: 16.84 kB / 425.2 MB, free: 11.15 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003741/0.3516, allocations: 236.2 kB / 425.5 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.252e-05/0.3516, allocations: 16.55 kB / 425.5 MB, free: 10.87 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.539e-05/0.3516, allocations: 16.12 kB / 425.5 MB, free: 10.85 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007208/0.3523, allocations: 325.8 kB / 425.8 MB, free: 10.52 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.3523, allocations: 0 / 425.8 MB, free: 10.52 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.815e-05/0.3524, allocations: 4 kB / 425.8 MB, free: 10.51 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.3524, allocations: 7.938 kB / 425.8 MB, free: 10.5 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000232/0.3526, allocations: 79.94 kB / 425.9 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005212/0.3531, allocations: 353.5 kB / 426.3 MB, free: 10.03 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005132/0.3536, allocations: 258.1 kB / 426.5 MB, free: 9.738 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002033/0.3538, allocations: 96.86 kB / 426.6 MB, free: 9.641 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007072/0.3545, allocations: 0.5859 MB / 427.2 MB, free: 8.926 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.457e-05/0.3546, allocations: 38.5 kB / 427.2 MB, free: 8.879 MB / 334.1 MB Notification: Performance of pre-optimization done (n=19): time 1.283e-06/0.3546, allocations: 0 / 427.2 MB, free: 8.879 MB / 334.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006123/0.3552, allocations: 240.1 kB / 427.5 MB, free: 8.641 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/0.3553, allocations: 118.7 kB / 427.6 MB, free: 8.5 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002139/0.3555, allocations: 194.2 kB / 427.8 MB, free: 8.301 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.007e-05/0.3555, allocations: 33.7 kB / 427.8 MB, free: 8.262 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.779e-05/0.3556, allocations: 104.5 kB / 427.9 MB, free: 8.152 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.229e-05/0.3557, allocations: 20.02 kB / 427.9 MB, free: 8.133 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.345e-05/0.3557, allocations: 41.7 kB / 428 MB, free: 8.086 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.3559, allocations: 326.8 kB / 428.3 MB, free: 7.758 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.937e-05/0.356, allocations: 39.97 kB / 428.3 MB, free: 7.719 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001865/0.3562, allocations: 164.1 kB / 428.5 MB, free: 7.5 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002687/0.3564, allocations: 208.1 kB / 428.7 MB, free: 7.238 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.3565, allocations: 4 kB / 428.7 MB, free: 7.234 MB / 334.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003575/0.3568, allocations: 213.6 kB / 428.9 MB, free: 7.02 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.3568, allocations: 8 kB / 428.9 MB, free: 7.012 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.3568, allocations: 4 kB / 428.9 MB, free: 7.008 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/0.3569, allocations: 8 kB / 428.9 MB, free: 7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.357, allocations: 39.92 kB / 429 MB, free: 6.961 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.32e-05/0.357, allocations: 15.86 kB / 429 MB, free: 6.945 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001121/0.3571, allocations: 19.89 kB / 429 MB, free: 6.926 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.809e-05/0.3572, allocations: 16 kB / 429 MB, free: 6.91 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.0001958/0.3573, allocations: 155.9 kB / 429.2 MB, free: 6.75 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003192/0.3577, allocations: 161.4 kB / 429.3 MB, free: 6.586 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003755/0.358, allocations: 182.5 kB / 429.5 MB, free: 6.398 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.358, allocations: 4 kB / 429.5 MB, free: 6.395 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.3581, allocations: 0 / 429.5 MB, free: 6.395 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.3581, allocations: 7.969 kB / 429.5 MB, free: 6.387 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003076/0.3584, allocations: 225.5 kB / 429.7 MB, free: 6.117 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.605e-06/0.3584, allocations: 7.938 kB / 429.7 MB, free: 6.109 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001396/0.3585, allocations: 31.97 kB / 429.8 MB, free: 6.078 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.3585, allocations: 4 kB / 429.8 MB, free: 6.074 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.3585, allocations: 4 kB / 429.8 MB, free: 6.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.3585, allocations: 4 kB / 429.8 MB, free: 6.066 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3585, allocations: 0 / 429.8 MB, free: 6.066 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004627/0.359, allocations: 296.1 kB / 430.1 MB, free: 5.746 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001475/0.3591, allocations: 116.9 kB / 430.2 MB, free: 5.613 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.625e-05/0.3592, allocations: 8 kB / 430.2 MB, free: 5.605 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/0.3593, allocations: 7.984 kB / 430.2 MB, free: 5.598 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.68e-05/0.3593, allocations: 7.938 kB / 430.2 MB, free: 5.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.992e-05/0.3594, allocations: 8 kB / 430.2 MB, free: 5.582 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001451/0.3595, allocations: 135.2 kB / 430.3 MB, free: 5.449 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3595, allocations: 0 / 430.3 MB, free: 5.449 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003202/0.3598, allocations: 40 kB / 430.4 MB, free: 5.41 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.0002042/0.36, allocations: 111.2 kB / 430.5 MB, free: 5.293 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000389/0.3604, allocations: 140.6 kB / 430.6 MB, free: 5.156 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3604, allocations: 320 / 430.6 MB, free: 5.156 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.475e-05/0.3605, allocations: 19.98 kB / 430.7 MB, free: 5.137 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006275/0.3611, allocations: 149.4 kB / 430.8 MB, free: 4.984 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007337/0.3618, allocations: 354.5 kB / 431.1 MB, free: 4.602 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005211/0.3624, allocations: 0.7361 MB / 431.9 MB, free: 3.836 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.622e-05/0.3624, allocations: 19.42 kB / 431.9 MB, free: 3.82 MB / 334.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3624, allocations: 0 / 431.9 MB, free: 3.82 MB / 334.1 MB Notification: Performance of Templates: time 0.005021/0.3674, allocations: 2.259 MB / 434.2 MB, free: 1.566 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleWithADeffects/SampleWithADeffects.csv","/var/lib/jenkins1/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