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.0008953/0.0008953, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001211/0.002107, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0007219/0.0007219, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009725/0.001694, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.9373/0.9373, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0871/1.024, allocations: 53.87 MB / 243.8 MB, free: 14.91 MB / 250.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.663e-06/1.663e-06, allocations: 0 / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.179e-05/2.345e-05, allocations: 2.312 kB / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.00275/0.002774, allocations: 1.942 MB / 247 MB, free: 11.69 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000943/0.003717, allocations: 0.7435 MB / 247.7 MB, free: 10.94 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.439e-05/0.003811, allocations: 7.938 kB / 247.7 MB, free: 10.93 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.274e-05/0.003894, allocations: 23.73 kB / 247.7 MB, free: 10.91 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001018/0.003996, allocations: 27.78 kB / 247.8 MB, free: 10.88 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003526/0.004348, allocations: 163.5 kB / 247.9 MB, free: 10.72 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001616/0.00451, allocations: 147.6 kB / 248.1 MB, free: 10.58 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.004613, allocations: 42.42 kB / 248.1 MB, free: 10.54 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001764/0.004789, allocations: 111.6 kB / 248.2 MB, free: 10.43 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.6e-05/0.004875, allocations: 39.88 kB / 248.3 MB, free: 10.39 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.345e-05/0.004898, allocations: 12 kB / 248.3 MB, free: 10.38 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.005002, allocations: 63.95 kB / 248.3 MB, free: 10.32 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.929e-05/0.005062, allocations: 35.86 kB / 248.4 MB, free: 10.28 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.836e-05/0.0051, allocations: 35.88 kB / 248.4 MB, free: 10.25 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001909/0.005291, allocations: 135.5 kB / 248.5 MB, free: 10.11 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.072e-05/0.005302, allocations: 0 / 248.5 MB, free: 10.11 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.005303, allocations: 0 / 248.5 MB, free: 10.11 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.271e-05/0.005315, allocations: 0 / 248.5 MB, free: 10.11 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.0004897/0.005805, allocations: 403.9 kB / 248.9 MB, free: 9.695 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.884e-05/0.005834, allocations: 12.03 kB / 248.9 MB, free: 9.684 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001581/0.005992, allocations: 102 kB / 249 MB, free: 9.566 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002347/0.006227, allocations: 181.6 kB / 249.2 MB, free: 9.363 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.006246, allocations: 8.562 kB / 249.2 MB, free: 9.355 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/0.006265, allocations: 8.375 kB / 249.2 MB, free: 9.348 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003063/0.006571, allocations: 278.7 kB / 249.5 MB, free: 9.047 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.006578, allocations: 0 / 249.5 MB, free: 9.047 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.006588, allocations: 0 / 249.5 MB, free: 9.047 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.006593, allocations: 7.938 kB / 249.5 MB, free: 9.039 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.257e-05/0.006636, allocations: 30.75 kB / 249.5 MB, free: 9.008 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001805/0.006817, allocations: 183.8 kB / 249.7 MB, free: 8.809 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001544/0.006971, allocations: 104.4 kB / 249.8 MB, free: 8.691 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.211e-05/0.007013, allocations: 45.77 kB / 249.9 MB, free: 8.641 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001796/0.007193, allocations: 55.94 kB / 249.9 MB, free: 8.586 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.007217, allocations: 30.56 kB / 250 MB, free: 8.547 MB / 250.7 MB Notification: Performance of pre-optimization done (n=19): time 1.313e-06/0.007218, allocations: 0 / 250 MB, free: 8.547 MB / 250.7 MB Notification: Performance of matching and sorting (n=19): time 0.0001609/0.007379, allocations: 113.5 kB / 250.1 MB, free: 8.43 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/0.007426, allocations: 93.05 kB / 250.2 MB, free: 8.32 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.838e-05/0.007515, allocations: 178.1 kB / 250.3 MB, free: 8.133 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.007527, allocations: 25.7 kB / 250.4 MB, free: 8.102 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.353e-05/0.00756, allocations: 104.7 kB / 250.5 MB, free: 7.996 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.61e-05/0.007577, allocations: 7.938 kB / 250.5 MB, free: 7.988 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-05/0.007608, allocations: 29.66 kB / 250.5 MB, free: 7.953 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.082e-05/0.007678, allocations: 326.8 kB / 250.8 MB, free: 7.625 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.522e-05/0.007694, allocations: 6.828 kB / 250.8 MB, free: 7.617 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.8e-05/0.007732, allocations: 73.95 kB / 250.9 MB, free: 7.523 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.119e-05/0.007773, allocations: 46.69 kB / 250.9 MB, free: 7.461 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.007775, allocations: 0 / 250.9 MB, free: 7.461 MB / 250.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.691e-05/0.007842, allocations: 74.12 kB / 251 MB, free: 7.379 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.007854, allocations: 14.91 kB / 251 MB, free: 7.367 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.007858, allocations: 0 / 251 MB, free: 7.367 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.935e-06/0.007866, allocations: 0 / 251 MB, free: 7.367 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.67e-05/0.007923, allocations: 23.92 kB / 251.1 MB, free: 7.344 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.075e-06/0.007926, allocations: 4 kB / 251.1 MB, free: 7.34 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.424e-05/0.00796, allocations: 4 kB / 251.1 MB, free: 7.336 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.007966, allocations: 3.984 kB / 251.1 MB, free: 7.332 MB / 250.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 7.843e-05/0.008044, allocations: 132.7 kB / 251.2 MB, free: 7.191 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.809e-05/0.008122, allocations: 85.59 kB / 251.3 MB, free: 7.102 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001189/0.008241, allocations: 99.45 kB / 251.4 MB, free: 7 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.008244, allocations: 0 / 251.4 MB, free: 7 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/0.008246, allocations: 4 kB / 251.4 MB, free: 6.996 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.00825, allocations: 0 / 251.4 MB, free: 6.996 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.78e-05/0.008347, allocations: 101.7 kB / 251.5 MB, free: 6.879 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.008353, allocations: 7.922 kB / 251.5 MB, free: 6.871 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.585e-05/0.008429, allocations: 35.92 kB / 251.5 MB, free: 6.836 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.158e-05/0.008471, allocations: 27.89 kB / 251.5 MB, free: 6.809 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.008473, allocations: 4 kB / 251.5 MB, free: 6.805 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/0.00848, allocations: 0 / 251.5 MB, free: 6.805 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.008482, allocations: 4 kB / 251.6 MB, free: 6.801 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.008483, allocations: 0 / 251.6 MB, free: 6.801 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.912e-05/0.008552, allocations: 147.2 kB / 251.7 MB, free: 6.637 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.979e-05/0.008572, allocations: 7.922 kB / 251.7 MB, free: 6.629 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.239e-05/0.008625, allocations: 8 kB / 251.7 MB, free: 6.621 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.817e-05/0.008643, allocations: 4 kB / 251.7 MB, free: 6.617 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.008653, allocations: 3.984 kB / 251.7 MB, free: 6.613 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.592e-05/0.008689, allocations: 54.08 kB / 251.8 MB, free: 6.559 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008689, allocations: 4 kB / 251.8 MB, free: 6.555 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001389/0.008828, allocations: 31.94 kB / 251.8 MB, free: 6.523 MB / 250.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.0001149/0.008943, allocations: 96.34 kB / 251.9 MB, free: 6.418 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.752e-05/0.00903, allocations: 44.73 kB / 251.9 MB, free: 6.371 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.009035, allocations: 4 kB / 251.9 MB, free: 6.367 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 8.597e-06/0.009044, allocations: 4.859 kB / 252 MB, free: 6.359 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/0.009318, allocations: 140.4 kB / 252.1 MB, free: 6.215 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007296/0.01005, allocations: 353.1 kB / 252.4 MB, free: 5.84 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.997e-05/0.0101, allocations: 84.05 kB / 252.5 MB, free: 5.734 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.777e-05/0.01013, allocations: 13.16 kB / 252.5 MB, free: 5.723 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.662e-05/0.01021, allocations: 79.34 kB / 252.6 MB, free: 5.645 MB / 250.7 MB Notification: Performance of SimCode: time 8.11e-07/0.01021, allocations: 0 / 252.6 MB, free: 5.645 MB / 250.7 MB Notification: Performance of Templates: time 0.003886/0.0141, allocations: 2.674 MB / 255.3 MB, free: 3.008 MB / 250.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 -ignoreHideResult -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.3591564632952213]