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.001668/0.001668, allocations: 113 kB / 21.18 MB, free: 0.5898 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.00181/0.00181, allocations: 209.7 kB / 24.47 MB, free: 3.996 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.55/1.55, allocations: 230.4 MB / 258.1 MB, free: 8.16 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.001942/0.001942, allocations: 67.89 kB / 378.7 MB, free: 2.879 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3262, allocations: 53.31 MB / 432.1 MB, free: 7.383 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.003502/0.3297, allocations: 1.897 MB / 434 MB, free: 5.48 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001481/0.3312, allocations: 0.7517 MB / 434.7 MB, free: 4.723 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001315/0.3313, allocations: 4 kB / 434.7 MB, free: 4.719 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001724/0.3315, allocations: 23.72 kB / 434.7 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001738/0.3317, allocations: 31.78 kB / 434.8 MB, free: 4.664 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006105/0.3323, allocations: 173.6 kB / 434.9 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002477/0.3325, allocations: 151.5 kB / 435.1 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001523/0.3327, allocations: 41.53 kB / 435.1 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001724/0.3329, allocations: 63.7 kB / 435.2 MB, free: 4.242 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001335/0.333, allocations: 59.7 kB / 435.2 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.261e-05/0.333, allocations: 12 kB / 435.3 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001227/0.3332, allocations: 63.89 kB / 435.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.117e-05/0.3332, allocations: 39.84 kB / 435.4 MB, free: 4.07 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.396e-05/0.3333, allocations: 75.53 kB / 435.4 MB, free: 3.996 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003291/0.3337, allocations: 209.1 kB / 435.6 MB, free: 3.793 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3337, allocations: 0 / 435.6 MB, free: 3.793 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3337, allocations: 0 / 435.6 MB, free: 3.793 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.3337, allocations: 0 / 435.6 MB, free: 3.793 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.0008378/0.3345, allocations: 478.7 kB / 436.1 MB, free: 3.277 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.3346, allocations: 8.031 kB / 436.1 MB, free: 3.27 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000196/0.3348, allocations: 36.78 kB / 436.1 MB, free: 3.234 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004353/0.3352, allocations: 255.9 kB / 436.4 MB, free: 2.945 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.3352, allocations: 4.562 kB / 436.4 MB, free: 2.941 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.404e-05/0.3352, allocations: 16.12 kB / 436.4 MB, free: 2.926 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007142/0.336, allocations: 326.2 kB / 436.7 MB, free: 2.586 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.336, allocations: 0 / 436.7 MB, free: 2.586 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.782e-05/0.336, allocations: 8 kB / 436.7 MB, free: 2.578 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.336, allocations: 0 / 436.7 MB, free: 2.578 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002543/0.3362, allocations: 79.95 kB / 436.8 MB, free: 2.5 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000508/0.3368, allocations: 353.5 kB / 437.2 MB, free: 2.102 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005243/0.3373, allocations: 262.4 kB / 437.4 MB, free: 1.809 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001933/0.3375, allocations: 97.61 kB / 437.5 MB, free: 1.707 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000701/0.3382, allocations: 0.5895 MB / 438.1 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.937e-05/0.3382, allocations: 34.56 kB / 438.1 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of pre-optimization done (n=19): time 1.513e-06/0.3382, allocations: 0 / 438.1 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006379/0.3389, allocations: 248.4 kB / 438.4 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00011/0.339, allocations: 114.8 kB / 438.5 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002162/0.3392, allocations: 191.8 kB / 438.7 MB, free: 372 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.548e-05/0.3392, allocations: 29.7 kB / 438.7 MB, free: 336 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.351e-05/0.3393, allocations: 104.6 kB / 438.8 MB, free: 224 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.749e-05/0.3393, allocations: 15.91 kB / 438.8 MB, free: 208 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.25e-05/0.3394, allocations: 37.7 kB / 438.9 MB, free: 164 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.3396, allocations: 334.8 kB / 439.2 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.114e-05/0.3397, allocations: 35.98 kB / 439.2 MB, free: 15.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002225/0.3399, allocations: 169.1 kB / 439.4 MB, free: 15.56 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002809/0.3402, allocations: 200.1 kB / 439.6 MB, free: 15.31 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.3402, allocations: 4 kB / 439.6 MB, free: 15.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003621/0.3405, allocations: 221.1 kB / 439.8 MB, free: 15.08 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.3405, allocations: 4.594 kB / 439.8 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.3405, allocations: 7.938 kB / 439.8 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.308e-05/0.3406, allocations: 12 kB / 439.8 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001463/0.3407, allocations: 39.92 kB / 439.9 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.3407, allocations: 7.938 kB / 439.9 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001205/0.3408, allocations: 23.88 kB / 439.9 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.652e-05/0.3409, allocations: 12 kB / 439.9 MB, free: 14.98 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.0001605/0.341, allocations: 148.6 kB / 440.1 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000325/0.3414, allocations: 165.4 kB / 440.2 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003914/0.3417, allocations: 182.1 kB / 440.4 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.3417, allocations: 4 kB / 440.4 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.3418, allocations: 0 / 440.4 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3418, allocations: 0 / 440.4 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002602/0.342, allocations: 229.5 kB / 440.6 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.756e-06/0.342, allocations: 7.938 kB / 440.6 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001488/0.3422, allocations: 31.97 kB / 440.7 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.3422, allocations: 4 kB / 440.7 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.3422, allocations: 4 kB / 440.7 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3422, allocations: 7.938 kB / 440.7 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3422, allocations: 0 / 440.7 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004469/0.3426, allocations: 280.1 kB / 441 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001194/0.3428, allocations: 116.9 kB / 441.1 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.586e-05/0.3428, allocations: 11.98 kB / 441.1 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.3429, allocations: 15.94 kB / 441.1 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.242e-05/0.343, allocations: 11.92 kB / 441.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.795e-05/0.343, allocations: 4 kB / 441.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001411/0.3431, allocations: 151 kB / 441.3 MB, free: 13.53 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3431, allocations: 0 / 441.3 MB, free: 13.53 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003158/0.3434, allocations: 31.94 kB / 441.3 MB, free: 13.5 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.0002042/0.3436, allocations: 123.2 kB / 441.4 MB, free: 13.36 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003698/0.344, allocations: 136.9 kB / 441.5 MB, free: 13.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.344, allocations: 1.188 kB / 441.5 MB, free: 13.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.267e-05/0.3441, allocations: 11.98 kB / 441.6 MB, free: 13.22 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006293/0.3447, allocations: 149.6 kB / 441.7 MB, free: 13.07 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007014/0.3454, allocations: 373.4 kB / 442.1 MB, free: 12.67 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004064/0.3458, allocations: 0.7323 MB / 442.8 MB, free: 11.91 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.758e-05/0.3458, allocations: 23.42 kB / 442.8 MB, free: 11.89 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3458, allocations: 0 / 442.8 MB, free: 11.89 MB / 350.1 MB Notification: Performance of Templates: time 0.004832/0.3507, allocations: 2.284 MB / 445.1 MB, free: 9.609 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleWithADeffects/SampleWithADeffects.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 7.678449844941497]