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.001348/0.001348, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001149/0.001149, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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.008/1.008, allocations: 177 MB / 204.8 MB, free: 5.582 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 2.475e-06/2.475e-06, allocations: 3.938 kB / 272.9 MB, free: 1.453 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.533e-05/3.78e-05, allocations: 5.266 kB / 272.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.003385/0.003423, allocations: 1.895 MB / 274.8 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001256/0.004679, allocations: 0.732 MB / 275.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000113/0.004792, allocations: 0 / 275.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001564/0.004949, allocations: 31.67 kB / 275.6 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001704/0.005119, allocations: 31.78 kB / 275.6 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005873/0.005706, allocations: 167.4 kB / 275.8 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002273/0.005934, allocations: 151.5 kB / 275.9 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.006058, allocations: 37.77 kB / 276 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001844/0.006243, allocations: 83.8 kB / 276 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000101/0.006344, allocations: 47.81 kB / 276.1 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.75e-05/0.006371, allocations: 12 kB / 276.1 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.857e-05/0.00646, allocations: 59.89 kB / 276.2 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.449e-05/0.006544, allocations: 47.83 kB / 276.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.561e-05/0.00661, allocations: 39.86 kB / 276.3 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002427/0.006853, allocations: 151.4 kB / 276.4 MB, free: 13.95 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.006855, allocations: 0 / 276.4 MB, free: 13.95 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.006857, allocations: 0 / 276.4 MB, free: 13.95 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.794e-06/0.006865, allocations: 0 / 276.4 MB, free: 13.95 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.0006611/0.007526, allocations: 0.4921 MB / 276.9 MB, free: 13.43 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.007574, allocations: 11.98 kB / 276.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001549/0.007729, allocations: 44.78 kB / 276.9 MB, free: 13.37 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002601/0.007989, allocations: 188.4 kB / 277.1 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.458e-05/0.008014, allocations: 8.562 kB / 277.1 MB, free: 13.15 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/0.008033, allocations: 4.375 kB / 277.1 MB, free: 13.15 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000463/0.008496, allocations: 296.5 kB / 277.4 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/0.008515, allocations: 0 / 277.4 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.903e-05/0.008534, allocations: 4 kB / 277.4 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/0.008546, allocations: 4 kB / 277.4 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.448e-05/0.008621, allocations: 27.98 kB / 277.5 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003817/0.009002, allocations: 327.2 kB / 277.8 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002724/0.009275, allocations: 138.2 kB / 277.9 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.006e-05/0.009355, allocations: 67.41 kB / 278 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002704/0.009625, allocations: 59.94 kB / 278 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.009658, allocations: 41.38 kB / 278.1 MB, free: 12.09 MB / 266.7 MB Notification: Performance of pre-optimization done (n=19): time 2.585e-06/0.00966, allocations: 0 / 278.1 MB, free: 12.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=19): time 0.0002935/0.009954, allocations: 157.4 kB / 278.2 MB, free: 11.93 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.055e-05/0.01003, allocations: 114.8 kB / 278.4 MB, free: 11.79 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001682/0.0102, allocations: 241.4 kB / 278.6 MB, free: 11.54 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.01022, allocations: 29.7 kB / 278.6 MB, free: 11.5 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.036e-05/0.0103, allocations: 147.4 kB / 278.8 MB, free: 11.35 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.468e-05/0.01033, allocations: 15.94 kB / 278.8 MB, free: 11.34 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.147e-05/0.01037, allocations: 31.33 kB / 278.8 MB, free: 11.3 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.01052, allocations: 0.5 MB / 279.3 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.262e-05/0.01055, allocations: 7.938 kB / 279.3 MB, free: 10.78 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.966e-05/0.01061, allocations: 80.12 kB / 279.4 MB, free: 10.67 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.402e-05/0.01067, allocations: 54.75 kB / 279.4 MB, free: 10.6 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.686e-06/0.01067, allocations: 0 / 279.4 MB, free: 10.6 MB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001184/0.01079, allocations: 77.56 kB / 279.5 MB, free: 10.52 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.01081, allocations: 4 kB / 279.5 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.01082, allocations: 0 / 279.5 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.01084, allocations: 4 kB / 279.5 MB, free: 10.51 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.71e-05/0.01092, allocations: 8.125 kB / 279.5 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.01093, allocations: 11.94 kB / 279.6 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.423e-05/0.01097, allocations: 15.88 kB / 279.6 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.01098, allocations: 0 / 279.6 MB, free: 10.48 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 0.0001054/0.01109, allocations: 168.5 kB / 279.7 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001389/0.01122, allocations: 116.9 kB / 279.8 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001955/0.01142, allocations: 135.2 kB / 280 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.01142, allocations: 0 / 280 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.01143, allocations: 0 / 280 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.01143, allocations: 4 kB / 280 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001557/0.01159, allocations: 164.5 kB / 280.1 MB, free: 9.848 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/0.0116, allocations: 7.984 kB / 280.1 MB, free: 9.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.492e-05/0.01168, allocations: 27.98 kB / 280.2 MB, free: 9.812 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.01169, allocations: 0 / 280.2 MB, free: 9.812 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.0117, allocations: 8 kB / 280.2 MB, free: 9.805 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.0117, allocations: 0 / 280.2 MB, free: 9.805 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.0117, allocations: 0 / 280.2 MB, free: 9.805 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002276/0.01193, allocations: 290.6 kB / 280.5 MB, free: 9.5 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.062e-05/0.01199, allocations: 39.77 kB / 280.5 MB, free: 9.461 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.081e-05/0.01202, allocations: 8 kB / 280.5 MB, free: 9.453 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.74e-05/0.01209, allocations: 12 kB / 280.5 MB, free: 9.441 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.808e-05/0.01214, allocations: 7.984 kB / 280.5 MB, free: 9.434 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.787e-05/0.01216, allocations: 4 kB / 280.5 MB, free: 9.43 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.682e-05/0.01225, allocations: 172.4 kB / 280.7 MB, free: 9.262 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01225, allocations: 0 / 280.7 MB, free: 9.262 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000207/0.01246, allocations: 31.94 kB / 280.7 MB, free: 9.23 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.0001884/0.01265, allocations: 111.1 kB / 280.8 MB, free: 9.109 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001626/0.01281, allocations: 63.72 kB / 280.9 MB, free: 9.043 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.01281, allocations: 4.062 kB / 280.9 MB, free: 9.039 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.314e-05/0.01283, allocations: 7.688 kB / 280.9 MB, free: 9.027 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004134/0.01324, allocations: 136 kB / 281.1 MB, free: 8.895 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006832/0.01392, allocations: 294.9 kB / 281.3 MB, free: 8.57 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.543e-05/0.01399, allocations: 84.05 kB / 281.4 MB, free: 8.465 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.033e-05/0.01403, allocations: 17.2 kB / 281.4 MB, free: 8.449 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.945e-05/0.01407, allocations: 16.5 kB / 281.5 MB, free: 8.434 MB / 266.7 MB Notification: Performance of SimCode: time 9.82e-07/0.01407, allocations: 0 / 281.5 MB, free: 8.434 MB / 266.7 MB Notification: Performance of Templates: time 0.0053/0.01937, allocations: 2.444 MB / 283.9 MB, free: 6.016 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.925098169129342]