Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_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.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 93.25 kB / 16.3 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 183.6 kB / 17.2 MB, free: 6.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.545/1.545, allocations: 223.2 MB / 241.1 MB, free: 5.438 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000283/0.0002831, allocations: 5.25 kB / 300.7 MB, free: 6.023 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1365, allocations: 50.42 MB / 351.1 MB, free: 11.75 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.001734/0.1383, allocations: 1.123 MB / 352.3 MB, free: 10.61 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001968/0.1385, allocations: 51.78 kB / 352.3 MB, free: 10.56 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.639e-05/0.1386, allocations: 0 / 352.3 MB, free: 10.56 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.626e-05/0.1386, allocations: 0 / 352.3 MB, free: 10.56 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3.48e-05/0.1387, allocations: 0 / 352.3 MB, free: 10.56 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002916/0.139, allocations: 27.89 kB / 352.3 MB, free: 10.54 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.062e-05/0.1391, allocations: 15.92 kB / 352.3 MB, free: 10.52 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.1392, allocations: 11.98 kB / 352.4 MB, free: 10.51 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.138e-05/0.1392, allocations: 7.984 kB / 352.4 MB, free: 10.5 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.101e-05/0.1393, allocations: 11.94 kB / 352.4 MB, free: 10.49 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.1393, allocations: 0 / 352.4 MB, free: 10.49 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.338e-05/0.1393, allocations: 4 kB / 352.4 MB, free: 10.48 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.463e-05/0.1393, allocations: 4 kB / 352.4 MB, free: 10.48 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.366e-05/0.1394, allocations: 29.64 kB / 352.4 MB, free: 10.45 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.422e-05/0.1394, allocations: 23.95 kB / 352.4 MB, free: 10.42 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.1395, allocations: 0 / 352.4 MB, free: 10.42 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.918e-06/0.1395, allocations: 4 kB / 352.4 MB, free: 10.42 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.461e-06/0.1395, allocations: 0 / 352.4 MB, free: 10.42 MB / 286.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.0004524/0.1399, allocations: 331.3 kB / 352.8 MB, free: 10.05 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.644e-05/0.14, allocations: 12.03 kB / 352.8 MB, free: 10.04 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.989e-05/0.14, allocations: 7.938 kB / 352.8 MB, free: 10.03 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002079/0.1403, allocations: 178.9 kB / 353 MB, free: 9.812 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.703e-05/0.1403, allocations: 12 kB / 353 MB, free: 9.801 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.105e-05/0.1403, allocations: 0 / 353 MB, free: 9.801 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003458/0.1407, allocations: 111.3 kB / 353.1 MB, free: 9.68 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.1407, allocations: 3.938 kB / 353.1 MB, free: 9.676 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.1407, allocations: 0 / 353.1 MB, free: 9.676 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.313e-06/0.1407, allocations: 7.938 kB / 353.1 MB, free: 9.668 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.1408, allocations: 27.94 kB / 353.1 MB, free: 9.641 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001689/0.141, allocations: 161.6 kB / 353.3 MB, free: 9.434 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001584/0.1412, allocations: 46.56 kB / 353.3 MB, free: 9.379 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.766e-06/0.1412, allocations: 0 / 353.3 MB, free: 9.379 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.1412, allocations: 34.59 kB / 353.4 MB, free: 9.336 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.1412, allocations: 0 / 353.4 MB, free: 9.336 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002792/0.1415, allocations: 77.73 kB / 353.4 MB, free: 9.254 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.899e-05/0.1416, allocations: 55.41 kB / 353.5 MB, free: 9.188 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.64e-05/0.1417, allocations: 105.8 kB / 353.6 MB, free: 9.074 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.1417, allocations: 25.7 kB / 353.6 MB, free: 9.043 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.185e-05/0.1418, allocations: 84.14 kB / 353.7 MB, free: 8.957 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.52e-05/0.1418, allocations: 7.906 kB / 353.7 MB, free: 8.949 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.374e-06/0.1418, allocations: 0 / 353.7 MB, free: 8.949 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.1419, allocations: 318.8 kB / 354 MB, free: 8.629 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.509e-05/0.142, allocations: 7.984 kB / 354 MB, free: 8.621 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.564e-05/0.142, allocations: 31.44 kB / 354.1 MB, free: 8.578 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.487e-05/0.142, allocations: 7.938 kB / 354.1 MB, free: 8.57 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.142, allocations: 0 / 354.1 MB, free: 8.57 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.242e-05/0.1421, allocations: 61.72 kB / 354.1 MB, free: 8.504 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.1422, allocations: 8.031 kB / 354.1 MB, free: 8.496 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.1422, allocations: 4 kB / 354.1 MB, free: 8.492 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.1422, allocations: 0 / 354.1 MB, free: 8.492 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.052e-05/0.1422, allocations: 4 kB / 354.1 MB, free: 8.488 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.1423, allocations: 0 / 354.1 MB, free: 8.488 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.187e-05/0.1423, allocations: 11.88 kB / 354.1 MB, free: 8.477 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.1423, allocations: 3.984 kB / 354.2 MB, free: 8.473 MB / 286.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 (step.counter,$CLKPRE.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.307e-05/0.1424, allocations: 117.8 kB / 354.3 MB, free: 8.348 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/0.1425, allocations: 57.88 kB / 354.3 MB, free: 8.285 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.171e-05/0.1426, allocations: 11.53 kB / 354.3 MB, free: 8.266 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.716e-06/0.1426, allocations: 7.984 kB / 354.3 MB, free: 8.258 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1426, allocations: 0 / 354.3 MB, free: 8.258 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1426, allocations: 0 / 354.3 MB, free: 8.258 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.952e-05/0.1427, allocations: 161.5 kB / 354.5 MB, free: 8.051 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1427, allocations: 0 / 354.5 MB, free: 8.051 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.107e-05/0.1427, allocations: 7.984 kB / 354.5 MB, free: 8.043 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.1427, allocations: 3.938 kB / 354.5 MB, free: 8.039 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.1428, allocations: 0 / 354.5 MB, free: 8.039 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.1428, allocations: 4.312 kB / 354.5 MB, free: 8.035 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1428, allocations: 4 kB / 354.5 MB, free: 8.031 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001508/0.1429, allocations: 89.06 kB / 354.6 MB, free: 7.926 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.845e-05/0.143, allocations: 77.11 kB / 354.7 MB, free: 7.832 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.975e-05/0.143, allocations: 12 kB / 354.7 MB, free: 7.82 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.042e-05/0.143, allocations: 3.984 kB / 354.7 MB, free: 7.816 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.344e-06/0.1431, allocations: 0 / 354.7 MB, free: 7.816 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.63e-06/0.1431, allocations: 4 kB / 354.7 MB, free: 7.812 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.586e-05/0.1431, allocations: 79.28 kB / 354.8 MB, free: 7.734 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1431, allocations: 4 kB / 354.8 MB, free: 7.73 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000196/0.1433, allocations: 8 kB / 354.8 MB, free: 7.723 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001182/0.1434, allocations: 95.25 kB / 354.9 MB, free: 7.617 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001345/0.1436, allocations: 31.91 kB / 354.9 MB, free: 7.586 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1436, allocations: 0 / 354.9 MB, free: 7.586 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 6.11e-07/0.1436, allocations: 0 / 354.9 MB, free: 7.586 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002055/0.1438, allocations: 28.2 kB / 354.9 MB, free: 7.559 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002706/0.1441, allocations: 124.6 kB / 355.1 MB, free: 7.406 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002307/0.1443, allocations: 0.6848 MB / 355.7 MB, free: 6.695 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 1.413e-05/0.1443, allocations: 0 / 355.7 MB, free: 6.695 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.353e-05/0.1444, allocations: 15.44 kB / 355.8 MB, free: 6.68 MB / 286.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1444, allocations: 0 / 355.8 MB, free: 6.68 MB / 286.1 MB Notification: Performance of Templates: time 0.002403/0.1468, allocations: 327.9 kB / 356.1 MB, free: 6.359 MB / 286.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedStep/TickBasedStep.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches