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.00101/0.00101, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001035/0.001035, allocations: 172.7 kB / 24.91 MB, free: 9.148 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 1.02/1.02, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.463e-06/1.463e-06, allocations: 0 / 273.5 MB, free: 1.246 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.042e-05/2.188e-05, allocations: 2.312 kB / 273.5 MB, free: 1.242 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.002578/0.0026, allocations: 1.934 MB / 275.4 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00103/0.00363, allocations: 0.7397 MB / 276.2 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.00373, allocations: 3.938 kB / 276.2 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001332/0.003864, allocations: 27.73 kB / 276.2 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001394/0.004003, allocations: 27.78 kB / 276.2 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004308/0.004434, allocations: 179.3 kB / 276.4 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001806/0.004614, allocations: 151.6 kB / 276.5 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.004725, allocations: 42.41 kB / 276.6 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001466/0.004872, allocations: 83.8 kB / 276.7 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.976e-05/0.004961, allocations: 43.83 kB / 276.7 MB, free: 14 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.212e-05/0.004983, allocations: 16 kB / 276.7 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001062/0.00509, allocations: 59.94 kB / 276.8 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.898e-05/0.005149, allocations: 39.8 kB / 276.8 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.094e-05/0.00519, allocations: 47.83 kB / 276.9 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001895/0.005379, allocations: 147.5 kB / 277 MB, free: 13.7 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.005381, allocations: 0 / 277 MB, free: 13.7 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.005382, allocations: 4 kB / 277 MB, free: 13.69 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.237e-06/0.005385, allocations: 0 / 277 MB, free: 13.69 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.0004766/0.005862, allocations: 380.1 kB / 277.4 MB, free: 13.3 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.005898, allocations: 12.03 kB / 277.4 MB, free: 13.29 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001149/0.006013, allocations: 24.91 kB / 277.4 MB, free: 13.26 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001844/0.006198, allocations: 170.3 kB / 277.6 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.006214, allocations: 12.56 kB / 277.6 MB, free: 13.06 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.391e-05/0.006228, allocations: 16.31 kB / 277.6 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002826/0.00651, allocations: 266.1 kB / 277.9 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.006517, allocations: 0 / 277.9 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.006526, allocations: 4 kB / 277.9 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.006533, allocations: 7.984 kB / 277.9 MB, free: 12.74 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.839e-05/0.006572, allocations: 18.83 kB / 277.9 MB, free: 12.72 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001871/0.006759, allocations: 195.7 kB / 278.1 MB, free: 12.51 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001484/0.006907, allocations: 100.8 kB / 278.2 MB, free: 12.4 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.4e-05/0.006951, allocations: 45.77 kB / 278.2 MB, free: 12.35 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001842/0.007135, allocations: 67.81 kB / 278.3 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.878e-05/0.007154, allocations: 34.56 kB / 278.3 MB, free: 12.24 MB / 266.7 MB Notification: Performance of pre-optimization done (n=19): time 1.052e-06/0.007155, allocations: 0 / 278.3 MB, free: 12.24 MB / 266.7 MB Notification: Performance of matching and sorting (n=19): time 0.0001674/0.007323, allocations: 111.5 kB / 278.5 MB, free: 12.12 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.189e-05/0.007374, allocations: 110.8 kB / 278.6 MB, free: 11.99 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.205e-05/0.007466, allocations: 178.1 kB / 278.7 MB, free: 11.8 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.007478, allocations: 29.7 kB / 278.8 MB, free: 11.77 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.499e-05/0.007513, allocations: 96.61 kB / 278.9 MB, free: 11.67 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.398e-05/0.007527, allocations: 12.06 kB / 278.9 MB, free: 11.66 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.115e-05/0.007558, allocations: 29.66 kB / 278.9 MB, free: 11.62 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.083e-05/0.007629, allocations: 326.7 kB / 279.2 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.183e-05/0.007641, allocations: 6.828 kB / 279.2 MB, free: 11.29 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.391e-05/0.007675, allocations: 65.98 kB / 279.3 MB, free: 11.2 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.192e-05/0.007716, allocations: 50.69 kB / 279.3 MB, free: 11.14 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.007718, allocations: 0 / 279.3 MB, free: 11.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.612e-05/0.007784, allocations: 78.06 kB / 279.4 MB, free: 11.05 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.007795, allocations: 4 kB / 279.4 MB, free: 11.05 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.007801, allocations: 7.984 kB / 279.4 MB, free: 11.04 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/0.00781, allocations: 0 / 279.4 MB, free: 11.04 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.998e-05/0.00786, allocations: 15.98 kB / 279.4 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.825e-06/0.007863, allocations: 3.938 kB / 279.4 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.467e-05/0.007898, allocations: 8 kB / 279.5 MB, free: 11.01 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-06/0.007903, allocations: 4 kB / 279.5 MB, free: 11.01 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 8.303e-05/0.007986, allocations: 143.1 kB / 279.6 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.821e-05/0.008064, allocations: 84.22 kB / 279.7 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001136/0.008178, allocations: 106.2 kB / 279.8 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.37e-05/0.008191, allocations: 4 kB / 279.8 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.008193, allocations: 0 / 279.8 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.008197, allocations: 0 / 279.8 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.779e-05/0.008294, allocations: 97.81 kB / 279.9 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.008301, allocations: 11.92 kB / 279.9 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.952e-05/0.00837, allocations: 31.92 kB / 279.9 MB, free: 10.51 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.008372, allocations: 0 / 279.9 MB, free: 10.51 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.008381, allocations: 8 kB / 279.9 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.093e-06/0.008382, allocations: 4 kB / 279.9 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.008383, allocations: 0 / 279.9 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.226e-05/0.008455, allocations: 151.2 kB / 280.1 MB, free: 10.33 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.845e-05/0.008503, allocations: 27.77 kB / 280.1 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.025e-05/0.008524, allocations: 11.98 kB / 280.1 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.172e-05/0.008575, allocations: 8 kB / 280.1 MB, free: 10.28 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.33e-05/0.008599, allocations: 4 kB / 280.1 MB, free: 10.28 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.008609, allocations: 0 / 280.1 MB, free: 10.28 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.582e-05/0.008655, allocations: 61.73 kB / 280.2 MB, free: 10.21 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008655, allocations: 4.031 kB / 280.2 MB, free: 10.21 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001526/0.008807, allocations: 31.95 kB / 280.2 MB, free: 10.18 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.0001037/0.008911, allocations: 88.41 kB / 280.3 MB, free: 10.08 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.299e-05/0.009004, allocations: 48.77 kB / 280.4 MB, free: 10.03 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.009007, allocations: 4 kB / 280.4 MB, free: 10.03 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.928e-06/0.009017, allocations: 4.859 kB / 280.4 MB, free: 10.02 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/0.0093, allocations: 124.5 kB / 280.5 MB, free: 9.891 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004665/0.009766, allocations: 341.1 kB / 280.8 MB, free: 9.523 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.064e-05/0.009817, allocations: 84.06 kB / 280.9 MB, free: 9.418 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.064e-05/0.009847, allocations: 13.12 kB / 280.9 MB, free: 9.406 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.843e-05/0.009936, allocations: 79.34 kB / 281 MB, free: 9.328 MB / 266.7 MB Notification: Performance of SimCode: time 5.41e-07/0.009936, allocations: 0 / 281 MB, free: 9.328 MB / 266.7 MB Notification: Performance of Templates: time 0.004232/0.01417, allocations: 2.588 MB / 283.6 MB, free: 6.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 -s gbode -gbm=radauIIA3 -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.7169916783459485]