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.001087/0.001087, allocations: 84.25 kB / 22.22 MB, free: 2.281 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.001209/0.001209, allocations: 165.3 kB / 25.61 MB, free: 8.898 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 0.9693/0.9693, allocations: 177 MB / 205.9 MB, free: 4.453 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.293e-06/1.293e-06, allocations: 0 / 274.1 MB, free: 4.277 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.328e-05/1.457e-05, allocations: 2.312 kB / 274.1 MB, free: 4.273 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.002737/0.002752, allocations: 1.887 MB / 276 MB, free: 2.387 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001079/0.003831, allocations: 0.7186 MB / 276.7 MB, free: 1.664 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.003938, allocations: 3.938 kB / 276.7 MB, free: 1.66 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001327/0.004071, allocations: 32.66 kB / 276.8 MB, free: 1.629 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001397/0.004211, allocations: 23.8 kB / 276.8 MB, free: 1.605 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004284/0.004639, allocations: 179.5 kB / 277 MB, free: 1.434 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001886/0.004828, allocations: 155.5 kB / 277.1 MB, free: 1.281 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.004934, allocations: 33.8 kB / 277.1 MB, free: 1.246 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001433/0.005077, allocations: 83.8 kB / 277.2 MB, free: 1.164 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.548e-05/0.005173, allocations: 53.08 kB / 277.3 MB, free: 1.113 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.005196, allocations: 16 kB / 277.3 MB, free: 1.098 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.516e-05/0.005282, allocations: 47.97 kB / 277.3 MB, free: 1.051 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.457e-05/0.005346, allocations: 47.83 kB / 277.4 MB, free: 1.004 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.184e-05/0.005388, allocations: 40.88 kB / 277.4 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001882/0.005576, allocations: 147.4 kB / 277.6 MB, free: 0.8203 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.005578, allocations: 0.6562 kB / 277.6 MB, free: 0.8203 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.005579, allocations: 0 / 277.6 MB, free: 0.8203 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.725e-06/0.005581, allocations: 8 kB / 277.6 MB, free: 0.8125 MB / 250.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.0006264/0.006208, allocations: 0.492 MB / 278.1 MB, free: 292 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.928e-05/0.006237, allocations: 8.031 kB / 278.1 MB, free: 284 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000115/0.006352, allocations: 40.78 kB / 278.1 MB, free: 244 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001925/0.006545, allocations: 188.4 kB / 278.3 MB, free: 28 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.00656, allocations: 4.562 kB / 278.3 MB, free: 24 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.396e-05/0.006574, allocations: 16.38 kB / 278.3 MB, free: 8 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003515/0.006926, allocations: 281.4 kB / 278.6 MB, free: 15.7 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.006933, allocations: 0 / 278.6 MB, free: 15.7 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.006944, allocations: 4 kB / 278.6 MB, free: 15.69 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.555e-06/0.006952, allocations: 11.94 kB / 278.6 MB, free: 15.68 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.622e-05/0.006998, allocations: 15.98 kB / 278.6 MB, free: 15.66 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002392/0.007237, allocations: 295.9 kB / 278.9 MB, free: 15.34 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001847/0.007422, allocations: 122 kB / 279 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.974e-05/0.007482, allocations: 55.05 kB / 279.1 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002061/0.007688, allocations: 56.22 kB / 279.1 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.007711, allocations: 45.33 kB / 279.2 MB, free: 15.03 MB / 266.7 MB Notification: Performance of pre-optimization done (n=19): time 1.292e-06/0.007713, allocations: 0 / 279.2 MB, free: 15.03 MB / 266.7 MB Notification: Performance of matching and sorting (n=19): time 0.0002311/0.007944, allocations: 133.4 kB / 279.3 MB, free: 14.89 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.222e-05/0.008006, allocations: 117.6 kB / 279.4 MB, free: 14.76 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001423/0.009429, allocations: 241.9 kB / 279.7 MB, free: 14.5 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.009445, allocations: 25.7 kB / 279.7 MB, free: 14.47 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.305e-05/0.009508, allocations: 155.3 kB / 279.8 MB, free: 14.32 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.672e-05/0.009525, allocations: 7.938 kB / 279.9 MB, free: 14.31 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.283e-05/0.009568, allocations: 35.45 kB / 279.9 MB, free: 14.27 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.009692, allocations: 0.5039 MB / 280.4 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.719e-05/0.009709, allocations: 7.984 kB / 280.4 MB, free: 13.74 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.924e-05/0.009758, allocations: 76.12 kB / 280.5 MB, free: 13.64 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.953e-05/0.009808, allocations: 50.67 kB / 280.5 MB, free: 13.57 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.009809, allocations: 4 kB / 280.5 MB, free: 13.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001008/0.00991, allocations: 73.55 kB / 280.6 MB, free: 13.49 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.009922, allocations: 8 kB / 280.6 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.009926, allocations: 0 / 280.6 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.356e-06/0.009935, allocations: 0 / 280.6 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.179e-05/0.009997, allocations: 12 kB / 280.6 MB, free: 13.47 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.966e-06/0.009999, allocations: 3.938 kB / 280.6 MB, free: 13.47 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.715e-05/0.01005, allocations: 11.94 kB / 280.6 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.01005, allocations: 4 kB / 280.6 MB, free: 13.45 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.232e-05/0.01015, allocations: 177.7 kB / 280.8 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001333/0.01028, allocations: 113.5 kB / 280.9 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001577/0.01044, allocations: 119.4 kB / 281 MB, free: 13.03 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.01044, allocations: 0 / 281 MB, free: 13.03 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.01044, allocations: 0 / 281 MB, free: 13.03 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.01044, allocations: 4 kB / 281 MB, free: 13.03 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002827/0.01327, allocations: 137.1 kB / 281.2 MB, free: 12.87 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.213e-06/0.01328, allocations: 0 / 281.2 MB, free: 12.87 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/0.01338, allocations: 35.92 kB / 281.2 MB, free: 12.83 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.01339, allocations: 0 / 281.2 MB, free: 12.83 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.467e-06/0.0134, allocations: 4 kB / 281.2 MB, free: 12.83 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.0134, allocations: 4 kB / 281.2 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.0134, allocations: 0 / 281.2 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001159/0.01351, allocations: 211.4 kB / 281.4 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.88e-05/0.01357, allocations: 39.81 kB / 281.5 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.539e-05/0.0136, allocations: 8 kB / 281.5 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.065e-05/0.01368, allocations: 4 kB / 281.5 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.094e-05/0.0137, allocations: 3.984 kB / 281.5 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.01372, allocations: 8 kB / 281.5 MB, free: 12.53 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.749e-05/0.01379, allocations: 168.3 kB / 281.7 MB, free: 12.37 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01379, allocations: 0 / 281.7 MB, free: 12.37 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002407/0.01403, allocations: 28.03 kB / 281.7 MB, free: 12.34 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.0002433/0.01428, allocations: 122.7 kB / 281.8 MB, free: 12.21 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001092/0.01439, allocations: 47.52 kB / 281.8 MB, free: 12.16 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.052e-06/0.01439, allocations: 0 / 281.8 MB, free: 12.16 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.45e-05/0.0144, allocations: 11.69 kB / 281.9 MB, free: 12.14 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003902/0.01479, allocations: 121.4 kB / 282 MB, free: 12.02 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004973/0.01529, allocations: 301.6 kB / 282.3 MB, free: 11.69 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.474e-05/0.01534, allocations: 84.05 kB / 282.4 MB, free: 11.59 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.229e-05/0.01538, allocations: 9.141 kB / 282.4 MB, free: 11.58 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.01549, allocations: 106.2 kB / 282.5 MB, free: 11.47 MB / 266.7 MB Notification: Performance of SimCode: time 7.32e-07/0.01549, allocations: 0 / 282.5 MB, free: 11.47 MB / 266.7 MB Notification: Performance of Templates: time 0.009444/0.02493, allocations: 2.686 MB / 285.2 MB, free: 8.832 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 -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: 2.769981171004474]