Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.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.001823/0.001823, allocations: 114.5 kB / 21.17 MB, free: 0.6172 MB / 14.72 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.002047/0.002047, allocations: 206.2 kB / 24.47 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.614/1.614, allocations: 230.4 MB / 258.1 MB, free: 8.141 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.BooleanSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002872/0.002872, allocations: 67.84 kB / 378.7 MB, free: 2.918 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4845/0.4874, allocations: 53.31 MB / 432 MB, free: 7.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.005403/0.4928, allocations: 1.937 MB / 434 MB, free: 5.465 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002838/0.4957, allocations: 1.22 MB / 435.2 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002574/0.4959, allocations: 7.938 kB / 435.2 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008359/0.4968, allocations: 147.5 kB / 435.3 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005732/0.4973, allocations: 155.4 kB / 435.5 MB, free: 3.934 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007149/0.498, allocations: 173.7 kB / 435.7 MB, free: 3.766 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000439/0.4985, allocations: 191.4 kB / 435.9 MB, free: 3.578 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000184/0.4987, allocations: 21.55 kB / 435.9 MB, free: 3.559 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000147/0.4988, allocations: 71.7 kB / 435.9 MB, free: 3.488 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001605/0.499, allocations: 83.61 kB / 436 MB, free: 3.406 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.014e-05/0.499, allocations: 8 kB / 436 MB, free: 3.398 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001997/0.4992, allocations: 63.89 kB / 436.1 MB, free: 3.336 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.756e-05/0.4993, allocations: 39.84 kB / 436.1 MB, free: 3.297 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000119/0.4994, allocations: 71.55 kB / 436.2 MB, free: 3.227 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005195/0.4999, allocations: 213 kB / 436.4 MB, free: 3.023 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.4999, allocations: 4 kB / 436.4 MB, free: 3.02 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.4999, allocations: 0 / 436.4 MB, free: 3.02 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.313e-06/0.5, allocations: 0 / 436.4 MB, free: 3.02 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001033/0.501, allocations: 0.5155 MB / 436.9 MB, free: 2.449 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.501, allocations: 8.031 kB / 436.9 MB, free: 2.441 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.749e-05/0.5011, allocations: 20.8 kB / 437 MB, free: 2.422 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004428/0.5015, allocations: 286.9 kB / 437.2 MB, free: 2.102 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.5016, allocations: 4.375 kB / 437.2 MB, free: 2.098 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.758e-05/0.5016, allocations: 16.05 kB / 437.3 MB, free: 2.082 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003862/0.502, allocations: 142.7 kB / 437.4 MB, free: 1.918 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.502, allocations: 0 / 437.4 MB, free: 1.918 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.861e-05/0.502, allocations: 12 kB / 437.4 MB, free: 1.906 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.502, allocations: 0 / 437.4 MB, free: 1.906 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001282/0.5021, allocations: 31.92 kB / 437.4 MB, free: 1.875 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005637/0.5027, allocations: 358.4 kB / 437.8 MB, free: 1.469 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002758/0.503, allocations: 111.9 kB / 437.9 MB, free: 1.332 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.448e-05/0.5031, allocations: 38.56 kB / 437.9 MB, free: 1.285 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.277e-05/0.5031, allocations: 3.938 kB / 437.9 MB, free: 1.281 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001736/0.5033, allocations: 75.39 kB / 438 MB, free: 1.195 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 8.045e-06/0.5033, allocations: 7.984 kB / 438 MB, free: 1.188 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004531/0.5037, allocations: 141.5 kB / 438.2 MB, free: 1.043 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001425/0.5039, allocations: 132.5 kB / 438.3 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004127/0.5043, allocations: 281.2 kB / 438.6 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.03e-05/0.5043, allocations: 37.64 kB / 438.6 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.5044, allocations: 116.1 kB / 438.7 MB, free: 452 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.813e-05/0.5045, allocations: 11.91 kB / 438.7 MB, free: 440 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.458e-05/0.5045, allocations: 37.66 kB / 438.8 MB, free: 396 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000208/0.5048, allocations: 326.8 kB / 439.1 MB, free: 60 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.229e-05/0.5048, allocations: 23.98 kB / 439.1 MB, free: 36 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.505, allocations: 74.06 kB / 439.2 MB, free: 15.94 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/0.5051, allocations: 72.22 kB / 439.3 MB, free: 15.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.446e-06/0.5051, allocations: 4 kB / 439.3 MB, free: 15.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002327/0.5054, allocations: 117.5 kB / 439.4 MB, free: 15.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.5054, allocations: 8 kB / 439.4 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.5054, allocations: 0 / 439.4 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.5054, allocations: 0 / 439.4 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.492e-05/0.5055, allocations: 19.92 kB / 439.4 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.5055, allocations: 3.938 kB / 439.4 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.432e-05/0.5056, allocations: 11.94 kB / 439.4 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.218e-06/0.5056, allocations: 4 kB / 439.4 MB, free: 15.68 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.u,subSample1.y,subSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.000146/0.5057, allocations: 146.4 kB / 439.6 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.522e-05/0.5058, allocations: 69.48 kB / 439.6 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002821/0.5061, allocations: 103.7 kB / 439.7 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.5061, allocations: 3.984 kB / 439.7 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/0.5061, allocations: 4.062 kB / 439.7 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.161e-05/0.5062, allocations: 7.938 kB / 439.7 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002754/0.5064, allocations: 221.5 kB / 440 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.5064, allocations: 8.062 kB / 440 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.183e-05/0.5065, allocations: 11.92 kB / 440 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.5065, allocations: 0 / 440 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.5065, allocations: 4 kB / 440 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.5065, allocations: 0 / 440 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.5065, allocations: 0 / 440 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002727/0.5068, allocations: 158.6 kB / 440.1 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.5069, allocations: 108.9 kB / 440.2 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.369e-05/0.5069, allocations: 4 kB / 440.2 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.891e-05/0.507, allocations: 4 kB / 440.3 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.797e-05/0.507, allocations: 7.984 kB / 440.3 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.656e-05/0.507, allocations: 11.94 kB / 440.3 MB, free: 14.71 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002552/0.5073, allocations: 196.5 kB / 440.5 MB, free: 14.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5073, allocations: 3.938 kB / 440.5 MB, free: 14.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002923/0.5076, allocations: 31.94 kB / 440.5 MB, free: 14.48 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,subSample1.y,sample1.y,subSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001668/0.5093, allocations: 422.4 kB / 440.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00031/0.5096, allocations: 67.84 kB / 441 MB, free: 14.17 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.095e-05/0.5096, allocations: 4 kB / 441 MB, free: 14.16 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.613e-05/0.5097, allocations: 16 kB / 441 MB, free: 14.15 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004943/0.5102, allocations: 64.72 kB / 441.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008039/0.511, allocations: 324.5 kB / 441.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003965/0.5114, allocations: 0.728 MB / 442.1 MB, free: 12.98 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.851e-05/0.5115, allocations: 33.5 kB / 442.1 MB, free: 12.95 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.149e-05/0.5115, allocations: 15.44 kB / 442.2 MB, free: 12.93 MB / 350.1 MB Notification: Performance of SimCode: time 8.81e-07/0.5115, allocations: 0 / 442.2 MB, free: 12.93 MB / 350.1 MB Notification: Performance of Templates: time 0.007794/0.5193, allocations: 2.485 MB / 444.6 MB, free: 10.47 MB / 350.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.100574952084571]