Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.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.001989/0.001989, allocations: 84.55 kB / 20.68 MB, free: 1.023 MB / 14.72 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.002384/0.002384, allocations: 163.9 kB / 23.95 MB, free: 4.148 MB / 14.72 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.487/1.487, allocations: 177.1 MB / 204.3 MB, free: 9.168 MB / 190.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+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.BooleanSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 325.1 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.089e-05/3.293e-05, allocations: 2.281 kB / 325.1 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.003404/0.003437, allocations: 1.893 MB / 327 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002239/0.005676, allocations: 1.133 MB / 328.1 MB, free: 14.55 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001397/0.005816, allocations: 7.344 kB / 328.1 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000798/0.006614, allocations: 155.7 kB / 328.2 MB, free: 14.49 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005009/0.007115, allocations: 167.1 kB / 328.4 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005866/0.007701, allocations: 169.7 kB / 328.6 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003473/0.008048, allocations: 191.3 kB / 328.8 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001357/0.008184, allocations: 21.64 kB / 328.8 MB, free: 14.22 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001973/0.008381, allocations: 102.8 kB / 328.9 MB, free: 14.17 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000148/0.008529, allocations: 68.7 kB / 329 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.034e-05/0.00856, allocations: 9.344 kB / 329 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001641/0.008724, allocations: 64.66 kB / 329 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.461e-05/0.008809, allocations: 45.2 kB / 329.1 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.686e-05/0.008885, allocations: 37.91 kB / 329.1 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003906/0.009276, allocations: 216 kB / 329.3 MB, free: 14 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.00928, allocations: 0 / 329.3 MB, free: 14 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.009281, allocations: 0 / 329.3 MB, free: 14 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.103e-05/0.009292, allocations: 0 / 329.3 MB, free: 14 MB / 302.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.0008346/0.01013, allocations: 446.7 kB / 329.8 MB, free: 13.6 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.01016, allocations: 13.19 kB / 329.8 MB, free: 13.6 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.373e-05/0.01023, allocations: 22.69 kB / 329.8 MB, free: 13.59 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003733/0.0106, allocations: 209.9 kB / 330 MB, free: 13.41 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.01062, allocations: 10.83 kB / 330 MB, free: 13.4 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.158e-05/0.01064, allocations: 5.766 kB / 330 MB, free: 13.4 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000349/0.01099, allocations: 139.3 kB / 330.1 MB, free: 13.3 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.011, allocations: 7.938 kB / 330.2 MB, free: 13.3 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.01102, allocations: 1.125 kB / 330.2 MB, free: 13.3 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.01102, allocations: 1.641 kB / 330.2 MB, free: 13.3 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001175/0.01114, allocations: 39.62 kB / 330.2 MB, free: 13.28 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005175/0.01166, allocations: 291.7 kB / 330.5 MB, free: 13.03 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002587/0.01192, allocations: 109.5 kB / 330.6 MB, free: 12.93 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.01202, allocations: 45.28 kB / 330.6 MB, free: 12.9 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.01204, allocations: 6.828 kB / 330.6 MB, free: 12.89 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001727/0.01221, allocations: 74.7 kB / 330.7 MB, free: 12.84 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.844e-06/0.01221, allocations: 3.938 kB / 330.7 MB, free: 12.83 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004114/0.01263, allocations: 146.5 kB / 330.9 MB, free: 12.76 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.01273, allocations: 110.4 kB / 331 MB, free: 12.63 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003408/0.01307, allocations: 276.2 kB / 331.2 MB, free: 12.45 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.82e-05/0.01311, allocations: 30.52 kB / 331.3 MB, free: 12.41 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.789e-05/0.01321, allocations: 116.3 kB / 331.4 MB, free: 12.3 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.336e-05/0.01324, allocations: 26.98 kB / 331.4 MB, free: 12.28 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.282e-05/0.01329, allocations: 30.55 kB / 331.4 MB, free: 12.25 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000184/0.01348, allocations: 331.1 kB / 331.8 MB, free: 11.93 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.224e-05/0.01354, allocations: 18.12 kB / 331.8 MB, free: 11.92 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.807e-05/0.01364, allocations: 71.45 kB / 331.8 MB, free: 11.85 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001193/0.01376, allocations: 55.08 kB / 331.9 MB, free: 11.81 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.01376, allocations: 1.094 kB / 331.9 MB, free: 11.81 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002165/0.01397, allocations: 98.08 kB / 332 MB, free: 11.74 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.01399, allocations: 10.38 kB / 332 MB, free: 11.74 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.014, allocations: 0 / 332 MB, free: 11.74 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.01402, allocations: 1.5 kB / 332 MB, free: 11.74 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.442e-05/0.0141, allocations: 8.125 kB / 332 MB, free: 11.74 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.01411, allocations: 1.062 kB / 332 MB, free: 11.74 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.32e-05/0.01418, allocations: 12.11 kB / 332 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.01419, allocations: 2.156 kB / 332 MB, free: 11.73 MB / 302.1 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.0001379/0.01433, allocations: 141 kB / 332.2 MB, free: 11.6 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.902e-05/0.01442, allocations: 60.12 kB / 332.2 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002649/0.01468, allocations: 125.8 kB / 332.3 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.01468, allocations: 2.344 kB / 332.3 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.01469, allocations: 1.062 kB / 332.4 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.01469, allocations: 1.188 kB / 332.4 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001998/0.01489, allocations: 169.9 kB / 332.5 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.01489, allocations: 1.219 kB / 332.5 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.297e-05/0.01493, allocations: 5.156 kB / 332.5 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.01493, allocations: 2.656 kB / 332.5 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.01494, allocations: 0.9375 kB / 332.5 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.01495, allocations: 5.156 kB / 332.5 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.01495, allocations: 9.156 kB / 332.5 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002832/0.01523, allocations: 166.5 kB / 332.7 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.042e-05/0.0153, allocations: 33.91 kB / 332.7 MB, free: 11.13 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.294e-05/0.01534, allocations: 6.359 kB / 332.7 MB, free: 11.13 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.197e-05/0.0154, allocations: 7.375 kB / 332.8 MB, free: 11.12 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.253e-05/0.01544, allocations: 6.672 kB / 332.8 MB, free: 11.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.91e-05/0.01546, allocations: 8.25 kB / 332.8 MB, free: 11.12 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002135/0.01567, allocations: 203.1 kB / 333 MB, free: 10.99 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.01567, allocations: 0 / 333 MB, free: 10.99 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002567/0.01593, allocations: 25.09 kB / 333 MB, free: 10.98 MB / 302.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 (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.001645/0.01758, allocations: 461.2 kB / 333.4 MB, free: 10.77 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002245/0.0178, allocations: 61.33 kB / 333.5 MB, free: 10.74 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.0178, allocations: 1.094 kB / 333.5 MB, free: 10.74 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.741e-05/0.01788, allocations: 27.36 kB / 333.5 MB, free: 10.73 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004034/0.01828, allocations: 70.98 kB / 333.6 MB, free: 10.7 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000595/0.01888, allocations: 323 kB / 333.9 MB, free: 10.45 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001235/0.019, allocations: 120.3 kB / 334 MB, free: 10.35 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.866e-05/0.01907, allocations: 21.75 kB / 334 MB, free: 10.34 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.714e-05/0.01913, allocations: 19 kB / 334.1 MB, free: 10.33 MB / 302.1 MB Notification: Performance of SimCode: time 2.81e-07/0.01913, allocations: 0 / 334.1 MB, free: 10.33 MB / 302.1 MB Notification: Performance of Templates: time 0.006502/0.02563, allocations: 2.549 MB / 336.6 MB, free: 9.023 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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.409703120589256]