Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.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.001239/0.001239, allocations: 114.7 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.001334/0.001334, 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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.438/1.438, allocations: 230.2 MB / 255.2 MB, free: 15.25 MB / 206.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.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 67.89 kB / 374.5 MB, free: 9.941 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09757/0.09947, allocations: 53.33 MB / 427.8 MB, free: 4.516 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.002691/0.1022, allocations: 1.441 MB / 429.3 MB, free: 3.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002755/0.1024, allocations: 91.75 kB / 429.4 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.562e-05/0.1025, allocations: 4 kB / 429.4 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.164e-05/0.1025, allocations: 11.92 kB / 429.4 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.77e-05/0.1026, allocations: 3.938 kB / 429.4 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002257/0.1028, allocations: 19.97 kB / 429.4 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.472e-05/0.1029, allocations: 19.94 kB / 429.4 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.103, allocations: 11.98 kB / 429.4 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.008e-05/0.103, allocations: 7.938 kB / 429.4 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.195e-05/0.103, allocations: 15.92 kB / 429.5 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.103, allocations: 0 / 429.5 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.979e-06/0.1031, allocations: 7.938 kB / 429.5 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.813e-05/0.1031, allocations: 7.984 kB / 429.5 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.257e-05/0.1031, allocations: 11.94 kB / 429.5 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.921e-05/0.1032, allocations: 35.78 kB / 429.5 MB, free: 2.824 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.1032, allocations: 0 / 429.5 MB, free: 2.824 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1032, allocations: 3.938 kB / 429.5 MB, free: 2.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.1032, allocations: 0 / 429.5 MB, free: 2.82 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.0004308/0.1036, allocations: 334.2 kB / 429.9 MB, free: 2.445 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.1037, allocations: 12.02 kB / 429.9 MB, free: 2.434 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.676e-05/0.1037, allocations: 0.9375 kB / 429.9 MB, free: 2.434 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002281/0.1039, allocations: 184.3 kB / 430 MB, free: 2.215 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.104, allocations: 4.375 kB / 430.1 MB, free: 2.211 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.538e-05/0.104, allocations: 4.375 kB / 430.1 MB, free: 2.207 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000281/0.1043, allocations: 107.8 kB / 430.2 MB, free: 2.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.1043, allocations: 192 / 430.2 MB, free: 2.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.1043, allocations: 3.938 kB / 430.2 MB, free: 2.086 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/0.1043, allocations: 0 / 430.2 MB, free: 2.086 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.587e-05/0.1043, allocations: 19.94 kB / 430.2 MB, free: 2.066 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001581/0.1045, allocations: 157.7 kB / 430.3 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001428/0.1046, allocations: 42.56 kB / 430.4 MB, free: 1.812 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.266e-05/0.1047, allocations: 20.92 kB / 430.4 MB, free: 1.789 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.1047, allocations: 0 / 430.4 MB, free: 1.789 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/0.1047, allocations: 38.56 kB / 430.4 MB, free: 1.742 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.1047, allocations: 0 / 430.4 MB, free: 1.742 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002049/0.1049, allocations: 69.52 kB / 430.5 MB, free: 1.668 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.984e-05/0.105, allocations: 51.41 kB / 430.6 MB, free: 1.605 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.044e-05/0.1051, allocations: 105.8 kB / 430.7 MB, free: 1.492 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.1051, allocations: 25.7 kB / 430.7 MB, free: 1.461 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.767e-05/0.1052, allocations: 84.14 kB / 430.8 MB, free: 1.375 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.175e-06/0.1052, allocations: 4 kB / 430.8 MB, free: 1.371 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.1052, allocations: 21.7 kB / 430.8 MB, free: 1.344 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.1053, allocations: 314.8 kB / 431.1 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.037e-05/0.1053, allocations: 0 / 431.1 MB, free: 1.027 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.211e-05/0.1054, allocations: 31.42 kB / 431.1 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.35e-05/0.1054, allocations: 43.38 kB / 431.2 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1054, allocations: 0 / 431.2 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.055e-05/0.1055, allocations: 57.56 kB / 431.2 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.1055, allocations: 4 kB / 431.2 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.1055, allocations: 7.938 kB / 431.2 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.1055, allocations: 0 / 431.2 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.751e-05/0.1056, allocations: 7.938 kB / 431.2 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.1056, allocations: 8.062 kB / 431.3 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.755e-05/0.1056, allocations: 0 / 431.3 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.1056, allocations: 4.25 kB / 431.3 MB, free: 0.8359 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.777e-05/0.1057, allocations: 117.8 kB / 431.4 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.869e-05/0.1058, allocations: 57.84 kB / 431.4 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.314e-05/0.1058, allocations: 19.42 kB / 431.4 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.1058, allocations: 0 / 431.4 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.1058, allocations: 0 / 431.4 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.1058, allocations: 0 / 431.4 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001077/0.1059, allocations: 153.7 kB / 431.6 MB, free: 432 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.1059, allocations: 0 / 431.6 MB, free: 432 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.269e-05/0.106, allocations: 8 kB / 431.6 MB, free: 424 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.106, allocations: 0 / 431.6 MB, free: 424 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.106, allocations: 3.938 kB / 431.6 MB, free: 420 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.106, allocations: 0 / 431.6 MB, free: 420 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.106, allocations: 0 / 431.6 MB, free: 420 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001258/0.1061, allocations: 77.11 kB / 431.7 MB, free: 324 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.224e-05/0.1062, allocations: 93 kB / 431.8 MB, free: 212 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/0.1062, allocations: 3.938 kB / 431.8 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.885e-05/0.1062, allocations: 0 / 431.8 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.895e-06/0.1062, allocations: 0 / 431.8 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.63e-06/0.1062, allocations: 7.938 kB / 431.8 MB, free: 200 kB / 350.1 MB Notification: Performance of sorting global known variables: time 4.876e-05/0.1062, allocations: 87.27 kB / 431.9 MB, free: 112 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1062, allocations: 0 / 431.9 MB, free: 112 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001899/0.1064, allocations: 4 kB / 431.9 MB, free: 108 kB / 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 0.0001235/0.1066, allocations: 99.25 kB / 432 MB, free: 16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001109/0.1067, allocations: 19.98 kB / 432 MB, free: 15.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.231e-06/0.1067, allocations: 3.938 kB / 432 MB, free: 15.97 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-07/0.1067, allocations: 0 / 432 MB, free: 15.97 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002093/0.1069, allocations: 16.03 kB / 432 MB, free: 15.96 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002776/0.1072, allocations: 143.2 kB / 432.2 MB, free: 15.79 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002964/0.1075, allocations: 0.6807 MB / 432.8 MB, free: 15.08 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.072e-05/0.1075, allocations: 11.69 kB / 432.8 MB, free: 15.07 MB / 366.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1075, allocations: 0 / 432.8 MB, free: 15.07 MB / 366.1 MB Notification: Performance of Templates: time 0.002063/0.1095, allocations: 0.5488 MB / 433.4 MB, free: 14.52 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 6.58183024590835]