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.001011/0.001011, 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.001282/0.001282, allocations: 164.2 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.064/1.064, allocations: 177 MB / 205.2 MB, free: 5.051 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.492e-06/1.492e-06, allocations: 0 / 273.4 MB, free: 1.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.445e-05/2.594e-05, allocations: 2.312 kB / 273.4 MB, free: 1.07 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.002908/0.002934, allocations: 1.882 MB / 275.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001393/0.004327, allocations: 0.7474 MB / 276 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001248/0.004451, allocations: 7.938 kB / 276 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00018/0.004631, allocations: 19.8 kB / 276 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002011/0.004833, allocations: 27.73 kB / 276.1 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006363/0.005469, allocations: 175.4 kB / 276.2 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002171/0.005686, allocations: 159.5 kB / 276.4 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.005812, allocations: 42.41 kB / 276.4 MB, free: 14 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001846/0.005996, allocations: 83.81 kB / 276.5 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.006098, allocations: 47.81 kB / 276.6 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.713e-05/0.006125, allocations: 16 kB / 276.6 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.958e-05/0.006225, allocations: 51.95 kB / 276.6 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.92e-05/0.006304, allocations: 43.84 kB / 276.7 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.13e-05/0.006355, allocations: 39.84 kB / 276.7 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002496/0.006605, allocations: 151.4 kB / 276.9 MB, free: 13.57 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.006608, allocations: 0 / 276.9 MB, free: 13.57 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.006609, allocations: 0 / 276.9 MB, free: 13.57 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.006616, allocations: 0 / 276.9 MB, free: 13.57 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.0006343/0.00725, allocations: 384.2 kB / 277.2 MB, free: 13.17 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.007299, allocations: 11.98 kB / 277.3 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001642/0.007463, allocations: 20.92 kB / 277.3 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002488/0.007712, allocations: 177.6 kB / 277.4 MB, free: 12.94 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.453e-05/0.007736, allocations: 8.562 kB / 277.5 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.883e-05/0.007755, allocations: 12.38 kB / 277.5 MB, free: 12.92 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003795/0.008135, allocations: 267.1 kB / 277.7 MB, free: 12.63 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.008144, allocations: 0 / 277.7 MB, free: 12.63 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.008158, allocations: 11.94 kB / 277.7 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.944e-06/0.008165, allocations: 0 / 277.7 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.89e-05/0.008214, allocations: 30.75 kB / 277.8 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002456/0.00846, allocations: 183.9 kB / 277.9 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001863/0.008646, allocations: 101 kB / 278 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.599e-05/0.008692, allocations: 41.77 kB / 278.1 MB, free: 12.22 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002173/0.008909, allocations: 59.94 kB / 278.1 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.008933, allocations: 42.5 kB / 278.2 MB, free: 12.11 MB / 266.7 MB Notification: Performance of pre-optimization done (n=19): time 2.224e-06/0.008936, allocations: 0 / 278.2 MB, free: 12.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=19): time 0.0001913/0.009127, allocations: 108.7 kB / 278.3 MB, free: 12 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.807e-05/0.009195, allocations: 118.8 kB / 278.4 MB, free: 11.86 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.009305, allocations: 182.7 kB / 278.6 MB, free: 11.67 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.009319, allocations: 25.7 kB / 278.6 MB, free: 11.64 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.03e-05/0.009359, allocations: 96.61 kB / 278.7 MB, free: 11.54 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.444e-05/0.009374, allocations: 7.891 kB / 278.7 MB, free: 11.54 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.691e-05/0.009411, allocations: 33.64 kB / 278.7 MB, free: 11.5 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.718e-05/0.009498, allocations: 326.9 kB / 279.1 MB, free: 11.17 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.931e-05/0.009517, allocations: 10.83 kB / 279.1 MB, free: 11.16 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.43e-05/0.009562, allocations: 69.98 kB / 279.1 MB, free: 11.07 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.133e-05/0.009613, allocations: 58.69 kB / 279.2 MB, free: 10.99 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.009615, allocations: 0 / 279.2 MB, free: 10.99 MB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.397e-05/0.009699, allocations: 74.08 kB / 279.3 MB, free: 10.91 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.009713, allocations: 16.09 kB / 279.3 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.009718, allocations: 0 / 279.3 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.009731, allocations: 0 / 279.3 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.23e-05/0.009793, allocations: 15.98 kB / 279.3 MB, free: 10.88 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.587e-06/0.009796, allocations: 0 / 279.3 MB, free: 10.88 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.565e-05/0.009842, allocations: 4 kB / 279.3 MB, free: 10.88 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.009849, allocations: 4 kB / 279.3 MB, free: 10.87 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.211e-05/0.009941, allocations: 128.6 kB / 279.4 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.332e-05/0.01003, allocations: 85.52 kB / 279.5 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001268/0.01016, allocations: 99.39 kB / 279.6 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.01017, allocations: 8 kB / 279.6 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-06/0.01017, allocations: 0 / 279.6 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.01017, allocations: 3.984 kB / 279.6 MB, free: 10.53 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001166/0.01029, allocations: 105.7 kB / 279.7 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.0103, allocations: 3.938 kB / 279.7 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.915e-05/0.01038, allocations: 31.92 kB / 279.8 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.01038, allocations: 3.984 kB / 279.8 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.01039, allocations: 4 kB / 279.8 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/0.01039, allocations: 4 kB / 279.8 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.01039, allocations: 0 / 279.8 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.597e-05/0.01049, allocations: 145.9 kB / 279.9 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.119e-05/0.01054, allocations: 31.77 kB / 280 MB, free: 10.17 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.211e-05/0.01056, allocations: 8 kB / 280 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.813e-05/0.01062, allocations: 7.984 kB / 280 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.544e-05/0.01064, allocations: 4 kB / 280 MB, free: 10.15 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.01066, allocations: 0 / 280 MB, free: 10.15 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.395e-05/0.0107, allocations: 57.98 kB / 280 MB, free: 10.09 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0107, allocations: 0 / 280 MB, free: 10.09 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001626/0.01086, allocations: 31.95 kB / 280.1 MB, free: 10.06 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.0001383/0.011, allocations: 96.44 kB / 280.2 MB, free: 9.957 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001039/0.0111, allocations: 44.77 kB / 280.2 MB, free: 9.91 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.01111, allocations: 4 kB / 280.2 MB, free: 9.906 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.718e-06/0.01112, allocations: 4.859 kB / 280.2 MB, free: 9.898 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002932/0.01141, allocations: 124.2 kB / 280.3 MB, free: 9.77 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005458/0.01196, allocations: 341.4 kB / 280.7 MB, free: 9.402 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.01e-05/0.01201, allocations: 87.98 kB / 280.8 MB, free: 9.293 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.537e-05/0.01204, allocations: 9.141 kB / 280.8 MB, free: 9.285 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.481e-05/0.01214, allocations: 79.34 kB / 280.8 MB, free: 9.207 MB / 266.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01214, allocations: 0 / 280.8 MB, free: 9.207 MB / 266.7 MB Notification: Performance of Templates: time 0.004546/0.01668, allocations: 2.587 MB / 283.4 MB, free: 6.664 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: 3.0607603010721505]