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.00174/0.00174, allocations: 115.5 kB / 18.41 MB, free: 4.684 MB / 14.72 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.001981/0.001982, allocations: 192.3 kB / 21.35 MB, free: 1.75 MB / 14.72 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.497/1.497, allocations: 222.9 MB / 247.1 MB, free: 4.199 MB / 190.1 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 0.001525/0.001525, allocations: 47.92 kB / 358.7 MB, free: 8.324 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1084, allocations: 49.44 MB / 408.1 MB, free: 6.836 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.003654/0.1121, allocations: 1.872 MB / 410 MB, free: 4.957 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001955/0.1141, allocations: 1.044 MB / 411 MB, free: 3.906 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001173/0.1142, allocations: 7.938 kB / 411 MB, free: 3.898 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006169/0.1149, allocations: 147.5 kB / 411.2 MB, free: 3.754 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003023/0.1152, allocations: 107.6 kB / 411.3 MB, free: 3.648 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008267/0.116, allocations: 202.2 kB / 411.5 MB, free: 3.453 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003262/0.1163, allocations: 195.4 kB / 411.7 MB, free: 3.262 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.1165, allocations: 25.5 kB / 411.7 MB, free: 3.238 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.1166, allocations: 71.69 kB / 411.8 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000141/0.1167, allocations: 79.62 kB / 411.8 MB, free: 3.09 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.256e-05/0.1168, allocations: 8 kB / 411.8 MB, free: 3.082 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001685/0.117, allocations: 55.97 kB / 411.9 MB, free: 3.027 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.028e-05/0.1171, allocations: 39.83 kB / 411.9 MB, free: 2.988 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001024/0.1172, allocations: 71.55 kB / 412 MB, free: 2.918 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004046/0.1176, allocations: 211.1 kB / 412.2 MB, free: 2.711 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1176, allocations: 0 / 412.2 MB, free: 2.711 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.088e-06/0.1176, allocations: 3.984 kB / 412.2 MB, free: 2.707 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.281e-05/0.1176, allocations: 0 / 412.2 MB, free: 2.707 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.0009815/0.1186, allocations: 0.5077 MB / 412.7 MB, free: 2.145 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.538e-05/0.1187, allocations: 15.88 kB / 412.7 MB, free: 2.129 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.772e-05/0.1188, allocations: 20.8 kB / 412.8 MB, free: 2.109 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004175/0.1192, allocations: 274.9 kB / 413 MB, free: 1.801 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.1192, allocations: 4.375 kB / 413 MB, free: 1.797 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.408e-05/0.1192, allocations: 12.12 kB / 413 MB, free: 1.785 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003718/0.1196, allocations: 150.2 kB / 413.2 MB, free: 1.617 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.1196, allocations: 0 / 413.2 MB, free: 1.617 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.917e-05/0.1197, allocations: 4 kB / 413.2 MB, free: 1.613 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.1197, allocations: 0 / 413.2 MB, free: 1.613 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001102/0.1198, allocations: 35.91 kB / 413.2 MB, free: 1.578 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005421/0.1203, allocations: 362.5 kB / 413.6 MB, free: 1.168 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002579/0.1206, allocations: 111.9 kB / 413.7 MB, free: 1.031 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.301e-05/0.1207, allocations: 42.52 kB / 413.7 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.686e-05/0.1208, allocations: 3.984 kB / 413.7 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001755/0.1209, allocations: 75.34 kB / 413.8 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/0.1209, allocations: 0 / 413.8 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003706/0.1213, allocations: 141.5 kB / 414 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.358e-05/0.1214, allocations: 136.5 kB / 414.1 MB, free: 0.582 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002991/0.1217, allocations: 264.9 kB / 414.3 MB, free: 316 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.776e-05/0.1218, allocations: 29.7 kB / 414.4 MB, free: 280 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.364e-05/0.1219, allocations: 120 kB / 414.5 MB, free: 156 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.172e-05/0.1219, allocations: 23.83 kB / 414.5 MB, free: 132 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.23e-05/0.122, allocations: 29.97 kB / 414.5 MB, free: 96 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.1222, allocations: 334.8 kB / 414.9 MB, free: 15.76 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.949e-05/0.1222, allocations: 16 kB / 414.9 MB, free: 15.74 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/0.1224, allocations: 69.98 kB / 415 MB, free: 15.65 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/0.1225, allocations: 76.27 kB / 415 MB, free: 15.56 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1225, allocations: 0 / 415 MB, free: 15.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002182/0.1227, allocations: 113.8 kB / 415.1 MB, free: 15.45 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.1228, allocations: 8 kB / 415.1 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.1228, allocations: 8.125 kB / 415.2 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.1228, allocations: 0 / 415.2 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.213e-05/0.1229, allocations: 19.92 kB / 415.2 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.1229, allocations: 0 / 415.2 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.467e-05/0.123, allocations: 19.89 kB / 415.2 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/0.123, allocations: 4 kB / 415.2 MB, free: 15.39 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.0001321/0.1232, allocations: 141.8 kB / 415.3 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.193e-05/0.1233, allocations: 61.53 kB / 415.4 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.009e-05/0.1233, allocations: 29.77 kB / 415.4 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.1233, allocations: 4 kB / 415.4 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.1233, allocations: 0 / 415.4 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.1234, allocations: 3.938 kB / 415.4 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002624/0.1236, allocations: 225.5 kB / 415.7 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1236, allocations: 0 / 415.7 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.777e-05/0.1237, allocations: 8 kB / 415.7 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.1237, allocations: 3.984 kB / 415.7 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.288e-06/0.1237, allocations: 0 / 415.7 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.782e-06/0.1237, allocations: 7.984 kB / 415.7 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.1237, allocations: 7.938 kB / 415.7 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002613/0.124, allocations: 150.6 kB / 415.8 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.1241, allocations: 116.9 kB / 415.9 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.839e-05/0.1241, allocations: 4 kB / 415.9 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.824e-05/0.1242, allocations: 4 kB / 416 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.534e-05/0.1243, allocations: 11.98 kB / 416 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.51e-05/0.1243, allocations: 8.031 kB / 416 MB, free: 14.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000275/0.1246, allocations: 196.4 kB / 416.2 MB, free: 14.31 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1246, allocations: 0 / 416.2 MB, free: 14.31 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002596/0.1249, allocations: 31.94 kB / 416.2 MB, free: 14.28 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.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * 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.1265, allocations: 417.3 kB / 416.6 MB, free: 14.04 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000248/0.1268, allocations: 67.98 kB / 416.7 MB, free: 13.97 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1268, allocations: 0 / 416.7 MB, free: 13.97 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.469e-05/0.1269, allocations: 35.86 kB / 416.7 MB, free: 13.93 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004463/0.1274, allocations: 61.09 kB / 416.8 MB, free: 13.88 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006424/0.128, allocations: 342.2 kB / 417.1 MB, free: 13.51 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004405/0.1285, allocations: 0.7322 MB / 417.8 MB, free: 12.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.665e-05/0.1285, allocations: 31.36 kB / 417.9 MB, free: 12.72 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1285, allocations: 0 / 417.9 MB, free: 12.72 MB / 350.1 MB Notification: Performance of Templates: time 0.005675/0.1342, allocations: 2.596 MB / 420.5 MB, free: 10.14 MB / 350.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 7.518582261982374]