Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.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.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 90.52 kB / 16.65 MB, free: 6.59 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.001147/0.001147, allocations: 182.8 kB / 17.56 MB, free: 6.203 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.543/1.543, allocations: 223.3 MB / 241.6 MB, free: 132 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003892/0.0003893, allocations: 12.47 kB / 301.4 MB, free: 6.121 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1477, allocations: 50.41 MB / 351.8 MB, free: 3.703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.002612/0.1504, allocations: 1.151 MB / 353 MB, free: 2.539 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004609/0.1509, allocations: 96.42 kB / 353.1 MB, free: 2.445 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.1511, allocations: 0 / 353.1 MB, free: 2.445 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.247e-05/0.1511, allocations: 3.938 kB / 353.1 MB, free: 2.441 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.893e-05/0.1512, allocations: 4 kB / 353.1 MB, free: 2.438 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004169/0.1516, allocations: 19.97 kB / 353.1 MB, free: 2.418 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00013/0.1518, allocations: 27.92 kB / 353.1 MB, free: 2.391 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001659/0.1519, allocations: 8 kB / 353.1 MB, free: 2.383 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.907e-05/0.152, allocations: 7.938 kB / 353.1 MB, free: 2.375 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.03e-05/0.152, allocations: 11.91 kB / 353.2 MB, free: 2.363 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.652e-05/0.1521, allocations: 4 kB / 353.2 MB, free: 2.359 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.333e-05/0.1521, allocations: 0 / 353.2 MB, free: 2.359 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.008e-05/0.1521, allocations: 4 kB / 353.2 MB, free: 2.355 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.328e-05/0.1522, allocations: 37.58 kB / 353.2 MB, free: 2.312 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001064/0.1523, allocations: 23.91 kB / 353.2 MB, free: 2.289 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.1523, allocations: 3.938 kB / 353.2 MB, free: 2.285 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.1524, allocations: 0 / 353.2 MB, free: 2.285 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.1524, allocations: 0 / 353.2 MB, free: 2.285 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.0005424/0.1529, allocations: 339.7 kB / 353.6 MB, free: 1.902 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.414e-05/0.153, allocations: 8.031 kB / 353.6 MB, free: 1.895 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.153e-05/0.153, allocations: 4.938 kB / 353.6 MB, free: 1.891 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002628/0.1533, allocations: 176.3 kB / 353.7 MB, free: 1.68 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.485e-05/0.1534, allocations: 4.375 kB / 353.8 MB, free: 1.676 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.241e-05/0.1534, allocations: 8.375 kB / 353.8 MB, free: 1.668 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004137/0.1538, allocations: 91.89 kB / 353.8 MB, free: 1.566 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.1538, allocations: 192 / 353.8 MB, free: 1.566 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.761e-05/0.1539, allocations: 7.922 kB / 353.9 MB, free: 1.559 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.1539, allocations: 4 kB / 353.9 MB, free: 1.555 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.314e-05/0.154, allocations: 16 kB / 353.9 MB, free: 1.539 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002261/0.1542, allocations: 161.6 kB / 354 MB, free: 1.332 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001661/0.1544, allocations: 46.56 kB / 354.1 MB, free: 1.277 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.46e-05/0.1544, allocations: 20.89 kB / 354.1 MB, free: 1.254 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.146e-05/0.1545, allocations: 8.031 kB / 354.1 MB, free: 1.246 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.1545, allocations: 30.56 kB / 354.1 MB, free: 1.207 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 9.868e-06/0.1545, allocations: 3.984 kB / 354.1 MB, free: 1.203 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002767/0.1548, allocations: 73.47 kB / 354.2 MB, free: 1.125 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.991e-05/0.1549, allocations: 59.41 kB / 354.3 MB, free: 1.055 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.155, allocations: 101.8 kB / 354.4 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.155, allocations: 25.7 kB / 354.4 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.093e-05/0.1551, allocations: 88.14 kB / 354.5 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.072e-05/0.1551, allocations: 0 / 354.5 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.499e-05/0.1551, allocations: 21.64 kB / 354.5 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.1553, allocations: 314.8 kB / 354.8 MB, free: 492 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.09e-05/0.1553, allocations: 0 / 354.8 MB, free: 492 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.41e-05/0.1554, allocations: 27.44 kB / 354.8 MB, free: 452 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.438e-05/0.1554, allocations: 43.36 kB / 354.9 MB, free: 396 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1554, allocations: 0 / 354.9 MB, free: 396 kB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001127/0.1555, allocations: 49.64 kB / 354.9 MB, free: 340 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/0.1556, allocations: 7.938 kB / 354.9 MB, free: 332 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.1556, allocations: 11.98 kB / 354.9 MB, free: 320 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.1556, allocations: 8 kB / 355 MB, free: 312 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.797e-05/0.1557, allocations: 4 kB / 355 MB, free: 308 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.1557, allocations: 0 / 355 MB, free: 308 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.453e-05/0.1557, allocations: 0 / 355 MB, free: 308 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.1557, allocations: 4 kB / 355 MB, free: 304 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: 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 0.0001194/0.1559, allocations: 113.8 kB / 355.1 MB, free: 180 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/0.156, allocations: 61.53 kB / 355.1 MB, free: 112 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.817e-05/0.156, allocations: 15.44 kB / 355.2 MB, free: 88 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.1561, allocations: 0 / 355.2 MB, free: 88 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.737e-06/0.1561, allocations: 256 / 355.2 MB, free: 88 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.064e-06/0.1561, allocations: 3.984 kB / 355.2 MB, free: 84 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000169/0.1563, allocations: 157.7 kB / 355.3 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1563, allocations: 0 / 355.3 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.014e-05/0.1563, allocations: 4 kB / 355.3 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.1563, allocations: 0 / 355.3 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.1563, allocations: 3.938 kB / 355.3 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.1563, allocations: 0 / 355.3 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.1563, allocations: 0 / 355.3 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001623/0.1565, allocations: 85.11 kB / 355.4 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.75e-05/0.1566, allocations: 81.11 kB / 355.5 MB, free: 15.67 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/0.1566, allocations: 3.938 kB / 355.5 MB, free: 15.67 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.057e-05/0.1566, allocations: 0 / 355.5 MB, free: 15.67 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.355e-06/0.1566, allocations: 0 / 355.5 MB, free: 15.67 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.1567, allocations: 4 kB / 355.5 MB, free: 15.66 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.361e-05/0.1567, allocations: 91.2 kB / 355.6 MB, free: 15.57 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1567, allocations: 4 kB / 355.6 MB, free: 15.57 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001957/0.1569, allocations: 0 / 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: 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.0001801/0.1571, allocations: 103.2 kB / 355.7 MB, free: 15.46 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001428/0.1573, allocations: 19.98 kB / 355.7 MB, free: 15.44 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.1573, allocations: 0 / 355.7 MB, free: 15.44 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.697e-06/0.1573, allocations: 3.938 kB / 355.7 MB, free: 15.43 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002876/0.1576, allocations: 25.84 kB / 355.7 MB, free: 15.41 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003839/0.158, allocations: 133 kB / 355.9 MB, free: 15.25 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003477/0.1583, allocations: 0.6809 MB / 356.5 MB, free: 14.55 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.689e-05/0.1584, allocations: 0 / 356.5 MB, free: 14.55 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.026e-05/0.1584, allocations: 7.438 kB / 356.5 MB, free: 14.54 MB / 302.1 MB Notification: Performance of SimCode: time 4.2e-07/0.1584, allocations: 4 kB / 356.6 MB, free: 14.54 MB / 302.1 MB Notification: Performance of Templates: time 0.003253/0.1617, allocations: 300.6 kB / 356.8 MB, free: 14.24 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches