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.001555/0.001555, allocations: 103.6 kB / 21.18 MB, free: 0.6719 MB / 14.72 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.001812/0.001812, allocations: 211.6 kB / 24.48 MB, free: 3.969 MB / 14.72 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.54/1.54, allocations: 230.6 MB / 258.2 MB, free: 7.797 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+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 0.001522/0.001522, allocations: 47.92 kB / 379 MB, free: 2.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2525/0.254, allocations: 53.35 MB / 432.3 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.003311/0.2573, allocations: 1.847 MB / 434.2 MB, free: 4.891 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00132/0.2586, allocations: 0.7011 MB / 434.9 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.2587, allocations: 7.938 kB / 434.9 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001336/0.2589, allocations: 23.8 kB / 434.9 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001513/0.259, allocations: 31.72 kB / 434.9 MB, free: 4.121 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005199/0.2595, allocations: 158.9 kB / 435.1 MB, free: 3.969 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002333/0.2598, allocations: 155.5 kB / 435.2 MB, free: 3.816 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.2599, allocations: 41.39 kB / 435.3 MB, free: 3.777 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001411/0.26, allocations: 71.69 kB / 435.4 MB, free: 3.707 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001183/0.2602, allocations: 63.7 kB / 435.4 MB, free: 3.645 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.64e-05/0.2602, allocations: 15.94 kB / 435.4 MB, free: 3.629 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.2603, allocations: 55.97 kB / 435.5 MB, free: 3.574 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.992e-05/0.2604, allocations: 31.91 kB / 435.5 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.394e-05/0.2604, allocations: 63.59 kB / 435.6 MB, free: 3.48 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002818/0.2607, allocations: 206.1 kB / 435.8 MB, free: 3.281 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.2607, allocations: 0 / 435.8 MB, free: 3.281 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2607, allocations: 0 / 435.8 MB, free: 3.281 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.2607, allocations: 0 / 435.8 MB, free: 3.281 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.0007312/0.2615, allocations: 405.6 kB / 436.2 MB, free: 2.855 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.915e-05/0.2615, allocations: 11.97 kB / 436.2 MB, free: 2.844 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001547/0.2616, allocations: 32.78 kB / 436.2 MB, free: 2.812 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003395/0.262, allocations: 194.7 kB / 436.4 MB, free: 2.598 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.262, allocations: 8.562 kB / 436.4 MB, free: 2.59 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.501e-05/0.262, allocations: 12.12 kB / 436.4 MB, free: 2.578 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006984/0.2627, allocations: 358 kB / 436.8 MB, free: 2.203 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.2627, allocations: 0 / 436.8 MB, free: 2.203 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.77e-05/0.2627, allocations: 7.984 kB / 436.8 MB, free: 2.195 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.2628, allocations: 11.88 kB / 436.8 MB, free: 2.184 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000227/0.263, allocations: 79.94 kB / 436.9 MB, free: 2.105 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003778/0.2634, allocations: 269.2 kB / 437.1 MB, free: 1.809 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004388/0.2638, allocations: 185 kB / 437.3 MB, free: 1.609 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001977/0.264, allocations: 93.73 kB / 437.4 MB, free: 1.512 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003762/0.2644, allocations: 56.22 kB / 437.5 MB, free: 1.457 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.2644, allocations: 38.5 kB / 437.5 MB, free: 1.41 MB / 334.1 MB Notification: Performance of pre-optimization done (n=19): time 1.312e-06/0.2644, allocations: 0 / 437.5 MB, free: 1.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=19): time 0.0005897/0.265, allocations: 245.2 kB / 437.7 MB, free: 1.164 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/0.2651, allocations: 114.8 kB / 437.9 MB, free: 1.027 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000203/0.2653, allocations: 194.8 kB / 438 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/0.2653, allocations: 29.7 kB / 438.1 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.231e-05/0.2654, allocations: 104.6 kB / 438.2 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.594e-05/0.2654, allocations: 19.89 kB / 438.2 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.863e-05/0.2655, allocations: 37.7 kB / 438.2 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.2656, allocations: 330.8 kB / 438.6 MB, free: 292 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.267e-05/0.2657, allocations: 35.98 kB / 438.6 MB, free: 256 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002089/0.2659, allocations: 197.9 kB / 438.8 MB, free: 15.99 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002637/0.2662, allocations: 200.1 kB / 439 MB, free: 15.74 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.2662, allocations: 0 / 439 MB, free: 15.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003368/0.2665, allocations: 213.2 kB / 439.2 MB, free: 15.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.778e-05/0.2666, allocations: 19.05 kB / 439.2 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.637e-06/0.2666, allocations: 4.594 kB / 439.2 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.297e-05/0.2666, allocations: 12 kB / 439.2 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.2667, allocations: 43.92 kB / 439.3 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/0.2668, allocations: 7.938 kB / 439.3 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001167/0.2669, allocations: 23.88 kB / 439.3 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.561e-05/0.2669, allocations: 12 kB / 439.3 MB, free: 15.41 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.000148/0.267, allocations: 147.3 kB / 439.5 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003081/0.2673, allocations: 165.4 kB / 439.6 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003694/0.2677, allocations: 183.3 kB / 439.8 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.2677, allocations: 4 kB / 439.8 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.2677, allocations: 4 kB / 439.8 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.2677, allocations: 0 / 439.8 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001926/0.2679, allocations: 157.2 kB / 440 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.2679, allocations: 0 / 440 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001484/0.2681, allocations: 27.98 kB / 440 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.2681, allocations: 0 / 440 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.946e-05/0.2681, allocations: 15.88 kB / 440 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.2681, allocations: 3.984 kB / 440 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2681, allocations: 4 kB / 440 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004155/0.2685, allocations: 284.1 kB / 440.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.202e-05/0.2686, allocations: 35.83 kB / 440.3 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.857e-05/0.2686, allocations: 15.92 kB / 440.3 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/0.2688, allocations: 7.984 kB / 440.3 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.188e-05/0.2688, allocations: 4 kB / 440.3 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.917e-05/0.2688, allocations: 8 kB / 440.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001397/0.269, allocations: 152 kB / 440.5 MB, free: 14.14 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.269, allocations: 4 kB / 440.5 MB, free: 14.14 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003157/0.2693, allocations: 28 kB / 440.5 MB, free: 14.11 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.0001585/0.2694, allocations: 115.2 kB / 440.6 MB, free: 13.99 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003391/0.2698, allocations: 144.8 kB / 440.8 MB, free: 13.85 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2698, allocations: 4.062 kB / 440.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.787e-05/0.2698, allocations: 8 kB / 440.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005803/0.2704, allocations: 143.9 kB / 440.9 MB, free: 13.69 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006611/0.2711, allocations: 366.7 kB / 441.3 MB, free: 13.29 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001323/0.2712, allocations: 131.6 kB / 441.4 MB, free: 13.14 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.707e-05/0.2712, allocations: 15.44 kB / 441.4 MB, free: 13.13 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2712, allocations: 0 / 441.4 MB, free: 13.13 MB / 350.1 MB Notification: Performance of Templates: time 0.004404/0.2756, allocations: 2.318 MB / 443.8 MB, free: 10.82 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleWithADeffects/SampleWithADeffects.csv","/var/lib/jenkins1/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: 7.236492219002685]