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.001051/0.001051, allocations: 93.3 kB / 16.65 MB, free: 6.535 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.001398/0.001398, allocations: 175.1 kB / 17.56 MB, free: 6.184 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.592/1.592, allocations: 223.3 MB / 241.6 MB, free: 108 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003227/0.0003228, allocations: 11.94 kB / 301.4 MB, free: 6.125 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1508, allocations: 50.42 MB / 351.8 MB, free: 3.703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.00184/0.1527, allocations: 1.135 MB / 353 MB, free: 2.555 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001963/0.1529, allocations: 31.91 kB / 353 MB, free: 2.523 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.624e-05/0.153, allocations: 0 / 353 MB, free: 2.523 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.827e-05/0.153, allocations: 3.938 kB / 353 MB, free: 2.52 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 4.115e-05/0.1531, allocations: 0 / 353 MB, free: 2.52 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002861/0.1534, allocations: 27.97 kB / 353 MB, free: 2.492 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.261e-05/0.1535, allocations: 27.88 kB / 353.1 MB, free: 2.465 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.1536, allocations: 11.98 kB / 353.1 MB, free: 2.453 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.845e-05/0.1536, allocations: 7.938 kB / 353.1 MB, free: 2.445 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.452e-05/0.1537, allocations: 11.92 kB / 353.1 MB, free: 2.434 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.1537, allocations: 4 kB / 353.1 MB, free: 2.43 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.829e-06/0.1537, allocations: 0 / 353.1 MB, free: 2.43 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.86e-05/0.1537, allocations: 3.984 kB / 353.1 MB, free: 2.426 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.809e-05/0.1538, allocations: 37.64 kB / 353.1 MB, free: 2.383 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.807e-05/0.1539, allocations: 19.89 kB / 353.2 MB, free: 2.363 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.1539, allocations: 8 kB / 353.2 MB, free: 2.355 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1539, allocations: 0 / 353.2 MB, free: 2.355 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.1539, allocations: 4 kB / 353.2 MB, free: 2.352 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.0004465/0.1544, allocations: 331.7 kB / 353.5 MB, free: 1.977 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.1544, allocations: 12.03 kB / 353.5 MB, free: 1.965 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.233e-05/0.1544, allocations: 4.922 kB / 353.5 MB, free: 1.961 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000193/0.1546, allocations: 176.3 kB / 353.7 MB, free: 1.75 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.314e-05/0.1547, allocations: 4.375 kB / 353.7 MB, free: 1.746 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/0.1547, allocations: 384 / 353.7 MB, free: 1.746 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003467/0.1551, allocations: 127.8 kB / 353.8 MB, free: 1.609 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.1551, allocations: 192 / 353.8 MB, free: 1.609 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.1551, allocations: 7.938 kB / 353.8 MB, free: 1.602 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.1551, allocations: 0 / 353.8 MB, free: 1.602 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001047/0.1552, allocations: 19.98 kB / 353.8 MB, free: 1.582 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001751/0.1554, allocations: 157.7 kB / 354 MB, free: 1.379 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001504/0.1556, allocations: 50.56 kB / 354 MB, free: 1.32 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.088e-05/0.1556, allocations: 32.86 kB / 354.1 MB, free: 1.285 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.188e-05/0.1557, allocations: 0 / 354.1 MB, free: 1.285 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.1557, allocations: 34.56 kB / 354.1 MB, free: 1.242 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.1557, allocations: 0 / 354.1 MB, free: 1.242 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002645/0.156, allocations: 77.78 kB / 354.2 MB, free: 1.16 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.878e-05/0.156, allocations: 63.31 kB / 354.2 MB, free: 1.086 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.557e-05/0.1561, allocations: 101.8 kB / 354.3 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.1562, allocations: 29.7 kB / 354.4 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.304e-05/0.1562, allocations: 84.14 kB / 354.5 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.708e-05/0.1562, allocations: 0 / 354.5 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.756e-05/0.1563, allocations: 17.66 kB / 354.5 MB, free: 0.832 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.1564, allocations: 318.8 kB / 354.8 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.264e-05/0.1564, allocations: 4 kB / 354.8 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.283e-05/0.1565, allocations: 35.42 kB / 354.8 MB, free: 472 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.579e-05/0.1565, allocations: 35.38 kB / 354.9 MB, free: 424 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.1565, allocations: 0 / 354.9 MB, free: 424 kB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.31e-05/0.1566, allocations: 61.66 kB / 354.9 MB, free: 356 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/0.1566, allocations: 11.88 kB / 354.9 MB, free: 344 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.1567, allocations: 3.938 kB / 354.9 MB, free: 340 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.1567, allocations: 4 kB / 354.9 MB, free: 336 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.622e-05/0.1567, allocations: 7.984 kB / 354.9 MB, free: 328 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.1568, allocations: 0 / 354.9 MB, free: 328 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.217e-05/0.1568, allocations: 12.22 kB / 355 MB, free: 316 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.1568, allocations: 4 kB / 355 MB, free: 312 kB / 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 ($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 7.726e-05/0.1569, allocations: 109.9 kB / 355.1 MB, free: 192 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001318/0.157, allocations: 65.67 kB / 355.1 MB, free: 120 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.36e-05/0.1571, allocations: 15.44 kB / 355.1 MB, free: 96 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1571, allocations: 0 / 355.1 MB, free: 96 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.1571, allocations: 0 / 355.1 MB, free: 96 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.1571, allocations: 4 kB / 355.1 MB, free: 92 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001183/0.1572, allocations: 149.7 kB / 355.3 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1572, allocations: 4 kB / 355.3 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.063e-05/0.1573, allocations: 4 kB / 355.3 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.1573, allocations: 4 kB / 355.3 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.1573, allocations: 3.938 kB / 355.3 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.357e-05/0.1573, allocations: 7.938 kB / 355.3 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1573, allocations: 0 / 355.3 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001617/0.1575, allocations: 85.11 kB / 355.4 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.881e-05/0.1575, allocations: 88.94 kB / 355.5 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.1575, allocations: 3.938 kB / 355.5 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.8e-05/0.1576, allocations: 4 kB / 355.5 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.727e-06/0.1576, allocations: 0 / 355.5 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-06/0.1576, allocations: 0 / 355.5 MB, free: 15.66 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.579e-05/0.1576, allocations: 87.28 kB / 355.6 MB, free: 15.57 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1577, allocations: 0 / 355.6 MB, free: 15.57 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001815/0.1578, allocations: 4 kB / 355.6 MB, free: 15.57 MB / 302.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.0001272/0.158, allocations: 107.2 kB / 355.7 MB, free: 15.45 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001335/0.1581, allocations: 27.92 kB / 355.7 MB, free: 15.42 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.1581, allocations: 0 / 355.7 MB, free: 15.42 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.81e-07/0.1581, allocations: 3.938 kB / 355.7 MB, free: 15.42 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002534/0.1584, allocations: 36.23 kB / 355.8 MB, free: 15.38 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003023/0.1587, allocations: 121.4 kB / 355.9 MB, free: 15.23 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002662/0.159, allocations: 0.6809 MB / 356.6 MB, free: 14.53 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.538e-05/0.159, allocations: 0 / 356.6 MB, free: 14.53 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.404e-05/0.159, allocations: 11.38 kB / 356.6 MB, free: 14.52 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.159, allocations: 0 / 356.6 MB, free: 14.52 MB / 302.1 MB Notification: Performance of Templates: time 0.002457/0.1615, allocations: 356.7 kB / 356.9 MB, free: 14.17 MB / 302.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches