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.001227/0.001227, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.00129/0.00129, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.361/1.361, allocations: 230.6 MB / 258.3 MB, free: 7.996 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+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.001493/0.001493, allocations: 43.92 kB / 379 MB, free: 2.625 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.254/0.2555, allocations: 53.36 MB / 432.4 MB, free: 6.906 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.00278/0.2583, allocations: 1.458 MB / 433.8 MB, free: 5.445 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002852/0.2585, allocations: 99.67 kB / 433.9 MB, free: 5.348 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.103e-05/0.2586, allocations: 3.938 kB / 433.9 MB, free: 5.344 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.654e-05/0.2586, allocations: 3.984 kB / 434 MB, free: 5.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.877e-05/0.2587, allocations: 7.938 kB / 434 MB, free: 5.332 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002326/0.2589, allocations: 15.92 kB / 434 MB, free: 5.316 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.14e-05/0.259, allocations: 27.92 kB / 434 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.464e-05/0.2591, allocations: 15.92 kB / 434 MB, free: 5.273 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.127e-05/0.2591, allocations: 8 kB / 434 MB, free: 5.266 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.84e-05/0.2592, allocations: 11.92 kB / 434 MB, free: 5.254 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.2592, allocations: 4 kB / 434 MB, free: 5.25 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.478e-06/0.2592, allocations: 4 kB / 434 MB, free: 5.246 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.816e-05/0.2592, allocations: 7.938 kB / 434.1 MB, free: 5.238 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.215e-05/0.2592, allocations: 11.94 kB / 434.1 MB, free: 5.227 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.549e-05/0.2593, allocations: 27.69 kB / 434.1 MB, free: 5.203 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.2593, allocations: 0 / 434.1 MB, free: 5.203 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2593, allocations: 0 / 434.1 MB, free: 5.203 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.2593, allocations: 0 / 434.1 MB, free: 5.203 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.0003949/0.2597, allocations: 260.8 kB / 434.3 MB, free: 4.922 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.2598, allocations: 16.03 kB / 434.4 MB, free: 4.906 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.038e-05/0.2598, allocations: 0.9375 kB / 434.4 MB, free: 4.906 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002056/0.26, allocations: 122.4 kB / 434.5 MB, free: 4.762 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.26, allocations: 384 / 434.5 MB, free: 4.762 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.417e-05/0.26, allocations: 8.375 kB / 434.5 MB, free: 4.754 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002872/0.2603, allocations: 99.88 kB / 434.6 MB, free: 4.645 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.2603, allocations: 8.062 kB / 434.6 MB, free: 4.637 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.2603, allocations: 3.938 kB / 434.6 MB, free: 4.633 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.2604, allocations: 0 / 434.6 MB, free: 4.633 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.296e-05/0.2604, allocations: 15.98 kB / 434.6 MB, free: 4.617 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001528/0.2606, allocations: 124.8 kB / 434.7 MB, free: 4.453 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001303/0.2607, allocations: 42.56 kB / 434.8 MB, free: 4.402 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.13e-05/0.2607, allocations: 24.92 kB / 434.8 MB, free: 4.375 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.2608, allocations: 4 kB / 434.8 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.2608, allocations: 34.5 kB / 434.8 MB, free: 4.328 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.2608, allocations: 3.938 kB / 434.8 MB, free: 4.324 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002018/0.261, allocations: 69.56 kB / 434.9 MB, free: 4.25 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.463e-05/0.261, allocations: 51.41 kB / 435 MB, free: 4.188 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.698e-05/0.2611, allocations: 105.8 kB / 435.1 MB, free: 4.074 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.584e-05/0.2611, allocations: 33.7 kB / 435.1 MB, free: 4.035 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.784e-05/0.2612, allocations: 80.14 kB / 435.2 MB, free: 3.953 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.687e-05/0.2612, allocations: 4 kB / 435.2 MB, free: 3.949 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.011e-05/0.2612, allocations: 17.72 kB / 435.2 MB, free: 3.926 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.2614, allocations: 314.8 kB / 435.5 MB, free: 3.609 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.299e-05/0.2614, allocations: 4 kB / 435.5 MB, free: 3.605 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.263e-05/0.2614, allocations: 27.56 kB / 435.5 MB, free: 3.566 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.401e-05/0.2615, allocations: 35.44 kB / 435.6 MB, free: 3.52 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2615, allocations: 0 / 435.6 MB, free: 3.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.331e-05/0.2616, allocations: 57.66 kB / 435.6 MB, free: 3.457 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.2616, allocations: 12.12 kB / 435.6 MB, free: 3.445 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.2616, allocations: 7.922 kB / 435.6 MB, free: 3.438 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.2616, allocations: 3.984 kB / 435.7 MB, free: 3.434 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.903e-05/0.2616, allocations: 4.25 kB / 435.7 MB, free: 3.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/0.2616, allocations: 3.984 kB / 435.7 MB, free: 3.426 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.214e-05/0.2617, allocations: 4 kB / 435.7 MB, free: 3.422 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.316e-06/0.2617, allocations: 4 kB / 435.7 MB, free: 3.418 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 9.794e-05/0.2618, allocations: 113.8 kB / 435.8 MB, free: 3.297 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.564e-05/0.2619, allocations: 57.58 kB / 435.8 MB, free: 3.234 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.864e-05/0.2619, allocations: 15.62 kB / 435.8 MB, free: 3.215 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.2619, allocations: 0 / 435.8 MB, free: 3.215 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.2619, allocations: 0 / 435.8 MB, free: 3.215 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.2619, allocations: 0 / 435.8 MB, free: 3.215 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001106/0.262, allocations: 128.7 kB / 436 MB, free: 3.047 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.262, allocations: 0 / 436 MB, free: 3.047 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.971e-05/0.262, allocations: 4 kB / 436 MB, free: 3.043 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.262, allocations: 0 / 436 MB, free: 3.043 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.262, allocations: 3.938 kB / 436 MB, free: 3.039 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.262, allocations: 0 / 436 MB, free: 3.039 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.262, allocations: 3.938 kB / 436 MB, free: 3.035 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001303/0.2622, allocations: 89 kB / 436.1 MB, free: 2.93 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.105e-05/0.2622, allocations: 7.938 kB / 436.1 MB, free: 2.922 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.2622, allocations: 3.938 kB / 436.1 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.641e-05/0.2622, allocations: 4 kB / 436.1 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.106e-06/0.2622, allocations: 0 / 436.1 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-06/0.2622, allocations: 0 / 436.1 MB, free: 2.914 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.381e-05/0.2623, allocations: 83.28 kB / 436.2 MB, free: 2.832 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2623, allocations: 4 kB / 436.2 MB, free: 2.828 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001837/0.2625, allocations: 4 kB / 436.2 MB, free: 2.824 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.0001037/0.2626, allocations: 103.2 kB / 436.3 MB, free: 2.711 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001037/0.2627, allocations: 15.94 kB / 436.3 MB, free: 2.695 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.2627, allocations: 4 kB / 436.3 MB, free: 2.691 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.2627, allocations: 0 / 436.3 MB, free: 2.691 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002035/0.2629, allocations: 23.16 kB / 436.3 MB, free: 2.672 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002905/0.2632, allocations: 151.3 kB / 436.5 MB, free: 2.492 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003251/0.2635, allocations: 0.6807 MB / 437.1 MB, free: 1.785 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.433e-05/0.2635, allocations: 7.438 kB / 437.2 MB, free: 1.777 MB / 334.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2635, allocations: 0 / 437.2 MB, free: 1.777 MB / 334.1 MB Notification: Performance of Templates: time 0.001942/0.2655, allocations: 0.5434 MB / 437.7 MB, free: 1.234 MB / 334.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 -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: 6.374223960097879]