Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.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.001538/0.001544, allocations: 113 kB / 18.41 MB, free: 4.684 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.002385/0.002385, allocations: 190.9 kB / 21.35 MB, free: 1.75 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.463/1.463, allocations: 222.9 MB / 247 MB, free: 4.219 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.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 55.92 kB / 358.7 MB, free: 8.367 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09483/0.09639, allocations: 49.43 MB / 408.1 MB, free: 6.891 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.002512/0.09894, allocations: 1.419 MB / 409.5 MB, free: 5.465 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002886/0.09924, allocations: 111.6 kB / 409.6 MB, free: 5.355 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.499e-05/0.09932, allocations: 0 / 409.6 MB, free: 5.355 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.413e-05/0.09935, allocations: 0 / 409.6 MB, free: 5.355 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.918e-05/0.0994, allocations: 3.938 kB / 409.6 MB, free: 5.352 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000209/0.09961, allocations: 23.91 kB / 409.6 MB, free: 5.328 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.177e-05/0.0997, allocations: 27.86 kB / 409.7 MB, free: 5.301 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.719e-05/0.09979, allocations: 12 kB / 409.7 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.288e-05/0.09982, allocations: 0 / 409.7 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.191e-05/0.09986, allocations: 19.91 kB / 409.7 MB, free: 5.27 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.644e-05/0.09988, allocations: 4 kB / 409.7 MB, free: 5.266 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.506e-06/0.0999, allocations: 4 kB / 409.7 MB, free: 5.262 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.092e-05/0.09992, allocations: 7.938 kB / 409.7 MB, free: 5.254 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.721e-05/0.09995, allocations: 7.938 kB / 409.7 MB, free: 5.246 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.1e-05/0.1, allocations: 31.84 kB / 409.8 MB, free: 5.215 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1, allocations: 0 / 409.8 MB, free: 5.215 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1001, allocations: 0 / 409.8 MB, free: 5.215 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.1001, allocations: 3.984 kB / 409.8 MB, free: 5.211 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004177/0.1005, allocations: 339.4 kB / 410.1 MB, free: 4.828 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.1005, allocations: 11.89 kB / 410.1 MB, free: 4.816 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.674e-05/0.1006, allocations: 8.938 kB / 410.1 MB, free: 4.809 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002008/0.1008, allocations: 176.3 kB / 410.3 MB, free: 4.598 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.1008, allocations: 384 / 410.3 MB, free: 4.598 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/0.1008, allocations: 4.375 kB / 410.3 MB, free: 4.594 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002689/0.1011, allocations: 111.8 kB / 410.4 MB, free: 4.473 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.1011, allocations: 192 / 410.4 MB, free: 4.473 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.1011, allocations: 7.938 kB / 410.4 MB, free: 4.465 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.1011, allocations: 0 / 410.4 MB, free: 4.465 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.116e-05/0.1012, allocations: 11.98 kB / 410.4 MB, free: 4.453 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001487/0.1014, allocations: 157.7 kB / 410.6 MB, free: 4.25 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001315/0.1015, allocations: 50.48 kB / 410.6 MB, free: 4.191 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.639e-05/0.1016, allocations: 24.92 kB / 410.7 MB, free: 4.164 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.1016, allocations: 4 kB / 410.7 MB, free: 4.16 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.1016, allocations: 38.5 kB / 410.7 MB, free: 4.113 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 2.975e-06/0.1016, allocations: 0 / 410.7 MB, free: 4.113 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001923/0.1018, allocations: 69.55 kB / 410.8 MB, free: 4.039 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.1019, allocations: 51.41 kB / 410.8 MB, free: 3.977 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.323e-05/0.102, allocations: 101.9 kB / 410.9 MB, free: 3.867 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.102, allocations: 25.7 kB / 410.9 MB, free: 3.836 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.289e-05/0.1021, allocations: 92.12 kB / 411 MB, free: 3.742 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.681e-06/0.1021, allocations: 0 / 411 MB, free: 3.742 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.71e-05/0.1021, allocations: 13.72 kB / 411 MB, free: 3.723 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.1022, allocations: 318.8 kB / 411.3 MB, free: 3.402 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.392e-05/0.1023, allocations: 3.984 kB / 411.4 MB, free: 3.398 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.31e-05/0.1023, allocations: 31.38 kB / 411.4 MB, free: 3.355 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.715e-05/0.1023, allocations: 31.44 kB / 411.4 MB, free: 3.312 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.1023, allocations: 0 / 411.4 MB, free: 3.312 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.254e-05/0.1024, allocations: 65.52 kB / 411.5 MB, free: 3.242 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.1025, allocations: 4 kB / 411.5 MB, free: 3.238 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.1025, allocations: 7.938 kB / 411.5 MB, free: 3.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.1025, allocations: 4.125 kB / 411.5 MB, free: 3.227 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.608e-05/0.1025, allocations: 4.25 kB / 411.5 MB, free: 3.223 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.1025, allocations: 0 / 411.5 MB, free: 3.223 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.231e-05/0.1026, allocations: 4 kB / 411.5 MB, free: 3.219 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/0.1026, allocations: 4 kB / 411.5 MB, free: 3.215 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: 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.326e-05/0.1027, allocations: 125.7 kB / 411.6 MB, free: 3.082 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.576e-05/0.1028, allocations: 45.69 kB / 411.7 MB, free: 3.031 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.986e-05/0.1028, allocations: 15.44 kB / 411.7 MB, free: 3.012 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.1028, allocations: 4 kB / 411.7 MB, free: 3.008 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.1028, allocations: 0 / 411.7 MB, free: 3.008 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.1028, allocations: 0 / 411.7 MB, free: 3.008 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001099/0.1029, allocations: 153.6 kB / 411.8 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1029, allocations: 0 / 411.8 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.112e-05/0.103, allocations: 7.984 kB / 411.9 MB, free: 2.801 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.103, allocations: 0 / 411.9 MB, free: 2.801 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.258e-06/0.103, allocations: 7.938 kB / 411.9 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.103, allocations: 0 / 411.9 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.103, allocations: 0 / 411.9 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001281/0.1031, allocations: 81.06 kB / 411.9 MB, free: 2.695 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.756e-05/0.1032, allocations: 81.11 kB / 412 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.324e-05/0.1032, allocations: 11.86 kB / 412 MB, free: 2.586 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.951e-05/0.1032, allocations: 0 / 412 MB, free: 2.586 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.454e-06/0.1033, allocations: 4.312 kB / 412 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.224e-06/0.1033, allocations: 4 kB / 412 MB, free: 2.578 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.631e-05/0.1033, allocations: 83.28 kB / 412.1 MB, free: 2.496 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1033, allocations: 0 / 412.1 MB, free: 2.496 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001824/0.1035, allocations: 8 kB / 412.1 MB, free: 2.488 MB / 334.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.0001049/0.1036, allocations: 103.2 kB / 412.2 MB, free: 2.375 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001076/0.1037, allocations: 23.92 kB / 412.2 MB, free: 2.352 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1037, allocations: 0 / 412.2 MB, free: 2.352 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.61e-07/0.1037, allocations: 0 / 412.2 MB, free: 2.352 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001977/0.1039, allocations: 27.95 kB / 412.3 MB, free: 2.324 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002475/0.1042, allocations: 139.6 kB / 412.4 MB, free: 2.156 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002854/0.1045, allocations: 0.6844 MB / 413.1 MB, free: 1.445 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.921e-05/0.1045, allocations: 7.438 kB / 413.1 MB, free: 1.438 MB / 334.1 MB Notification: Performance of SimCode: time 3.256e-06/0.1045, allocations: 0 / 413.1 MB, free: 1.438 MB / 334.1 MB Notification: Performance of Templates: time 0.001866/0.1064, allocations: 0.546 MB / 413.7 MB, free: 0.8906 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 6.554032071027905]