Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.007455/0.007455, allocations: 106.9 kB / 21.98 MB, free: 5.773 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.002064/0.002064, allocations: 208.6 kB / 25.29 MB, free: 3.355 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.49/1.49, allocations: 230.6 MB / 259 MB, free: 8.047 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 63.91 kB / 379.8 MB, free: 2.652 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2622/0.2641, allocations: 53.36 MB / 433.2 MB, free: 6.965 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.002978/0.2671, allocations: 1.454 MB / 434.6 MB, free: 5.508 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003173/0.2674, allocations: 107.6 kB / 434.7 MB, free: 5.402 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.029e-05/0.2675, allocations: 0 / 434.7 MB, free: 5.402 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.702e-05/0.2675, allocations: 3.938 kB / 434.7 MB, free: 5.398 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.607e-05/0.2676, allocations: 3.984 kB / 434.7 MB, free: 5.395 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002641/0.2678, allocations: 27.86 kB / 434.8 MB, free: 5.367 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.711e-05/0.2679, allocations: 31.86 kB / 434.8 MB, free: 5.336 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.2681, allocations: 15.08 kB / 434.8 MB, free: 5.324 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.123e-05/0.2681, allocations: 7.984 kB / 434.8 MB, free: 5.316 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.224e-05/0.2681, allocations: 7.938 kB / 434.8 MB, free: 5.309 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.913e-05/0.2681, allocations: 4 kB / 434.8 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.385e-06/0.2682, allocations: 0 / 434.8 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.15e-05/0.2682, allocations: 11.94 kB / 434.8 MB, free: 5.293 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.292e-05/0.2682, allocations: 15.92 kB / 434.8 MB, free: 5.277 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001003/0.2683, allocations: 19.91 kB / 434.9 MB, free: 5.258 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.2683, allocations: 3.984 kB / 434.9 MB, free: 5.254 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2683, allocations: 4 kB / 434.9 MB, free: 5.25 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.2683, allocations: 0 / 434.9 MB, free: 5.25 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.0004253/0.2688, allocations: 257.7 kB / 435.1 MB, free: 4.973 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.2688, allocations: 12.03 kB / 435.1 MB, free: 4.961 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.643e-05/0.2688, allocations: 4.875 kB / 435.1 MB, free: 4.957 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002457/0.2691, allocations: 130.4 kB / 435.3 MB, free: 4.805 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.352e-05/0.2691, allocations: 384 / 435.3 MB, free: 4.805 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.638e-05/0.2691, allocations: 4.375 kB / 435.3 MB, free: 4.801 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002811/0.2694, allocations: 103.9 kB / 435.4 MB, free: 4.688 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.2694, allocations: 4.188 kB / 435.4 MB, free: 4.684 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.2694, allocations: 3.938 kB / 435.4 MB, free: 4.68 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.2694, allocations: 0 / 435.4 MB, free: 4.68 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.884e-05/0.2695, allocations: 12 kB / 435.4 MB, free: 4.668 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001552/0.2696, allocations: 132.7 kB / 435.5 MB, free: 4.496 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001305/0.2698, allocations: 50.48 kB / 435.6 MB, free: 4.438 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.421e-05/0.2698, allocations: 20.92 kB / 435.6 MB, free: 4.414 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/0.2698, allocations: 0 / 435.6 MB, free: 4.414 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.2699, allocations: 34.56 kB / 435.6 MB, free: 4.371 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 7.71e-07/0.2699, allocations: 3.938 kB / 435.6 MB, free: 4.367 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002117/0.2701, allocations: 69.58 kB / 435.7 MB, free: 4.293 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.259e-05/0.2701, allocations: 55.34 kB / 435.8 MB, free: 4.227 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.94e-05/0.2702, allocations: 105.8 kB / 435.9 MB, free: 4.113 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.2702, allocations: 25.7 kB / 435.9 MB, free: 4.082 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.284e-05/0.2703, allocations: 84.14 kB / 436 MB, free: 3.996 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.306e-06/0.2703, allocations: 4 kB / 436 MB, free: 3.992 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.287e-05/0.2703, allocations: 17.7 kB / 436 MB, free: 3.969 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.2705, allocations: 318.8 kB / 436.3 MB, free: 3.648 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.318e-05/0.2705, allocations: 0 / 436.3 MB, free: 3.648 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.631e-05/0.2705, allocations: 31.42 kB / 436.3 MB, free: 3.605 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.799e-05/0.2706, allocations: 35.38 kB / 436.4 MB, free: 3.559 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2706, allocations: 4 kB / 436.4 MB, free: 3.555 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.523e-05/0.2707, allocations: 53.62 kB / 436.4 MB, free: 3.496 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.2707, allocations: 4 kB / 436.4 MB, free: 3.492 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.425e-06/0.2707, allocations: 8.188 kB / 436.4 MB, free: 3.484 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.2707, allocations: 0 / 436.4 MB, free: 3.484 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.312e-05/0.2708, allocations: 8 kB / 436.4 MB, free: 3.477 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.2708, allocations: 3.938 kB / 436.4 MB, free: 3.473 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.944e-05/0.2708, allocations: 0 / 436.4 MB, free: 3.473 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.603e-06/0.2708, allocations: 8.125 kB / 436.4 MB, free: 3.465 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.122e-05/0.2709, allocations: 113.8 kB / 436.6 MB, free: 3.344 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.37e-05/0.271, allocations: 49.64 kB / 436.6 MB, free: 3.289 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.299e-05/0.271, allocations: 19.61 kB / 436.6 MB, free: 3.266 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.271, allocations: 0 / 436.6 MB, free: 3.266 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.271, allocations: 0 / 436.6 MB, free: 3.266 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.271, allocations: 0 / 436.6 MB, free: 3.266 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001017/0.2711, allocations: 124.8 kB / 436.7 MB, free: 3.102 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2711, allocations: 3.938 kB / 436.8 MB, free: 3.098 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.323e-05/0.2711, allocations: 11.94 kB / 436.8 MB, free: 3.086 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.2711, allocations: 0 / 436.8 MB, free: 3.086 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.2711, allocations: 3.938 kB / 436.8 MB, free: 3.082 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2711, allocations: 0 / 436.8 MB, free: 3.082 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.2711, allocations: 0 / 436.8 MB, free: 3.082 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001304/0.2713, allocations: 81.11 kB / 436.8 MB, free: 2.984 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.566e-06/0.2713, allocations: 7.891 kB / 436.9 MB, free: 2.977 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.395e-05/0.2713, allocations: 3.938 kB / 436.9 MB, free: 2.973 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.979e-05/0.2713, allocations: 4 kB / 436.9 MB, free: 2.969 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.156e-06/0.2713, allocations: 4.375 kB / 436.9 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.2713, allocations: 0 / 436.9 MB, free: 2.965 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.481e-05/0.2714, allocations: 87.27 kB / 437 MB, free: 2.879 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2714, allocations: 0 / 437 MB, free: 2.879 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001824/0.2716, allocations: 4 kB / 437 MB, free: 2.875 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.0001131/0.2717, allocations: 95.25 kB / 437 MB, free: 2.77 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001168/0.2718, allocations: 31.97 kB / 437.1 MB, free: 2.738 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2718, allocations: 0 / 437.1 MB, free: 2.738 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.81e-07/0.2718, allocations: 0 / 437.1 MB, free: 2.738 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/0.272, allocations: 19.97 kB / 437.1 MB, free: 2.719 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000313/0.2723, allocations: 151.3 kB / 437.2 MB, free: 2.539 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003065/0.2726, allocations: 0.6768 MB / 437.9 MB, free: 1.836 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.713e-05/0.2727, allocations: 11.44 kB / 437.9 MB, free: 1.824 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2727, allocations: 0 / 437.9 MB, free: 1.824 MB / 334.1 MB Notification: Performance of Templates: time 0.002199/0.2749, allocations: 0.5421 MB / 438.5 MB, free: 1.285 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_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.814607335021719]