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.001976/0.001976, allocations: 87.67 kB / 20.96 MB, free: 3.441 MB / 18.57 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.001994/0.001994, allocations: 161.3 kB / 24.27 MB, free: 136 kB / 18.57 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.588/1.588, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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 2.054e-06/2.054e-06, allocations: 0 / 272.3 MB, free: 1.812 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.245e-05/3.451e-05, allocations: 2.312 kB / 272.3 MB, free: 1.809 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.00392/0.003955, allocations: 1.863 MB / 274.2 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001748/0.005703, allocations: 0.7165 MB / 274.9 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001338/0.005837, allocations: 7.938 kB / 274.9 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000175/0.006012, allocations: 27.72 kB / 274.9 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001745/0.006187, allocations: 27.8 kB / 275 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006843/0.006871, allocations: 163.5 kB / 275.1 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003135/0.007184, allocations: 151.5 kB / 275.3 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001949/0.007379, allocations: 41.7 kB / 275.3 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002742/0.007653, allocations: 87.73 kB / 275.4 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001386/0.007792, allocations: 55.8 kB / 275.5 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.33e-05/0.007835, allocations: 16 kB / 275.5 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001458/0.007981, allocations: 51.97 kB / 275.5 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.008084, allocations: 39.83 kB / 275.6 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.532e-05/0.008169, allocations: 43.86 kB / 275.6 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004408/0.00861, allocations: 219.2 kB / 275.8 MB, free: 14.3 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.008613, allocations: 0 / 275.8 MB, free: 14.3 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.008615, allocations: 0 / 275.8 MB, free: 14.3 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.00862, allocations: 0 / 275.8 MB, free: 14.3 MB / 266.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.0009282/0.009548, allocations: 0.4996 MB / 276.3 MB, free: 13.77 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.009588, allocations: 12.03 kB / 276.3 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001881/0.009777, allocations: 32.8 kB / 276.4 MB, free: 13.72 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003621/0.01014, allocations: 204.3 kB / 276.6 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.01016, allocations: 4.562 kB / 276.6 MB, free: 13.49 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.305e-05/0.01018, allocations: 8.375 kB / 276.6 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000986/0.01117, allocations: 335.7 kB / 276.9 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.01118, allocations: 0 / 276.9 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.01119, allocations: 4 kB / 276.9 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.0112, allocations: 0 / 276.9 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002382/0.01144, allocations: 75.89 kB / 277 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005027/0.01194, allocations: 339.3 kB / 277.3 MB, free: 12.67 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005098/0.01245, allocations: 186 kB / 277.5 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002086/0.01266, allocations: 91.41 kB / 277.6 MB, free: 12.37 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004706/0.01313, allocations: 59.92 kB / 277.6 MB, free: 12.31 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.458e-05/0.01318, allocations: 49.61 kB / 277.7 MB, free: 12.25 MB / 266.7 MB Notification: Performance of pre-optimization done (n=19): time 1.312e-06/0.01319, allocations: 3.938 kB / 277.7 MB, free: 12.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=19): time 0.000684/0.01387, allocations: 211.1 kB / 277.9 MB, free: 12.04 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001458/0.01402, allocations: 114.8 kB / 278 MB, free: 11.9 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003371/0.01435, allocations: 269.4 kB / 278.3 MB, free: 11.62 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.268e-05/0.01438, allocations: 29.7 kB / 278.3 MB, free: 11.58 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/0.01452, allocations: 163.3 kB / 278.5 MB, free: 11.42 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.509e-05/0.01456, allocations: 15.94 kB / 278.5 MB, free: 11.4 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.408e-05/0.01462, allocations: 35.45 kB / 278.5 MB, free: 11.36 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003202/0.01494, allocations: 0.5079 MB / 279 MB, free: 10.84 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.084e-05/0.01499, allocations: 11.98 kB / 279 MB, free: 10.83 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/0.01511, allocations: 88.11 kB / 279.1 MB, free: 10.71 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001264/0.01524, allocations: 58.69 kB / 279.2 MB, free: 10.64 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.01524, allocations: 0 / 279.2 MB, free: 10.64 MB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001944/0.01544, allocations: 89.53 kB / 279.3 MB, free: 10.55 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.01545, allocations: 8 kB / 279.3 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.01546, allocations: 0 / 279.3 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.01547, allocations: 0 / 279.3 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.526e-05/0.01556, allocations: 16 kB / 279.3 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.01557, allocations: 3.984 kB / 279.3 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.592e-05/0.01564, allocations: 7.953 kB / 279.3 MB, free: 10.51 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.01565, allocations: 4 kB / 279.3 MB, free: 10.51 MB / 266.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 0.0001724/0.01582, allocations: 180.6 kB / 279.5 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003283/0.01615, allocations: 154.1 kB / 279.6 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003759/0.01652, allocations: 162 kB / 279.8 MB, free: 10 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.01653, allocations: 4 kB / 279.8 MB, free: 10 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/0.01654, allocations: 3.984 kB / 279.8 MB, free: 9.996 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.01655, allocations: 3.984 kB / 279.8 MB, free: 9.992 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002515/0.0168, allocations: 176.4 kB / 280 MB, free: 9.785 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.0168, allocations: 0 / 280 MB, free: 9.785 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001431/0.01695, allocations: 39.91 kB / 280 MB, free: 9.746 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.01695, allocations: 0 / 280 MB, free: 9.746 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.01697, allocations: 8 kB / 280 MB, free: 9.738 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.01697, allocations: 0 / 280 MB, free: 9.738 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.01697, allocations: 0 / 280 MB, free: 9.738 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004939/0.01746, allocations: 327.4 kB / 280.3 MB, free: 9.395 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.831e-05/0.01756, allocations: 39.83 kB / 280.4 MB, free: 9.355 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.882e-05/0.0176, allocations: 11.98 kB / 280.4 MB, free: 9.344 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.01771, allocations: 8 kB / 280.4 MB, free: 9.336 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.99e-05/0.01776, allocations: 3.938 kB / 280.4 MB, free: 9.332 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.616e-05/0.01779, allocations: 7.984 kB / 280.4 MB, free: 9.324 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001834/0.01797, allocations: 188.4 kB / 280.6 MB, free: 9.141 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01797, allocations: 0 / 280.6 MB, free: 9.141 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002927/0.01827, allocations: 31.95 kB / 280.6 MB, free: 9.109 MB / 266.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.0002193/0.01849, allocations: 115.2 kB / 280.7 MB, free: 8.984 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002896/0.01877, allocations: 90.67 kB / 280.8 MB, free: 8.895 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.01878, allocations: 0 / 280.8 MB, free: 8.895 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.285e-05/0.01882, allocations: 15.88 kB / 280.8 MB, free: 8.875 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000647/0.01947, allocations: 149.4 kB / 281 MB, free: 8.723 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000697/0.02016, allocations: 319 kB / 281.3 MB, free: 8.375 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001545/0.02032, allocations: 123.6 kB / 281.4 MB, free: 8.234 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.613e-05/0.02036, allocations: 9.156 kB / 281.4 MB, free: 8.227 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.954e-05/0.02041, allocations: 20.48 kB / 281.4 MB, free: 8.207 MB / 266.7 MB Notification: Performance of SimCode: time 7.31e-07/0.02041, allocations: 0 / 281.4 MB, free: 8.207 MB / 266.7 MB Notification: Performance of Templates: time 0.007217/0.02763, allocations: 2.456 MB / 283.9 MB, free: 5.781 MB / 266.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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.620453761890531]