Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.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.00165/0.00165, allocations: 116.8 kB / 19.18 MB, free: 3.762 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.001938/0.001938, allocations: 210.6 kB / 22.13 MB, free: 0.8125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.536/1.536, allocations: 230.4 MB / 255.4 MB, free: 14.99 MB / 206.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-beta.om/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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 71.83 kB / 374.7 MB, free: 9.754 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.122, allocations: 53.32 MB / 428.1 MB, free: 4.344 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.003014/0.125, allocations: 1.502 MB / 429.6 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004383/0.1255, allocations: 135.5 kB / 429.7 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.17e-05/0.1256, allocations: 4 kB / 429.7 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.734e-05/0.1256, allocations: 3.938 kB / 429.7 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001451/0.1258, allocations: 11.98 kB / 429.7 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002452/0.126, allocations: 35.84 kB / 429.7 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.1261, allocations: 27.92 kB / 429.8 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.1262, allocations: 11.98 kB / 429.8 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.291e-05/0.1263, allocations: 11.94 kB / 429.8 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.296e-05/0.1263, allocations: 11.92 kB / 429.8 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.1263, allocations: 4 kB / 429.8 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.448e-06/0.1263, allocations: 0 / 429.8 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.14e-05/0.1264, allocations: 7.938 kB / 429.8 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.883e-05/0.1264, allocations: 23.88 kB / 429.8 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000118/0.1265, allocations: 43.75 kB / 429.9 MB, free: 2.504 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1265, allocations: 0 / 429.9 MB, free: 2.504 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1265, allocations: 0 / 429.9 MB, free: 2.504 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.259e-06/0.1265, allocations: 0 / 429.9 MB, free: 2.504 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005149/0.127, allocations: 361.8 kB / 430.2 MB, free: 2.102 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.1271, allocations: 8.031 kB / 430.2 MB, free: 2.094 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.668e-05/0.1271, allocations: 8.891 kB / 430.2 MB, free: 2.086 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002776/0.1274, allocations: 200.1 kB / 430.4 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.1274, allocations: 4.375 kB / 430.4 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/0.1274, allocations: 384 / 430.4 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000237/0.1277, allocations: 93.61 kB / 430.5 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.1277, allocations: 192 / 430.5 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.1277, allocations: 3.938 kB / 430.5 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.1277, allocations: 8 kB / 430.6 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.814e-05/0.1278, allocations: 7.984 kB / 430.6 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003686/0.1281, allocations: 253.8 kB / 430.8 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.623e-05/0.1282, allocations: 49.12 kB / 430.9 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.161e-05/0.1283, allocations: 21.72 kB / 430.9 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.1283, allocations: 4 kB / 430.9 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.1283, allocations: 30.56 kB / 430.9 MB, free: 1.281 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.1283, allocations: 0 / 430.9 MB, free: 1.281 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002214/0.1285, allocations: 57.58 kB / 431 MB, free: 1.219 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.764e-05/0.1286, allocations: 89.28 kB / 431.1 MB, free: 1.113 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/0.1287, allocations: 136.5 kB / 431.2 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.1287, allocations: 29.64 kB / 431.2 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.526e-05/0.1288, allocations: 84.14 kB / 431.3 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.076e-05/0.1288, allocations: 3.953 kB / 431.3 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.905e-05/0.1288, allocations: 13.72 kB / 431.3 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.129, allocations: 318.8 kB / 431.6 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.691e-05/0.129, allocations: 4 kB / 431.6 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.916e-05/0.1291, allocations: 17.72 kB / 431.6 MB, free: 492 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.589e-05/0.1291, allocations: 25.7 kB / 431.7 MB, free: 460 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1291, allocations: 0 / 431.7 MB, free: 460 kB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.198e-05/0.1292, allocations: 49.58 kB / 431.7 MB, free: 404 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.1292, allocations: 11.98 kB / 431.7 MB, free: 392 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1292, allocations: 4.125 kB / 431.7 MB, free: 388 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.1292, allocations: 0 / 431.7 MB, free: 388 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.383e-05/0.1293, allocations: 0 / 431.7 MB, free: 388 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.1293, allocations: 0 / 431.7 MB, free: 388 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.605e-05/0.1293, allocations: 7.938 kB / 431.7 MB, free: 380 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/0.1293, allocations: 0 / 431.7 MB, free: 380 kB / 350.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: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.000107/0.1294, allocations: 121.7 kB / 431.9 MB, free: 248 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.298e-05/0.1295, allocations: 41.64 kB / 431.9 MB, free: 200 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.447e-05/0.1295, allocations: 11.53 kB / 431.9 MB, free: 180 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.1295, allocations: 4.031 kB / 431.9 MB, free: 176 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.1295, allocations: 0 / 431.9 MB, free: 176 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.1295, allocations: 0 / 431.9 MB, free: 176 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2355/0.365, allocations: 165.4 kB / 432.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.365, allocations: 0 / 432.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.539e-05/0.365, allocations: 1.812 kB / 432.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/0.365, allocations: 0 / 432.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.597e-05/0.365, allocations: 2.688 kB / 432.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.365, allocations: 0 / 432.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.365, allocations: 0.5625 kB / 432.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002135/0.3652, allocations: 157.3 kB / 432.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.105e-05/0.3653, allocations: 91.38 kB / 432.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/0.3653, allocations: 1.859 kB / 432.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.384e-05/0.3654, allocations: 3.188 kB / 432.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.728e-05/0.3654, allocations: 7.469 kB / 432.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.3655, allocations: 6.125 kB / 432.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.681e-05/0.3655, allocations: 98.19 kB / 432.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3655, allocations: 1.812 kB / 432.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000315/0.3658, allocations: 3.031 kB / 432.4 MB, free: 10.9 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0001122/0.366, allocations: 104.5 kB / 432.6 MB, free: 10.81 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001404/0.3661, allocations: 14.19 kB / 432.6 MB, free: 10.81 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3661, allocations: 0.75 kB / 432.6 MB, free: 10.81 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.79e-05/0.3661, allocations: 10.77 kB / 432.6 MB, free: 10.81 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003761/0.3665, allocations: 18.11 kB / 432.6 MB, free: 10.81 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003278/0.3668, allocations: 164.8 kB / 432.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001297/0.367, allocations: 0.6845 MB / 433.4 MB, free: 9.965 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.606e-05/0.367, allocations: 14.19 kB / 433.5 MB, free: 9.957 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.367, allocations: 0 / 433.5 MB, free: 9.957 MB / 350.1 MB Notification: Performance of Templates: time 0.002307/0.3693, allocations: 0.6203 MB / 434.1 MB, free: 9.949 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.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.04377266112715]