Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.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.001881/0.001881, allocations: 120.5 kB / 18.41 MB, free: 4.664 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.002411/0.002411, allocations: 190.7 kB / 21.35 MB, free: 1.734 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.611/1.611, allocations: 222.9 MB / 247 MB, free: 4.195 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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 51.91 kB / 358.7 MB, free: 8.32 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09758/0.09912, allocations: 49.45 MB / 408.1 MB, free: 6.832 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.002728/0.1019, allocations: 1.491 MB / 409.6 MB, free: 5.336 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003816/0.1023, allocations: 139.5 kB / 409.7 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.874e-05/0.1024, allocations: 3.938 kB / 409.7 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.146e-05/0.1024, allocations: 3.938 kB / 409.7 MB, free: 5.191 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001142/0.1025, allocations: 11.92 kB / 409.7 MB, free: 5.18 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002272/0.1028, allocations: 35.91 kB / 409.8 MB, free: 5.145 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.835e-05/0.1029, allocations: 31.86 kB / 409.8 MB, free: 5.113 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.103, allocations: 27.91 kB / 409.8 MB, free: 5.086 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.128e-05/0.103, allocations: 11.94 kB / 409.9 MB, free: 5.074 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.34e-05/0.1031, allocations: 15.92 kB / 409.9 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.127e-05/0.1031, allocations: 7.984 kB / 409.9 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.778e-06/0.1031, allocations: 0 / 409.9 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.41e-05/0.1032, allocations: 19.92 kB / 409.9 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.738e-05/0.1032, allocations: 15.88 kB / 409.9 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001128/0.1034, allocations: 43.81 kB / 410 MB, free: 4.973 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1034, allocations: 3.938 kB / 410 MB, free: 4.969 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1034, allocations: 0 / 410 MB, free: 4.969 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.007e-06/0.1034, allocations: 4 kB / 410 MB, free: 4.965 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005682/0.104, allocations: 367.2 kB / 410.3 MB, free: 4.555 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.104, allocations: 8.031 kB / 410.3 MB, free: 4.547 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.118e-05/0.104, allocations: 8.891 kB / 410.3 MB, free: 4.539 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002868/0.1043, allocations: 204.1 kB / 410.5 MB, free: 4.301 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.1043, allocations: 384 / 410.5 MB, free: 4.301 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.603e-05/0.1044, allocations: 8.375 kB / 410.5 MB, free: 4.293 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002614/0.1046, allocations: 117.5 kB / 410.7 MB, free: 4.16 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.1047, allocations: 192 / 410.7 MB, free: 4.16 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.1047, allocations: 3.938 kB / 410.7 MB, free: 4.156 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1047, allocations: 0 / 410.7 MB, free: 4.156 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.065e-05/0.1047, allocations: 11.94 kB / 410.7 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004091/0.1052, allocations: 261.8 kB / 410.9 MB, free: 3.836 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001717/0.1053, allocations: 142.2 kB / 411.1 MB, free: 3.66 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.998e-05/0.1054, allocations: 25.77 kB / 411.1 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.657e-05/0.1054, allocations: 4 kB / 411.1 MB, free: 3.625 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/0.1055, allocations: 30.56 kB / 411.1 MB, free: 3.586 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.1055, allocations: 4 kB / 411.1 MB, free: 3.582 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002096/0.1057, allocations: 65.58 kB / 411.2 MB, free: 3.512 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.279e-05/0.1058, allocations: 85.09 kB / 411.3 MB, free: 3.41 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.1059, allocations: 129.8 kB / 411.4 MB, free: 3.273 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.1059, allocations: 29.83 kB / 411.4 MB, free: 3.238 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.981e-05/0.106, allocations: 88.09 kB / 411.5 MB, free: 3.148 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.059e-05/0.106, allocations: 7.938 kB / 411.5 MB, free: 3.141 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.705e-05/0.1061, allocations: 21.66 kB / 411.6 MB, free: 3.113 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.1062, allocations: 318.8 kB / 411.9 MB, free: 2.793 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.654e-05/0.1063, allocations: 8 kB / 411.9 MB, free: 2.785 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.612e-05/0.1063, allocations: 35.42 kB / 411.9 MB, free: 2.738 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.032e-05/0.1064, allocations: 39.38 kB / 411.9 MB, free: 2.688 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1064, allocations: 0 / 411.9 MB, free: 2.688 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001206/0.1065, allocations: 65.61 kB / 412 MB, free: 2.617 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.1066, allocations: 16.02 kB / 412 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.1066, allocations: 0 / 412 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.1066, allocations: 0 / 412 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.223e-05/0.1066, allocations: 4 kB / 412 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.1066, allocations: 0 / 412 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.134e-05/0.1066, allocations: 7.938 kB / 412 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.1067, allocations: 0 / 412 MB, free: 2.59 MB / 334.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: 4 (step.y,sample1.y,assignClock.y,assignClock.u) * 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 9.517e-05/0.1068, allocations: 121.8 kB / 412.2 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.768e-05/0.1068, allocations: 45.94 kB / 412.2 MB, free: 2.41 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.957e-05/0.1069, allocations: 19.94 kB / 412.2 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.1069, allocations: 3.984 kB / 412.2 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1069, allocations: 0 / 412.2 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.1069, allocations: 4 kB / 412.2 MB, free: 2.375 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001931/0.1071, allocations: 173.5 kB / 412.4 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1071, allocations: 0 / 412.4 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.294e-06/0.1071, allocations: 3.938 kB / 412.4 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1072, allocations: 0 / 412.4 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.52e-06/0.1072, allocations: 4 kB / 412.4 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.1072, allocations: 3.938 kB / 412.4 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1072, allocations: 4 kB / 412.4 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001942/0.1074, allocations: 160.3 kB / 412.6 MB, free: 1.965 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.639e-05/0.1075, allocations: 89.09 kB / 412.7 MB, free: 1.859 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.1075, allocations: 3.984 kB / 412.7 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.523e-05/0.1075, allocations: 4 kB / 412.7 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.694e-05/0.1076, allocations: 0 / 412.7 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.1076, allocations: 4 kB / 412.7 MB, free: 1.848 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.106e-05/0.1077, allocations: 105.5 kB / 412.8 MB, free: 1.746 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1077, allocations: 0 / 412.8 MB, free: 1.746 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002244/0.1079, allocations: 4 kB / 412.8 MB, free: 1.742 MB / 334.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: 4 (step.y,assignClock.u,assignClock.y,sample1.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 0.0001155/0.108, allocations: 115 kB / 412.9 MB, free: 1.621 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001313/0.1082, allocations: 23.98 kB / 412.9 MB, free: 1.598 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.1082, allocations: 256 / 412.9 MB, free: 1.598 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.021e-05/0.1082, allocations: 15.94 kB / 412.9 MB, free: 1.582 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002968/0.1085, allocations: 23.95 kB / 412.9 MB, free: 1.559 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003225/0.1089, allocations: 172 kB / 413.1 MB, free: 1.355 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003411/0.1092, allocations: 0.6922 MB / 413.8 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.805e-05/0.1092, allocations: 11.44 kB / 413.8 MB, free: 0.625 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1092, allocations: 0 / 413.8 MB, free: 0.625 MB / 334.1 MB Notification: Performance of Templates: time 0.002179/0.1114, allocations: 0.6829 MB / 414.5 MB, free: 15.94 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.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: 6.950341840973124]