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.TickBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) 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.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001552/0.001552, allocations: 114 kB / 17.83 MB, free: 5.207 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001558/0.001558, allocations: 205.9 kB / 18.79 MB, free: 4.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.567/1.567, allocations: 230.4 MB / 250 MB, free: 9.031 MB / 206.1 MB 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.002561/0.002561, allocations: 71.81 kB / 367.3 MB, free: 7.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.3381, allocations: 53.3 MB / 420.6 MB, free: 8.402 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.002908/0.341, allocations: 1.433 MB / 422.1 MB, free: 6.969 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002417/0.3412, allocations: 31.92 kB / 422.1 MB, free: 6.938 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.165e-05/0.3413, allocations: 0 / 422.1 MB, free: 6.938 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.853e-05/0.3413, allocations: 7.922 kB / 422.1 MB, free: 6.93 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.887e-05/0.3414, allocations: 4 kB / 422.1 MB, free: 6.926 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003138/0.3417, allocations: 31.84 kB / 422.2 MB, free: 6.895 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001159/0.3418, allocations: 23.98 kB / 422.2 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.3419, allocations: 4 kB / 422.2 MB, free: 6.867 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.03e-05/0.342, allocations: 11.94 kB / 422.2 MB, free: 6.855 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.006e-05/0.3421, allocations: 19.91 kB / 422.2 MB, free: 6.836 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.207e-05/0.3421, allocations: 4 kB / 422.2 MB, free: 6.832 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.164e-05/0.3421, allocations: 4 kB / 422.2 MB, free: 6.828 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.969e-05/0.3421, allocations: 0 / 422.2 MB, free: 6.828 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.238e-05/0.3421, allocations: 15.92 kB / 422.2 MB, free: 6.812 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001177/0.3423, allocations: 35.77 kB / 422.3 MB, free: 6.777 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.3423, allocations: 4 kB / 422.3 MB, free: 6.773 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.3423, allocations: 0 / 422.3 MB, free: 6.773 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.3423, allocations: 0 / 422.3 MB, free: 6.773 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.0005698/0.3429, allocations: 343.4 kB / 422.6 MB, free: 6.387 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.3429, allocations: 8.031 kB / 422.6 MB, free: 6.379 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.011e-05/0.3429, allocations: 4.938 kB / 422.6 MB, free: 6.375 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002875/0.3432, allocations: 176.3 kB / 422.8 MB, free: 6.164 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.533e-05/0.3432, allocations: 384 / 422.8 MB, free: 6.164 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.601e-05/0.3433, allocations: 4.375 kB / 422.8 MB, free: 6.16 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003725/0.3436, allocations: 123.8 kB / 422.9 MB, free: 6.027 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.3436, allocations: 192 / 422.9 MB, free: 6.027 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.693e-05/0.3437, allocations: 7.938 kB / 422.9 MB, free: 6.02 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.3437, allocations: 3.938 kB / 422.9 MB, free: 6.016 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001178/0.3438, allocations: 19.97 kB / 422.9 MB, free: 5.996 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001846/0.344, allocations: 153.7 kB / 423.1 MB, free: 5.797 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001653/0.3441, allocations: 54.55 kB / 423.2 MB, free: 5.734 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.482e-05/0.3442, allocations: 24.92 kB / 423.2 MB, free: 5.707 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.352e-05/0.3442, allocations: 0 / 423.2 MB, free: 5.707 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.3443, allocations: 34.56 kB / 423.2 MB, free: 5.664 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 2.866e-06/0.3443, allocations: 3.984 kB / 423.2 MB, free: 5.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002769/0.3445, allocations: 81.5 kB / 423.3 MB, free: 5.574 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.425e-05/0.3446, allocations: 55.41 kB / 423.3 MB, free: 5.508 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.3447, allocations: 105.8 kB / 423.5 MB, free: 5.395 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.3447, allocations: 25.7 kB / 423.5 MB, free: 5.363 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.963e-05/0.3448, allocations: 80.14 kB / 423.6 MB, free: 5.281 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.178e-05/0.3448, allocations: 15.92 kB / 423.6 MB, free: 5.266 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.323e-05/0.3448, allocations: 17.66 kB / 423.6 MB, free: 5.242 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.345, allocations: 314.8 kB / 423.9 MB, free: 4.926 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.674e-05/0.345, allocations: 4 kB / 423.9 MB, free: 4.922 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.648e-05/0.3451, allocations: 35.42 kB / 423.9 MB, free: 4.875 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.921e-05/0.3451, allocations: 35.38 kB / 424 MB, free: 4.828 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3451, allocations: 0 / 424 MB, free: 4.828 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001487/0.3453, allocations: 73.52 kB / 424 MB, free: 4.75 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.3453, allocations: 4 kB / 424 MB, free: 4.746 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.3453, allocations: 3.938 kB / 424 MB, free: 4.742 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.3453, allocations: 4 kB / 424.1 MB, free: 4.738 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.943e-05/0.3454, allocations: 4 kB / 424.1 MB, free: 4.734 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.3454, allocations: 0 / 424.1 MB, free: 4.734 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.747e-05/0.3454, allocations: 7.938 kB / 424.1 MB, free: 4.727 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.449e-06/0.3454, allocations: 0 / 424.1 MB, free: 4.727 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: 5 ($CLKPRE.step.counter,step.counter,step.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.824e-05/0.3455, allocations: 122 kB / 424.2 MB, free: 4.598 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001436/0.3457, allocations: 57.62 kB / 424.2 MB, free: 4.535 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.486e-05/0.3457, allocations: 15.42 kB / 424.3 MB, free: 4.512 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.3457, allocations: 0 / 424.3 MB, free: 4.512 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.3457, allocations: 0 / 424.3 MB, free: 4.512 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.3457, allocations: 0 / 424.3 MB, free: 4.512 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001193/0.3458, allocations: 153.7 kB / 424.4 MB, free: 4.312 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3458, allocations: 0 / 424.4 MB, free: 4.312 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.088e-05/0.3459, allocations: 8.359 kB / 424.4 MB, free: 4.305 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3459, allocations: 0 / 424.4 MB, free: 4.305 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.3459, allocations: 11.94 kB / 424.4 MB, free: 4.293 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.3459, allocations: 4 kB / 424.4 MB, free: 4.289 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3459, allocations: 0 / 424.4 MB, free: 4.289 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001678/0.346, allocations: 89 kB / 424.5 MB, free: 4.184 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.88e-05/0.3461, allocations: 81.11 kB / 424.6 MB, free: 4.086 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.3461, allocations: 3.938 kB / 424.6 MB, free: 4.082 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.207e-05/0.3461, allocations: 7.984 kB / 424.6 MB, free: 4.074 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.217e-06/0.3461, allocations: 3.938 kB / 424.6 MB, free: 4.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.3462, allocations: 8 kB / 424.6 MB, free: 4.062 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.57e-05/0.3462, allocations: 79.28 kB / 424.7 MB, free: 3.984 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3462, allocations: 0 / 424.7 MB, free: 3.984 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001835/0.3464, allocations: 4 kB / 424.7 MB, free: 3.98 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: 4 (assignClock1.u,assignClock1.y,step.y,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * 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.0001206/0.3465, allocations: 99.25 kB / 424.8 MB, free: 3.871 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001499/0.3467, allocations: 31.91 kB / 424.8 MB, free: 3.84 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.3467, allocations: 7.938 kB / 424.8 MB, free: 3.832 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.91e-07/0.3467, allocations: 256 / 424.8 MB, free: 3.832 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002643/0.3469, allocations: 22.92 kB / 424.9 MB, free: 3.812 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000325/0.3472, allocations: 114 kB / 425 MB, free: 3.676 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003576/0.3476, allocations: 0.6846 MB / 425.7 MB, free: 2.965 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.74e-05/0.3476, allocations: 0 / 425.7 MB, free: 2.965 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.014e-05/0.3477, allocations: 11.44 kB / 425.7 MB, free: 2.953 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3477, allocations: 0 / 425.7 MB, free: 2.953 MB / 334.1 MB Notification: Performance of Templates: time 0.002751/0.3504, allocations: 379.5 kB / 426 MB, free: 2.59 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches