Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.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.001714/0.001714, allocations: 73.41 kB / 21.24 MB, free: 0.5547 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.002059/0.002059, allocations: 161.2 kB / 24.5 MB, free: 3.715 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.448/1.448, allocations: 177.2 MB / 204.9 MB, free: 9.008 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.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001644/0.001644, allocations: 59.94 kB / 325.6 MB, free: 264 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1035, allocations: 53.34 MB / 378.9 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.00288/0.1064, allocations: 1.452 MB / 380.3 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002894/0.1067, allocations: 99.62 kB / 380.4 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.058e-05/0.1068, allocations: 0 / 380.4 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.826e-05/0.1068, allocations: 3.938 kB / 380.4 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.776e-05/0.1068, allocations: 7.984 kB / 380.5 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002302/0.1071, allocations: 15.92 kB / 380.5 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.229e-05/0.1072, allocations: 27.88 kB / 380.5 MB, free: 14.08 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.1073, allocations: 19.91 kB / 380.5 MB, free: 14.06 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.312e-05/0.1073, allocations: 4 kB / 380.5 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.421e-05/0.1073, allocations: 15.92 kB / 380.5 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.1074, allocations: 0 / 380.5 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.839e-06/0.1074, allocations: 11.94 kB / 380.6 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.793e-05/0.1074, allocations: 3.938 kB / 380.6 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.259e-05/0.1074, allocations: 11.94 kB / 380.6 MB, free: 14.01 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.085e-05/0.1075, allocations: 23.89 kB / 380.6 MB, free: 13.99 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.1075, allocations: 0 / 380.6 MB, free: 13.99 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1075, allocations: 4 kB / 380.6 MB, free: 13.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.1075, allocations: 0 / 380.6 MB, free: 13.98 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003913/0.1079, allocations: 266.3 kB / 380.9 MB, free: 13.69 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.1079, allocations: 8.031 kB / 380.9 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.661e-05/0.108, allocations: 0.9375 kB / 380.9 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002096/0.1082, allocations: 122.4 kB / 381 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.1082, allocations: 4.375 kB / 381 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.999e-05/0.1082, allocations: 12.36 kB / 381 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002786/0.1085, allocations: 91.89 kB / 381.1 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.1085, allocations: 192 / 381.1 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.1085, allocations: 3.938 kB / 381.1 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.1085, allocations: 0 / 381.1 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.83e-05/0.1086, allocations: 19.98 kB / 381.1 MB, free: 13.4 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001215/0.1087, allocations: 105.3 kB / 381.2 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000139/0.1089, allocations: 50.53 kB / 381.3 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.69e-05/0.1089, allocations: 24.88 kB / 381.3 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.1089, allocations: 0 / 381.3 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.109, allocations: 30.56 kB / 381.3 MB, free: 13.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.61e-07/0.109, allocations: 0 / 381.3 MB, free: 13.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002043/0.1092, allocations: 69.58 kB / 381.4 MB, free: 13.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.435e-05/0.1092, allocations: 59.33 kB / 381.4 MB, free: 13 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.1093, allocations: 105.9 kB / 381.5 MB, free: 12.88 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.1093, allocations: 25.7 kB / 381.6 MB, free: 12.85 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.628e-05/0.1094, allocations: 84.14 kB / 381.7 MB, free: 12.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.975e-06/0.1094, allocations: 3.984 kB / 381.7 MB, free: 12.76 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.506e-05/0.1094, allocations: 17.72 kB / 381.7 MB, free: 12.74 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.1096, allocations: 318.8 kB / 382 MB, free: 12.42 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.508e-06/0.1096, allocations: 0 / 382 MB, free: 12.42 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.831e-05/0.1096, allocations: 39.42 kB / 382 MB, free: 12.37 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.79e-05/0.1097, allocations: 35.38 kB / 382.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1097, allocations: 0 / 382.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.393e-05/0.1098, allocations: 53.62 kB / 382.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.1098, allocations: 8 kB / 382.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.1098, allocations: 0 / 382.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.1098, allocations: 3.938 kB / 382.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.598e-05/0.1098, allocations: 7.938 kB / 382.1 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.1098, allocations: 3.938 kB / 382.1 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.411e-05/0.1099, allocations: 4.125 kB / 382.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.647e-06/0.1099, allocations: 4 kB / 382.1 MB, free: 12.23 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (assignClock1.y,assignClock1.u,step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 8.508e-05/0.11, allocations: 117.8 kB / 382.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.848e-05/0.1101, allocations: 53.64 kB / 382.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.947e-05/0.1101, allocations: 11.67 kB / 382.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.1101, allocations: 3.938 kB / 382.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.1101, allocations: 0 / 382.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.1101, allocations: 4 kB / 382.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.768e-05/0.1102, allocations: 93.33 kB / 382.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.1102, allocations: 3.984 kB / 382.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.19e-05/0.1102, allocations: 12.19 kB / 382.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.1102, allocations: 0 / 382.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.046e-06/0.1102, allocations: 4 kB / 382.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1102, allocations: 0 / 382.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.1102, allocations: 7.938 kB / 382.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001274/0.1103, allocations: 73.12 kB / 382.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.323e-05/0.1104, allocations: 7.953 kB / 382.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.1104, allocations: 7.984 kB / 382.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.975e-05/0.1104, allocations: 0 / 382.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.615e-06/0.1104, allocations: 3.938 kB / 382.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.606e-06/0.1104, allocations: 384 / 382.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.277e-05/0.1104, allocations: 87.28 kB / 382.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1104, allocations: 0 / 382.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001874/0.1106, allocations: 4 kB / 382.6 MB, free: 11.68 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (step.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 9.82e-05/0.1107, allocations: 95.25 kB / 382.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001083/0.1108, allocations: 35.86 kB / 382.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1108, allocations: 0 / 382.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.1108, allocations: 0 / 382.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002158/0.1111, allocations: 24.19 kB / 382.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002694/0.1113, allocations: 125.5 kB / 382.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.439e-05/0.1114, allocations: 59.34 kB / 383 MB, free: 11.29 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.26e-05/0.1114, allocations: 4 kB / 383 MB, free: 11.28 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.565e-05/0.1114, allocations: 8.5 kB / 383 MB, free: 11.27 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1114, allocations: 0 / 383 MB, free: 11.27 MB / 350.1 MB Notification: Performance of Templates: time 0.002477/0.1139, allocations: 323.4 kB / 383.3 MB, free: 10.96 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.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.204727714997716]