Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 92.62 kB / 20.96 MB, free: 3.477 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 153.4 kB / 24.26 MB, free: 184 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 173.4 MB / 200.8 MB, free: 9.305 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.324e-06/2.324e-06, allocations: 0 / 267.3 MB, free: 6.742 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.917e-05/3.149e-05, allocations: 6.312 kB / 267.3 MB, free: 6.734 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.003689/0.003721, allocations: 1.858 MB / 269.2 MB, free: 4.859 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001971/0.005692, allocations: 1.009 MB / 270.2 MB, free: 3.844 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.005795, allocations: 7.938 kB / 270.2 MB, free: 3.836 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006604/0.006456, allocations: 147.5 kB / 270.3 MB, free: 3.691 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003258/0.006782, allocations: 115.5 kB / 270.4 MB, free: 3.578 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005217/0.007303, allocations: 215.2 kB / 270.7 MB, free: 3.367 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002646/0.007568, allocations: 179.4 kB / 270.8 MB, free: 3.191 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.007669, allocations: 25.78 kB / 270.9 MB, free: 3.164 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001608/0.007829, allocations: 99.72 kB / 271 MB, free: 3.066 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001195/0.007949, allocations: 63.8 kB / 271 MB, free: 3.004 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.915e-05/0.007978, allocations: 8 kB / 271 MB, free: 2.996 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001394/0.008118, allocations: 63.83 kB / 271.1 MB, free: 2.934 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.433e-05/0.008192, allocations: 39.86 kB / 271.1 MB, free: 2.895 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.407e-05/0.008256, allocations: 35.84 kB / 271.2 MB, free: 2.859 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003379/0.008594, allocations: 211.3 kB / 271.4 MB, free: 2.652 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.295e-06/0.008596, allocations: 0 / 271.4 MB, free: 2.652 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.008597, allocations: 0 / 271.4 MB, free: 2.652 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.008601, allocations: 0 / 271.4 MB, free: 2.652 MB / 250.7 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.0007419/0.009343, allocations: 442.8 kB / 271.8 MB, free: 2.184 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.00938, allocations: 8.031 kB / 271.8 MB, free: 2.176 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.397e-05/0.009454, allocations: 24.84 kB / 271.8 MB, free: 2.152 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003692/0.009823, allocations: 220.8 kB / 272 MB, free: 1.91 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.00984, allocations: 8.312 kB / 272.1 MB, free: 1.902 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.842e-05/0.009858, allocations: 8.375 kB / 272.1 MB, free: 1.895 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003383/0.0102, allocations: 142.1 kB / 272.2 MB, free: 1.738 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.01021, allocations: 3.938 kB / 272.2 MB, free: 1.734 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.01022, allocations: 0 / 272.2 MB, free: 1.734 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.01023, allocations: 4 kB / 272.2 MB, free: 1.73 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003604/0.01059, allocations: 39.91 kB / 272.2 MB, free: 1.691 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004651/0.01105, allocations: 290.1 kB / 272.5 MB, free: 1.371 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002541/0.01131, allocations: 115.8 kB / 272.6 MB, free: 1.23 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.418e-05/0.0114, allocations: 38.56 kB / 272.7 MB, free: 1.184 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.698e-05/0.01143, allocations: 4 kB / 272.7 MB, free: 1.18 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001746/0.0116, allocations: 79.41 kB / 272.8 MB, free: 1.09 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.302e-06/0.0116, allocations: 0 / 272.8 MB, free: 1.09 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003997/0.012, allocations: 145.6 kB / 272.9 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.0121, allocations: 114.7 kB / 273 MB, free: 0.8047 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000324/0.01243, allocations: 265.7 kB / 273.3 MB, free: 0.5352 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.863e-05/0.01245, allocations: 29.7 kB / 273.3 MB, free: 0.5 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.01256, allocations: 120.1 kB / 273.4 MB, free: 388 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.497e-05/0.01258, allocations: 11.91 kB / 273.4 MB, free: 376 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.146e-05/0.01263, allocations: 25.7 kB / 273.5 MB, free: 344 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001819/0.01281, allocations: 330.8 kB / 273.8 MB, free: 4 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.92e-05/0.01289, allocations: 16.06 kB / 273.8 MB, free: 15.98 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.013, allocations: 68.42 kB / 273.9 MB, free: 15.9 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/0.01312, allocations: 61.86 kB / 273.9 MB, free: 15.84 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.01312, allocations: 0 / 273.9 MB, free: 15.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002107/0.01333, allocations: 101.6 kB / 274 MB, free: 15.73 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.01334, allocations: 4 kB / 274 MB, free: 15.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.01335, allocations: 4 kB / 274 MB, free: 15.72 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.01336, allocations: 0 / 274 MB, free: 15.72 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.708e-05/0.01344, allocations: 15.92 kB / 274 MB, free: 15.71 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.01344, allocations: 0 / 274 MB, free: 15.71 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.622e-05/0.01351, allocations: 11.98 kB / 274.1 MB, free: 15.7 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.01352, allocations: 8 kB / 274.1 MB, free: 15.69 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001307/0.01365, allocations: 137.7 kB / 274.2 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.01375, allocations: 73.53 kB / 274.3 MB, free: 15.46 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002473/0.014, allocations: 107.4 kB / 274.4 MB, free: 15.35 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.01401, allocations: 7.938 kB / 274.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.01401, allocations: 0 / 274.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.01401, allocations: 0 / 274.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001911/0.0142, allocations: 169.1 kB / 274.6 MB, free: 15.15 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.0142, allocations: 4.062 kB / 274.6 MB, free: 15.15 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.163e-05/0.01425, allocations: 11.94 kB / 274.6 MB, free: 15.14 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.01425, allocations: 0 / 274.6 MB, free: 15.14 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.488e-05/0.01426, allocations: 7.984 kB / 274.6 MB, free: 15.13 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.01426, allocations: 0 / 274.6 MB, free: 15.13 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01426, allocations: 0 / 274.6 MB, free: 15.13 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000286/0.01455, allocations: 166.5 kB / 274.7 MB, free: 14.94 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.385e-05/0.01462, allocations: 39.81 kB / 274.8 MB, free: 14.9 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.693e-05/0.01465, allocations: 4 kB / 274.8 MB, free: 14.9 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.436e-05/0.01472, allocations: 4 kB / 274.8 MB, free: 14.89 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.01476, allocations: 11.98 kB / 274.8 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/0.01477, allocations: 4.062 kB / 274.8 MB, free: 14.88 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002189/0.01499, allocations: 197.2 kB / 275 MB, free: 14.69 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01499, allocations: 0 / 275 MB, free: 14.69 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002545/0.01524, allocations: 27.94 kB / 275 MB, free: 14.66 MB / 266.7 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 (10): * Single equations (assignments): 8 * 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.001942/0.01718, allocations: 446.8 kB / 275.5 MB, free: 14.4 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002/0.01738, allocations: 63.91 kB / 275.5 MB, free: 14.34 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01738, allocations: 64 / 275.5 MB, free: 14.34 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.201e-05/0.01747, allocations: 35.92 kB / 275.6 MB, free: 14.3 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000402/0.01787, allocations: 75.78 kB / 275.6 MB, free: 14.23 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006051/0.01847, allocations: 326.7 kB / 275.9 MB, free: 13.88 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001349/0.01861, allocations: 119.4 kB / 276.1 MB, free: 13.75 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.22e-05/0.01867, allocations: 25.81 kB / 276.1 MB, free: 13.72 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.944e-05/0.01872, allocations: 16.5 kB / 276.1 MB, free: 13.71 MB / 266.7 MB Notification: Performance of SimCode: time 4.01e-07/0.01872, allocations: 0 / 276.1 MB, free: 13.71 MB / 266.7 MB Notification: Performance of Templates: time 0.00677/0.02549, allocations: 2.525 MB / 278.6 MB, free: 11.21 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SubSample/SubSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 4.315064826980233]