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.001248/0.001248, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001031/0.001031, allocations: 172 kB / 24.82 MB, free: 9.316 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.013/1.013, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.823e-06/1.823e-06, allocations: 0 / 273.4 MB, free: 1.305 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.382e-05/2.564e-05, allocations: 6.25 kB / 273.4 MB, free: 1.297 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.005925/0.005951, allocations: 1.878 MB / 275.3 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004241/0.01019, allocations: 0.7319 MB / 276 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001328/0.01032, allocations: 0 / 276 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001421/0.01047, allocations: 23.73 kB / 276 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001524/0.01062, allocations: 27.78 kB / 276.1 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000543/0.01116, allocations: 175.4 kB / 276.2 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000206/0.01137, allocations: 151.6 kB / 276.4 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.01149, allocations: 41.78 kB / 276.4 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001749/0.01167, allocations: 83.75 kB / 276.5 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.285e-05/0.01176, allocations: 43.81 kB / 276.5 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.689e-05/0.01179, allocations: 16 kB / 276.6 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001034/0.01189, allocations: 55.94 kB / 276.6 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.806e-05/0.01196, allocations: 43.84 kB / 276.7 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.269e-05/0.01201, allocations: 39.84 kB / 276.7 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002198/0.01223, allocations: 151.4 kB / 276.8 MB, free: 13.83 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.554e-06/0.01223, allocations: 0 / 276.8 MB, free: 13.83 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.01223, allocations: 0 / 276.8 MB, free: 13.83 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.497e-06/0.01224, allocations: 0 / 276.8 MB, free: 13.83 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.00056/0.0128, allocations: 0.4998 MB / 277.3 MB, free: 13.3 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.01284, allocations: 8.031 kB / 277.4 MB, free: 13.29 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003151/0.01599, allocations: 44.78 kB / 277.4 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002173/0.0162, allocations: 185.1 kB / 277.6 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.01622, allocations: 8.562 kB / 277.6 MB, free: 13.03 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.463e-05/0.01624, allocations: 8.375 kB / 277.6 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003669/0.0166, allocations: 284.4 kB / 277.9 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.01661, allocations: 0 / 277.9 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.01662, allocations: 4 kB / 277.9 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.01663, allocations: 4 kB / 277.9 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.965e-05/0.01668, allocations: 27.86 kB / 277.9 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002912/0.01697, allocations: 295.9 kB / 278.2 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002063/0.01718, allocations: 118.3 kB / 278.3 MB, free: 12.22 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.413e-05/0.01724, allocations: 53.59 kB / 278.4 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002327/0.01748, allocations: 55.95 kB / 278.4 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.0175, allocations: 45.38 kB / 278.5 MB, free: 12.05 MB / 266.7 MB Notification: Performance of pre-optimization done (n=19): time 1.603e-06/0.01751, allocations: 0 / 278.5 MB, free: 12.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=19): time 0.0002551/0.01776, allocations: 137.3 kB / 278.6 MB, free: 11.91 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.599e-05/0.01783, allocations: 122.7 kB / 278.7 MB, free: 11.77 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.01798, allocations: 237.3 kB / 279 MB, free: 11.52 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.01799, allocations: 25.7 kB / 279 MB, free: 11.48 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.765e-05/0.01806, allocations: 155.3 kB / 279.1 MB, free: 11.33 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.244e-05/0.01808, allocations: 11.94 kB / 279.1 MB, free: 11.32 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-05/0.01813, allocations: 35.44 kB / 279.2 MB, free: 11.27 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.01827, allocations: 0.5 MB / 279.7 MB, free: 10.76 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.45e-05/0.01828, allocations: 4 kB / 279.7 MB, free: 10.76 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.565e-05/0.01834, allocations: 84.09 kB / 279.8 MB, free: 10.65 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.465e-05/0.0184, allocations: 50.69 kB / 279.8 MB, free: 10.58 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.0184, allocations: 0 / 279.8 MB, free: 10.58 MB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000105/0.0185, allocations: 69.7 kB / 279.9 MB, free: 10.51 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.01852, allocations: 11.98 kB / 279.9 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.01852, allocations: 3.938 kB / 279.9 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.01853, allocations: 0 / 279.9 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.407e-05/0.0186, allocations: 15.94 kB / 279.9 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.875e-06/0.0186, allocations: 0 / 279.9 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.609e-05/0.01865, allocations: 11.95 kB / 279.9 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.01866, allocations: 7.984 kB / 279.9 MB, free: 10.46 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.0001084/0.01876, allocations: 175.8 kB / 280.1 MB, free: 10.28 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001438/0.01891, allocations: 104.3 kB / 280.2 MB, free: 10.17 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001737/0.01908, allocations: 127.3 kB / 280.3 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.748e-06/0.01909, allocations: 0 / 280.3 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.01909, allocations: 4 kB / 280.3 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.01909, allocations: 0 / 280.3 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001508/0.01924, allocations: 137.1 kB / 280.5 MB, free: 9.879 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.331e-06/0.01925, allocations: 4 kB / 280.5 MB, free: 9.875 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.053e-05/0.01934, allocations: 27.97 kB / 280.5 MB, free: 9.848 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.01934, allocations: 3.938 kB / 280.5 MB, free: 9.844 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.01935, allocations: 4 kB / 280.5 MB, free: 9.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.999e-06/0.01936, allocations: 4 kB / 280.5 MB, free: 9.836 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.01936, allocations: 4 kB / 280.5 MB, free: 9.832 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001351/0.0195, allocations: 211.5 kB / 280.7 MB, free: 9.602 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.884e-05/0.01956, allocations: 31.83 kB / 280.7 MB, free: 9.57 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.829e-05/0.01958, allocations: 11.98 kB / 280.8 MB, free: 9.559 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.793e-05/0.01966, allocations: 7.938 kB / 280.8 MB, free: 9.551 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.236e-05/0.01968, allocations: 4 kB / 280.8 MB, free: 9.547 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-05/0.0197, allocations: 7.984 kB / 280.8 MB, free: 9.539 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.876e-05/0.01979, allocations: 172.1 kB / 280.9 MB, free: 9.371 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01979, allocations: 0 / 280.9 MB, free: 9.371 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002507/0.02004, allocations: 20 kB / 281 MB, free: 9.352 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.0001562/0.0202, allocations: 127.1 kB / 281.1 MB, free: 9.215 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001217/0.02032, allocations: 51.59 kB / 281.1 MB, free: 9.16 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.02032, allocations: 0 / 281.1 MB, free: 9.16 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.314e-05/0.02033, allocations: 11.69 kB / 281.2 MB, free: 9.145 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003335/0.02067, allocations: 117.3 kB / 281.3 MB, free: 9.023 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008244/0.02149, allocations: 306.9 kB / 281.6 MB, free: 8.691 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.926e-05/0.02156, allocations: 88.05 kB / 281.7 MB, free: 8.582 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.717e-05/0.0216, allocations: 9.156 kB / 281.7 MB, free: 8.574 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001281/0.02172, allocations: 102.2 kB / 281.8 MB, free: 8.473 MB / 266.7 MB Notification: Performance of SimCode: time 1.162e-06/0.02173, allocations: 0 / 281.8 MB, free: 8.473 MB / 266.7 MB Notification: Performance of Templates: time 0.004874/0.0266, allocations: 2.623 MB / 284.4 MB, free: 5.891 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 -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.732808972708881]