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.0009074/0.0009074, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.0009821/0.0009821, allocations: 170.5 kB / 24.91 MB, free: 8.68 MB / 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 0.9454/0.9454, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.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.673e-06/1.673e-06, allocations: 3.938 kB / 273.4 MB, free: 1.305 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.045e-05/1.212e-05, allocations: 2.312 kB / 273.4 MB, free: 1.301 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.002015/0.002027, allocations: 1.894 MB / 275.3 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009224/0.00295, allocations: 0.7435 MB / 276.1 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.645e-05/0.003036, allocations: 4 kB / 276.1 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001103/0.003147, allocations: 19.73 kB / 276.1 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001178/0.003264, allocations: 31.8 kB / 276.1 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003807/0.003645, allocations: 171.4 kB / 276.3 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001556/0.003801, allocations: 147.6 kB / 276.5 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.258e-05/0.003893, allocations: 46.42 kB / 276.5 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/0.004016, allocations: 87.73 kB / 276.6 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.632e-05/0.004092, allocations: 43.81 kB / 276.6 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.068e-05/0.004113, allocations: 16 kB / 276.6 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.44e-05/0.004188, allocations: 51.97 kB / 276.7 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.919e-05/0.004247, allocations: 47.83 kB / 276.7 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.749e-05/0.004284, allocations: 43.84 kB / 276.8 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001676/0.004452, allocations: 151.4 kB / 276.9 MB, free: 13.8 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.343e-06/0.004453, allocations: 0 / 276.9 MB, free: 13.8 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.004454, allocations: 0 / 276.9 MB, free: 13.8 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.655e-06/0.004457, allocations: 0 / 276.9 MB, free: 13.8 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.0003924/0.004849, allocations: 372.2 kB / 277.3 MB, free: 13.41 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.743e-05/0.004876, allocations: 16.03 kB / 277.3 MB, free: 13.4 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.958e-05/0.004966, allocations: 28.91 kB / 277.3 MB, free: 13.37 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.005127, allocations: 174.2 kB / 277.5 MB, free: 13.18 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.005141, allocations: 8.562 kB / 277.5 MB, free: 13.17 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.365e-05/0.005155, allocations: 8.375 kB / 277.5 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002828/0.005438, allocations: 268.6 kB / 277.8 MB, free: 12.87 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.691e-06/0.005443, allocations: 0 / 277.8 MB, free: 12.87 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.005454, allocations: 4 kB / 277.8 MB, free: 12.86 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.005459, allocations: 7.938 kB / 277.8 MB, free: 12.86 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.012e-05/0.005499, allocations: 30.75 kB / 277.8 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001654/0.005665, allocations: 183.8 kB / 278 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001398/0.005804, allocations: 105.1 kB / 278.1 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.285e-05/0.005847, allocations: 52.25 kB / 278.2 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001621/0.006009, allocations: 55.94 kB / 278.2 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.821e-05/0.006028, allocations: 34.56 kB / 278.2 MB, free: 12.35 MB / 266.7 MB Notification: Performance of pre-optimization done (n=19): time 2.214e-06/0.00603, allocations: 4 kB / 278.3 MB, free: 12.35 MB / 266.7 MB Notification: Performance of matching and sorting (n=19): time 0.0001572/0.006187, allocations: 105.5 kB / 278.4 MB, free: 12.24 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.243e-05/0.006239, allocations: 114.8 kB / 278.5 MB, free: 12.1 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.954e-05/0.006329, allocations: 186.1 kB / 278.6 MB, free: 11.91 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.006342, allocations: 29.7 kB / 278.7 MB, free: 11.87 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.307e-05/0.006375, allocations: 88.62 kB / 278.8 MB, free: 11.78 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.22e-05/0.006387, allocations: 11.94 kB / 278.8 MB, free: 11.77 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.92e-05/0.006416, allocations: 29.66 kB / 278.8 MB, free: 11.73 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.432e-05/0.006481, allocations: 322.8 kB / 279.1 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.377e-05/0.006495, allocations: 10.81 kB / 279.1 MB, free: 11.4 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.444e-05/0.006529, allocations: 74.03 kB / 279.2 MB, free: 11.3 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.852e-05/0.006568, allocations: 54.69 kB / 279.3 MB, free: 11.23 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.00657, allocations: 0 / 279.3 MB, free: 11.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.373e-05/0.006633, allocations: 74.09 kB / 279.3 MB, free: 11.15 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.778e-06/0.006643, allocations: 7.938 kB / 279.3 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.006648, allocations: 4 kB / 279.3 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.727e-06/0.006656, allocations: 4.156 kB / 279.3 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.335e-05/0.0067, allocations: 15.98 kB / 279.4 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.625e-06/0.006702, allocations: 0 / 279.4 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.159e-05/0.006734, allocations: 4 kB / 279.4 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.006739, allocations: 7.938 kB / 279.4 MB, free: 11.11 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 6.391e-05/0.006803, allocations: 123 kB / 279.5 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.382e-05/0.006877, allocations: 88.38 kB / 279.6 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001044/0.006981, allocations: 107.3 kB / 279.7 MB, free: 10.78 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.006985, allocations: 4 kB / 279.7 MB, free: 10.78 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.006987, allocations: 4 kB / 279.7 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.00699, allocations: 0 / 279.7 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.441e-05/0.007084, allocations: 105.8 kB / 279.8 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.007089, allocations: 7.938 kB / 279.8 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.032e-05/0.00715, allocations: 23.98 kB / 279.8 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.007152, allocations: 4 kB / 279.8 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.974e-06/0.007159, allocations: 3.984 kB / 279.8 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.007159, allocations: 0 / 279.8 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.00716, allocations: 0 / 279.8 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.942e-05/0.007219, allocations: 151.2 kB / 280 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.317e-05/0.007263, allocations: 39.78 kB / 280 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.007281, allocations: 11.94 kB / 280 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.264e-05/0.007334, allocations: 12 kB / 280 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.874e-05/0.007352, allocations: 3.984 kB / 280 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/0.007362, allocations: 4 kB / 280.1 MB, free: 10.38 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.782e-05/0.0074, allocations: 57.8 kB / 280.1 MB, free: 10.32 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0074, allocations: 0 / 280.1 MB, free: 10.32 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001439/0.007544, allocations: 23.95 kB / 280.1 MB, free: 10.29 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 9.582e-05/0.00764, allocations: 104.3 kB / 280.2 MB, free: 10.18 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.728e-05/0.007717, allocations: 44.84 kB / 280.3 MB, free: 10.13 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.007719, allocations: 0 / 280.3 MB, free: 10.13 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.014e-05/0.007729, allocations: 12.8 kB / 280.3 MB, free: 10.12 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000246/0.007975, allocations: 108.3 kB / 280.4 MB, free: 10 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004311/0.008406, allocations: 345.3 kB / 280.7 MB, free: 9.633 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.754e-05/0.008454, allocations: 80.06 kB / 280.8 MB, free: 9.531 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.735e-05/0.008481, allocations: 13.14 kB / 280.8 MB, free: 9.52 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.388e-05/0.008565, allocations: 83.34 kB / 280.9 MB, free: 9.438 MB / 266.7 MB Notification: Performance of SimCode: time 4.01e-07/0.008565, allocations: 0 / 280.9 MB, free: 9.438 MB / 266.7 MB Notification: Performance of Templates: time 0.003724/0.01229, allocations: 2.586 MB / 283.5 MB, free: 6.898 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.532397788017988]