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.001532/0.001532, allocations: 77.78 kB / 21.25 MB, free: 0.5469 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.001431/0.001431, allocations: 161.3 kB / 24.5 MB, free: 3.711 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.455/1.455, allocations: 177.1 MB / 204.7 MB, free: 9.004 MB / 190.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.002084/0.002084, allocations: 62.05 kB / 325.5 MB, free: 212 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09714/0.09923, allocations: 53.39 MB / 378.9 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.003777/0.103, allocations: 1.89 MB / 380.8 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002204/0.1052, allocations: 1.137 MB / 381.9 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001681/0.1054, allocations: 3.938 kB / 381.9 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006509/0.106, allocations: 155.3 kB / 382.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000463/0.1065, allocations: 163.4 kB / 382.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005168/0.107, allocations: 167.5 kB / 382.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002994/0.1073, allocations: 191.4 kB / 382.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.1074, allocations: 29.73 kB / 382.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001428/0.1076, allocations: 75.7 kB / 382.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001513/0.1077, allocations: 79.61 kB / 382.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.896e-05/0.1078, allocations: 8 kB / 382.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001608/0.1079, allocations: 59.89 kB / 382.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.206e-05/0.108, allocations: 51.83 kB / 382.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.232e-05/0.1081, allocations: 47.67 kB / 382.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00037/0.1084, allocations: 223 kB / 383.2 MB, free: 11.22 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1084, allocations: 0 / 383.2 MB, free: 11.22 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1085, allocations: 0 / 383.2 MB, free: 11.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.1085, allocations: 0 / 383.2 MB, free: 11.22 MB / 350.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.0008314/0.1093, allocations: 442.8 kB / 383.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.1093, allocations: 15.98 kB / 383.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.869e-05/0.1094, allocations: 24.78 kB / 383.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003723/0.1098, allocations: 217.5 kB / 383.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.1098, allocations: 4.375 kB / 383.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.939e-05/0.1098, allocations: 8.375 kB / 383.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003456/0.1102, allocations: 142.2 kB / 384 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.1102, allocations: 0 / 384 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.1102, allocations: 4 kB / 384 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.1102, allocations: 0 / 384 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001146/0.1103, allocations: 39.92 kB / 384 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004656/0.1108, allocations: 298.1 kB / 384.3 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002503/0.111, allocations: 103.9 kB / 384.4 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.732e-05/0.1111, allocations: 46.56 kB / 384.5 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/0.1111, allocations: 4 kB / 384.5 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001717/0.1113, allocations: 83.3 kB / 384.6 MB, free: 9.652 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.753e-06/0.1113, allocations: 0 / 384.6 MB, free: 9.652 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003791/0.1117, allocations: 149.5 kB / 384.7 MB, free: 9.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.865e-05/0.1118, allocations: 110.8 kB / 384.8 MB, free: 9.367 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003017/0.1121, allocations: 273.9 kB / 385.1 MB, free: 9.094 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.503e-05/0.1121, allocations: 29.7 kB / 385.1 MB, free: 9.059 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.1122, allocations: 120.1 kB / 385.2 MB, free: 8.938 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.165e-05/0.1122, allocations: 19.84 kB / 385.3 MB, free: 8.918 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.472e-05/0.1123, allocations: 29.66 kB / 385.3 MB, free: 8.883 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.1124, allocations: 334.7 kB / 385.6 MB, free: 8.547 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.103e-05/0.1125, allocations: 28.23 kB / 385.6 MB, free: 8.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.1126, allocations: 98.72 kB / 385.7 MB, free: 8.398 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001464/0.1128, allocations: 76.22 kB / 385.8 MB, free: 8.309 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1128, allocations: 0 / 385.8 MB, free: 8.309 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002432/0.113, allocations: 117.5 kB / 385.9 MB, free: 8.188 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.113, allocations: 8.156 kB / 385.9 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.113, allocations: 0 / 385.9 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.113, allocations: 4 kB / 385.9 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.651e-05/0.1131, allocations: 15.98 kB / 386 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.1131, allocations: 7.938 kB / 386 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.894e-05/0.1132, allocations: 7.953 kB / 386 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.1132, allocations: 4 kB / 386 MB, free: 8.141 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.0001326/0.1134, allocations: 141.8 kB / 386.1 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.087e-05/0.1134, allocations: 65.53 kB / 386.2 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000253/0.1137, allocations: 115.6 kB / 386.3 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.1137, allocations: 4 kB / 386.3 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1137, allocations: 320 / 386.3 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1137, allocations: 0 / 386.3 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002037/0.1139, allocations: 181.1 kB / 386.5 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.1139, allocations: 0 / 386.5 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.122e-05/0.114, allocations: 11.92 kB / 386.5 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.114, allocations: 4 kB / 386.5 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.908e-06/0.114, allocations: 0 / 386.5 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.114, allocations: 0 / 386.5 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.114, allocations: 8 kB / 386.5 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003718/0.1143, allocations: 162.6 kB / 386.6 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.1145, allocations: 31.84 kB / 386.7 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.025e-05/0.1145, allocations: 4 kB / 386.7 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.192e-05/0.1146, allocations: 4 kB / 386.7 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.441e-05/0.1146, allocations: 7.984 kB / 386.7 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.992e-05/0.1146, allocations: 4 kB / 386.7 MB, free: 7.332 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003267/0.115, allocations: 205.2 kB / 386.9 MB, free: 7.129 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.115, allocations: 0 / 386.9 MB, free: 7.129 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004839/0.1155, allocations: 31.92 kB / 386.9 MB, free: 7.098 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 (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.002362/0.1178, allocations: 446 kB / 387.4 MB, free: 6.809 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002968/0.1181, allocations: 67.84 kB / 387.4 MB, free: 6.742 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.1181, allocations: 0 / 387.4 MB, free: 6.742 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001098/0.1182, allocations: 23.98 kB / 387.5 MB, free: 6.719 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006007/0.1188, allocations: 73.75 kB / 387.5 MB, free: 6.652 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008039/0.1196, allocations: 326.1 kB / 387.8 MB, free: 6.301 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001776/0.1198, allocations: 119.4 kB / 388 MB, free: 6.164 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001079/0.1199, allocations: 29.59 kB / 388 MB, free: 6.137 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.533e-05/0.12, allocations: 16.5 kB / 388 MB, free: 6.121 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.12, allocations: 4 kB / 388 MB, free: 6.117 MB / 350.1 MB Notification: Performance of Templates: time 0.009617/0.1296, allocations: 2.572 MB / 390.6 MB, free: 3.578 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SubSample/SubSample.csv","/var/lib/jenkins1/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: 4.372150282957591]