Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001768/0.001768, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002132/0.002132, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 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.738/1.738, allocations: 230.3 MB / 258 MB, free: 8.23 MB / 206.1 MB " [Timeout remaining time 178] 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.BooleanSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002089/0.002089, allocations: 63.89 kB / 378.8 MB, free: 2.781 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4441/0.4462, allocations: 53.36 MB / 432.1 MB, free: 7.066 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.005185/0.4514, allocations: 1.937 MB / 434 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002995/0.4543, allocations: 1.223 MB / 435.3 MB, free: 3.895 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001896/0.4545, allocations: 3.938 kB / 435.3 MB, free: 3.891 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008391/0.4554, allocations: 159.5 kB / 435.4 MB, free: 3.734 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004872/0.4559, allocations: 151.4 kB / 435.6 MB, free: 3.586 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006137/0.4565, allocations: 175.1 kB / 435.7 MB, free: 3.418 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003166/0.4568, allocations: 191.5 kB / 435.9 MB, free: 3.23 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.4569, allocations: 21.72 kB / 436 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001226/0.457, allocations: 75.7 kB / 436 MB, free: 3.133 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001357/0.4572, allocations: 87.55 kB / 436.1 MB, free: 3.047 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.703e-05/0.4572, allocations: 8 kB / 436.1 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00017/0.4574, allocations: 59.95 kB / 436.2 MB, free: 2.98 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.714e-05/0.4575, allocations: 47.84 kB / 436.2 MB, free: 2.934 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001099/0.4576, allocations: 71.48 kB / 436.3 MB, free: 2.863 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005759/0.4581, allocations: 212.8 kB / 436.5 MB, free: 2.664 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.4582, allocations: 0 / 436.5 MB, free: 2.664 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4582, allocations: 0 / 436.5 MB, free: 2.664 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.358e-06/0.4582, allocations: 0 / 436.5 MB, free: 2.664 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.001206/0.4594, allocations: 454.7 kB / 437 MB, free: 2.184 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.234e-05/0.4594, allocations: 12.03 kB / 437 MB, free: 2.172 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.951e-05/0.4595, allocations: 24.8 kB / 437 MB, free: 2.148 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004842/0.46, allocations: 225 kB / 437.2 MB, free: 1.902 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.46, allocations: 384 / 437.2 MB, free: 1.902 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.441e-05/0.4601, allocations: 8.375 kB / 437.2 MB, free: 1.895 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004671/0.4605, allocations: 151 kB / 437.4 MB, free: 1.723 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.4605, allocations: 0 / 437.4 MB, free: 1.723 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.4605, allocations: 0 / 437.4 MB, free: 1.723 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.4606, allocations: 4 kB / 437.4 MB, free: 1.719 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001189/0.4607, allocations: 31.92 kB / 437.4 MB, free: 1.688 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006565/0.4613, allocations: 341.4 kB / 437.7 MB, free: 1.305 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002619/0.4616, allocations: 103.8 kB / 437.8 MB, free: 1.176 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.4617, allocations: 42.56 kB / 437.9 MB, free: 1.125 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.948e-05/0.4617, allocations: 4 kB / 437.9 MB, free: 1.121 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002116/0.4619, allocations: 75.39 kB / 438 MB, free: 1.035 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.4619, allocations: 0 / 438 MB, free: 1.035 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004311/0.4624, allocations: 141.4 kB / 438.1 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001234/0.4625, allocations: 140.8 kB / 438.2 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003896/0.4629, allocations: 273.1 kB / 438.5 MB, free: 460 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.922e-05/0.4629, allocations: 29.7 kB / 438.5 MB, free: 424 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.463, allocations: 116.2 kB / 438.6 MB, free: 304 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.672e-05/0.463, allocations: 15.91 kB / 438.7 MB, free: 288 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6e-05/0.4631, allocations: 37.66 kB / 438.7 MB, free: 244 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002292/0.4633, allocations: 334.7 kB / 439 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.478e-05/0.4634, allocations: 19.98 kB / 439 MB, free: 15.88 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001155/0.4635, allocations: 73.94 kB / 439.1 MB, free: 15.79 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001592/0.4637, allocations: 80.19 kB / 439.2 MB, free: 15.7 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.4637, allocations: 0 / 439.2 MB, free: 15.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002255/0.4639, allocations: 113.5 kB / 439.3 MB, free: 15.58 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.885e-05/0.4639, allocations: 6.5 kB / 439.3 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.4639, allocations: 0 / 439.3 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.4639, allocations: 7.938 kB / 439.3 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.769e-05/0.464, allocations: 19.92 kB / 439.3 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.464, allocations: 4 kB / 439.3 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.381e-05/0.4641, allocations: 12.06 kB / 439.3 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.4641, allocations: 4 kB / 439.3 MB, free: 15.53 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.0001628/0.4643, allocations: 142.5 kB / 439.5 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.4644, allocations: 69.48 kB / 439.6 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002794/0.4647, allocations: 111.6 kB / 439.7 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.4647, allocations: 0 / 439.7 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.4647, allocations: 3.984 kB / 439.7 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.4647, allocations: 8.062 kB / 439.7 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002432/0.4649, allocations: 196.6 kB / 439.9 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.4649, allocations: 3.984 kB / 439.9 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.523e-05/0.465, allocations: 4 kB / 439.9 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.173e-06/0.465, allocations: 7.984 kB / 439.9 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.465, allocations: 4 kB / 439.9 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.137e-06/0.465, allocations: 4 kB / 439.9 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.465, allocations: 0 / 439.9 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002769/0.4653, allocations: 154.6 kB / 440 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.325e-05/0.4654, allocations: 31.84 kB / 440.1 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.272e-05/0.4654, allocations: 3.984 kB / 440.1 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.447e-05/0.4654, allocations: 8 kB / 440.1 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.336e-05/0.4655, allocations: 7.984 kB / 440.1 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.561e-05/0.4655, allocations: 4 kB / 440.1 MB, free: 14.69 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002396/0.4658, allocations: 200.5 kB / 440.3 MB, free: 14.49 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4658, allocations: 4 kB / 440.3 MB, free: 14.49 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002705/0.466, allocations: 31.94 kB / 440.3 MB, free: 14.46 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.00165/0.4677, allocations: 421.5 kB / 440.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002358/0.4679, allocations: 59.92 kB / 440.8 MB, free: 14.12 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.4679, allocations: 0 / 440.8 MB, free: 14.12 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.509e-05/0.468, allocations: 28.23 kB / 440.8 MB, free: 14.09 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004407/0.4684, allocations: 74.14 kB / 440.9 MB, free: 14.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006693/0.4691, allocations: 308.7 kB / 441.2 MB, free: 13.69 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005993/0.4697, allocations: 0.7361 MB / 441.9 MB, free: 12.93 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.931e-05/0.4698, allocations: 17.48 kB / 442 MB, free: 12.91 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.272e-05/0.4698, allocations: 19.42 kB / 442 MB, free: 12.89 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4698, allocations: 0 / 442 MB, free: 12.89 MB / 350.1 MB Notification: Performance of Templates: time 0.007857/0.4777, allocations: 2.497 MB / 444.5 MB, free: 10.41 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SubSample/SubSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.555195647291839]