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.001301/0.001301, allocations: 77.05 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002046/0.003347, allocations: 449.8 kB / 10.44 MB, free: 248 kB / 10.45 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.001354/0.001354, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00161/0.002965, allocations: 479.5 kB / 11.82 MB, free: 2.34 MB / 13.93 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.123/1.123, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1113/1.234, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] 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 1.623e-06/1.623e-06, allocations: 0 / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.641e-05/2.803e-05, allocations: 10.11 kB / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.002677/0.002705, allocations: 1.95 MB / 246.7 MB, free: 12.25 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001061/0.003766, allocations: 0.7435 MB / 247.4 MB, free: 11.5 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001226/0.003889, allocations: 3.938 kB / 247.4 MB, free: 11.5 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001147/0.004004, allocations: 27.73 kB / 247.4 MB, free: 11.47 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001118/0.004115, allocations: 27.8 kB / 247.5 MB, free: 11.45 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004719/0.004587, allocations: 159.4 kB / 247.6 MB, free: 11.29 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002238/0.004811, allocations: 147.6 kB / 247.8 MB, free: 11.14 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001467/0.004958, allocations: 46.42 kB / 247.8 MB, free: 11.1 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002173/0.005175, allocations: 103.7 kB / 247.9 MB, free: 11 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.005295, allocations: 51.81 kB / 248 MB, free: 10.95 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.923e-05/0.005324, allocations: 16 kB / 248 MB, free: 10.93 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001282/0.005452, allocations: 55.95 kB / 248 MB, free: 10.88 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.769e-05/0.00553, allocations: 35.81 kB / 248.1 MB, free: 10.84 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.15e-05/0.005582, allocations: 35.88 kB / 248.1 MB, free: 10.81 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002545/0.005836, allocations: 127.5 kB / 248.2 MB, free: 10.68 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.611e-05/0.005852, allocations: 8 kB / 248.2 MB, free: 10.68 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.005853, allocations: 0 / 248.2 MB, free: 10.68 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.428e-05/0.005868, allocations: 0 / 248.2 MB, free: 10.68 MB / 250.7 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.0006834/0.006551, allocations: 399.8 kB / 248.6 MB, free: 10.26 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.006592, allocations: 12.03 kB / 248.6 MB, free: 10.25 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001714/0.006764, allocations: 106 kB / 248.7 MB, free: 10.13 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002373/0.007001, allocations: 178.2 kB / 248.9 MB, free: 9.93 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.007022, allocations: 8.562 kB / 248.9 MB, free: 9.922 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/0.007038, allocations: 8.312 kB / 248.9 MB, free: 9.914 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003864/0.007425, allocations: 278.4 kB / 249.2 MB, free: 9.613 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.007436, allocations: 0 / 249.2 MB, free: 9.613 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.007452, allocations: 4 kB / 249.2 MB, free: 9.609 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.007459, allocations: 0 / 249.2 MB, free: 9.609 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.94e-05/0.007508, allocations: 22.81 kB / 249.2 MB, free: 9.586 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002591/0.007767, allocations: 199.7 kB / 249.4 MB, free: 9.371 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00039/0.008157, allocations: 97.11 kB / 249.5 MB, free: 9.258 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.036e-05/0.008208, allocations: 48.09 kB / 249.6 MB, free: 9.207 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000233/0.008441, allocations: 51.88 kB / 249.6 MB, free: 9.156 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.008468, allocations: 38.56 kB / 249.7 MB, free: 9.109 MB / 250.7 MB Notification: Performance of pre-optimization done (n=19): time 1.483e-06/0.008469, allocations: 0 / 249.7 MB, free: 9.109 MB / 250.7 MB Notification: Performance of matching and sorting (n=19): time 0.0002114/0.008681, allocations: 109.5 kB / 249.8 MB, free: 8.996 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.674e-05/0.008738, allocations: 93.05 kB / 249.9 MB, free: 8.887 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.008845, allocations: 182.1 kB / 250 MB, free: 8.695 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.008863, allocations: 29.7 kB / 250.1 MB, free: 8.66 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.441e-05/0.008907, allocations: 96.55 kB / 250.2 MB, free: 8.562 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.987e-05/0.008927, allocations: 11.94 kB / 250.2 MB, free: 8.551 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.202e-05/0.008959, allocations: 25.67 kB / 250.2 MB, free: 8.52 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.938e-05/0.009038, allocations: 326.7 kB / 250.5 MB, free: 8.191 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.995e-05/0.009058, allocations: 14.81 kB / 250.5 MB, free: 8.176 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.983e-05/0.009098, allocations: 58 kB / 250.6 MB, free: 8.098 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.801e-05/0.009146, allocations: 58.81 kB / 250.6 MB, free: 8.023 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.009148, allocations: 0 / 250.6 MB, free: 8.023 MB / 250.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.264e-05/0.009231, allocations: 78.03 kB / 250.7 MB, free: 7.938 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.009247, allocations: 4 kB / 250.7 MB, free: 7.934 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.009252, allocations: 4 kB / 250.7 MB, free: 7.93 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.009264, allocations: 0 / 250.7 MB, free: 7.93 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.754e-05/0.009342, allocations: 20.11 kB / 250.7 MB, free: 7.91 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.009346, allocations: 0 / 250.7 MB, free: 7.91 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.011e-05/0.009386, allocations: 7.938 kB / 250.8 MB, free: 7.902 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.009394, allocations: 8 kB / 250.8 MB, free: 7.895 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (7): * Single equations (assignments): 7 * 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 9.959e-05/0.009494, allocations: 131.8 kB / 250.9 MB, free: 7.758 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.123e-05/0.009585, allocations: 85.25 kB / 251 MB, free: 7.672 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001372/0.009722, allocations: 95.45 kB / 251.1 MB, free: 7.574 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.009727, allocations: 4 kB / 251.1 MB, free: 7.57 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.009729, allocations: 0 / 251.1 MB, free: 7.57 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.009733, allocations: 4 kB / 251.1 MB, free: 7.566 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001188/0.009852, allocations: 105.7 kB / 251.2 MB, free: 7.445 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.887e-06/0.009861, allocations: 7.938 kB / 251.2 MB, free: 7.438 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.062e-05/0.009952, allocations: 39.91 kB / 251.2 MB, free: 7.398 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.096e-05/0.01, allocations: 19.89 kB / 251.2 MB, free: 7.379 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.501e-06/0.01001, allocations: 4 kB / 251.2 MB, free: 7.375 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.01002, allocations: 7.984 kB / 251.3 MB, free: 7.367 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.01002, allocations: 0 / 251.3 MB, free: 7.367 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.01002, allocations: 0 / 251.3 MB, free: 7.367 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.437e-05/0.01012, allocations: 147.1 kB / 251.4 MB, free: 7.203 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.589e-05/0.01014, allocations: 12.03 kB / 251.4 MB, free: 7.191 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.809e-05/0.0102, allocations: 11.98 kB / 251.4 MB, free: 7.18 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.339e-05/0.01023, allocations: 0 / 251.4 MB, free: 7.18 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.01025, allocations: 4 kB / 251.4 MB, free: 7.176 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.785e-05/0.01029, allocations: 49.81 kB / 251.5 MB, free: 7.125 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01029, allocations: 3.938 kB / 251.5 MB, free: 7.121 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001738/0.01047, allocations: 31.94 kB / 251.5 MB, free: 7.09 MB / 250.7 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.0002024/0.01067, allocations: 100.3 kB / 251.6 MB, free: 6.98 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001278/0.0108, allocations: 64.62 kB / 251.7 MB, free: 6.914 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/0.01081, allocations: 8 kB / 251.7 MB, free: 6.906 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.893e-05/0.01083, allocations: 8.859 kB / 251.7 MB, free: 6.895 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004557/0.01128, allocations: 324.2 kB / 252 MB, free: 6.531 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000868/0.01215, allocations: 353.5 kB / 252.3 MB, free: 6.152 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.803e-05/0.01221, allocations: 80.05 kB / 252.4 MB, free: 6.051 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.901e-05/0.01225, allocations: 17.14 kB / 252.4 MB, free: 6.035 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001028/0.01235, allocations: 79.34 kB / 252.5 MB, free: 5.957 MB / 250.7 MB Notification: Performance of SimCode: time 7.82e-07/0.01235, allocations: 0 / 252.5 MB, free: 5.957 MB / 250.7 MB Notification: Performance of Templates: time 0.004844/0.01719, allocations: 2.62 MB / 255.1 MB, free: 3.383 MB / 250.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7848299369215965]