Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009105/0.0009105, allocations: 88.73 kB / 21.5 MB, free: 2.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001079/0.001079, allocations: 168.9 kB / 24.91 MB, free: 8.762 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.08/1.08, allocations: 177 MB / 205.2 MB, free: 5.43 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 273.4 MB, free: 1.156 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.219e-05/2.352e-05, allocations: 6.25 kB / 273.4 MB, free: 1.148 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.002688/0.002712, allocations: 1.922 MB / 275.4 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00113/0.003842, allocations: 0.7552 MB / 276.1 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001248/0.003967, allocations: 0 / 276.1 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000152/0.004119, allocations: 23.73 kB / 276.1 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001704/0.004289, allocations: 31.73 kB / 276.2 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005546/0.004844, allocations: 171.4 kB / 276.3 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002324/0.005076, allocations: 151.5 kB / 276.5 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.005203, allocations: 46.41 kB / 276.5 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001773/0.00538, allocations: 87.73 kB / 276.6 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.875e-05/0.005479, allocations: 47.81 kB / 276.7 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.446e-05/0.005504, allocations: 12 kB / 276.7 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001099/0.005613, allocations: 51.97 kB / 276.7 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.66e-05/0.00568, allocations: 47.83 kB / 276.8 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.283e-05/0.005723, allocations: 43.84 kB / 276.8 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002079/0.005931, allocations: 147.5 kB / 277 MB, free: 13.61 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.005933, allocations: 3.938 kB / 277 MB, free: 13.6 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.005934, allocations: 4 kB / 277 MB, free: 13.6 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.399e-06/0.005938, allocations: 0 / 277 MB, free: 13.6 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.0005114/0.00645, allocations: 372.2 kB / 277.3 MB, free: 13.21 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.006493, allocations: 11.98 kB / 277.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001397/0.006633, allocations: 24.92 kB / 277.4 MB, free: 13.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002206/0.006853, allocations: 177.6 kB / 277.5 MB, free: 12.98 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/0.006873, allocations: 12.56 kB / 277.5 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.444e-05/0.006887, allocations: 8.375 kB / 277.6 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000469/0.007356, allocations: 266.9 kB / 277.8 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.007365, allocations: 0 / 277.8 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.007378, allocations: 12 kB / 277.8 MB, free: 12.65 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.007383, allocations: 0 / 277.8 MB, free: 12.65 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.876e-05/0.007432, allocations: 34.67 kB / 277.9 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002278/0.00766, allocations: 183.9 kB / 278 MB, free: 12.42 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001875/0.007847, allocations: 97.05 kB / 278.1 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.363e-05/0.007901, allocations: 57.02 kB / 278.2 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002214/0.008122, allocations: 55.95 kB / 278.2 MB, free: 12.19 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.00815, allocations: 34.56 kB / 278.3 MB, free: 12.15 MB / 266.7 MB Notification: Performance of pre-optimization done (n=19): time 1.633e-06/0.008152, allocations: 0 / 278.3 MB, free: 12.15 MB / 266.7 MB Notification: Performance of matching and sorting (n=19): time 0.0002025/0.008354, allocations: 109.5 kB / 278.4 MB, free: 12.04 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.363e-05/0.008418, allocations: 114.8 kB / 278.5 MB, free: 11.9 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.008522, allocations: 186.7 kB / 278.7 MB, free: 11.7 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.008536, allocations: 29.7 kB / 278.7 MB, free: 11.67 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.784e-05/0.008574, allocations: 96.61 kB / 278.8 MB, free: 11.57 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.647e-05/0.00859, allocations: 8.078 kB / 278.8 MB, free: 11.56 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.595e-05/0.008626, allocations: 29.66 kB / 278.8 MB, free: 11.53 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.424e-05/0.00871, allocations: 330.7 kB / 279.2 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.517e-05/0.008725, allocations: 10.77 kB / 279.2 MB, free: 11.18 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.965e-05/0.008765, allocations: 61.98 kB / 279.2 MB, free: 11.1 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.947e-05/0.008815, allocations: 54.69 kB / 279.3 MB, free: 11.03 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.008817, allocations: 0 / 279.3 MB, free: 11.03 MB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.519e-05/0.008902, allocations: 74.12 kB / 279.4 MB, free: 10.95 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.008919, allocations: 8 kB / 279.4 MB, free: 10.94 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.008924, allocations: 0 / 279.4 MB, free: 10.94 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.878e-06/0.008934, allocations: 0 / 279.4 MB, free: 10.94 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.351e-05/0.008998, allocations: 15.98 kB / 279.4 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.376e-06/0.009001, allocations: 3.938 kB / 279.4 MB, free: 10.92 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.687e-05/0.009038, allocations: 4 kB / 279.4 MB, free: 10.92 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.009046, allocations: 8 kB / 279.4 MB, free: 10.91 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 9.387e-05/0.009139, allocations: 136.7 kB / 279.5 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.127e-05/0.009221, allocations: 81.58 kB / 279.6 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001243/0.009345, allocations: 110.4 kB / 279.7 MB, free: 10.57 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.009349, allocations: 4 kB / 279.7 MB, free: 10.57 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.009351, allocations: 3.984 kB / 279.7 MB, free: 10.56 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.009355, allocations: 0 / 279.7 MB, free: 10.56 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001041/0.009459, allocations: 105.8 kB / 279.8 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.94e-06/0.009464, allocations: 3.938 kB / 279.8 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.702e-05/0.009541, allocations: 31.97 kB / 279.9 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.009543, allocations: 0 / 279.9 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.00955, allocations: 8 kB / 279.9 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.009551, allocations: 0 / 279.9 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.009553, allocations: 0 / 279.9 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.812e-05/0.009631, allocations: 151.2 kB / 280 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.948e-05/0.00968, allocations: 31.77 kB / 280.1 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.994e-05/0.0097, allocations: 4 kB / 280.1 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.279e-05/0.009753, allocations: 15.98 kB / 280.1 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.383e-05/0.009777, allocations: 0 / 280.1 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.009789, allocations: 4 kB / 280.1 MB, free: 10.18 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.813e-05/0.009837, allocations: 50.05 kB / 280.1 MB, free: 10.12 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009837, allocations: 4.031 kB / 280.1 MB, free: 10.12 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001571/0.009994, allocations: 27.95 kB / 280.2 MB, free: 10.09 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.0001352/0.01013, allocations: 104.3 kB / 280.3 MB, free: 9.98 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.974e-05/0.01023, allocations: 44.78 kB / 280.3 MB, free: 9.934 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.01023, allocations: 4 kB / 280.3 MB, free: 9.93 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.859e-06/0.01024, allocations: 4.859 kB / 280.3 MB, free: 9.922 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002958/0.01054, allocations: 123.8 kB / 280.4 MB, free: 9.797 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005225/0.01106, allocations: 337.1 kB / 280.8 MB, free: 9.434 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.125e-05/0.01111, allocations: 84.05 kB / 280.8 MB, free: 9.328 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.283e-05/0.01114, allocations: 9.141 kB / 280.9 MB, free: 9.32 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.21e-05/0.01124, allocations: 79.36 kB / 280.9 MB, free: 9.242 MB / 266.7 MB Notification: Performance of SimCode: time 1.002e-06/0.01124, allocations: 3.938 kB / 280.9 MB, free: 9.238 MB / 266.7 MB Notification: Performance of Templates: time 0.005344/0.01658, allocations: 2.579 MB / 283.5 MB, free: 6.699 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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: 3.016297177877277]