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.001255/0.001255, allocations: 113 kB / 17.68 MB, free: 5.473 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.001163/0.001163, allocations: 190.9 kB / 18.62 MB, free: 4.543 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.399/1.399, allocations: 222.9 MB / 242.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 51.23 kB / 302.1 MB, free: 5.145 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1345, allocations: 49.45 MB / 351.5 MB, free: 3.676 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.003551/0.1381, allocations: 1.417 MB / 352.9 MB, free: 2.242 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004018/0.1385, allocations: 101.2 kB / 353 MB, free: 2.145 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.1387, allocations: 0 / 353 MB, free: 2.145 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.614e-05/0.1387, allocations: 7.922 kB / 353 MB, free: 2.137 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 4.736e-05/0.1388, allocations: 3.938 kB / 353 MB, free: 2.133 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003141/0.1391, allocations: 31.97 kB / 353.1 MB, free: 2.102 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.621e-05/0.1392, allocations: 15.94 kB / 353.1 MB, free: 2.086 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.1393, allocations: 19.97 kB / 353.1 MB, free: 2.066 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.797e-05/0.1394, allocations: 11.94 kB / 353.1 MB, free: 2.055 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.835e-05/0.1394, allocations: 11.92 kB / 353.1 MB, free: 2.043 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.222e-05/0.1394, allocations: 8 kB / 353.1 MB, free: 2.035 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.066e-05/0.1395, allocations: 0 / 353.1 MB, free: 2.035 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.457e-05/0.1395, allocations: 4 kB / 353.1 MB, free: 2.031 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.25e-05/0.1395, allocations: 11.88 kB / 353.1 MB, free: 2.02 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001034/0.1397, allocations: 27.89 kB / 353.2 MB, free: 1.992 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.1397, allocations: 0 / 353.2 MB, free: 1.992 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.494e-06/0.1397, allocations: 0 / 353.2 MB, free: 1.992 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.1397, allocations: 0 / 353.2 MB, free: 1.992 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.0006983/0.1404, allocations: 347.3 kB / 353.5 MB, free: 1.602 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.1404, allocations: 15.89 kB / 353.5 MB, free: 1.586 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.106e-05/0.1405, allocations: 8.844 kB / 353.5 MB, free: 1.578 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002626/0.1408, allocations: 168.4 kB / 353.7 MB, free: 1.375 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.179e-05/0.1408, allocations: 8.375 kB / 353.7 MB, free: 1.367 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.36e-05/0.1408, allocations: 384 / 353.7 MB, free: 1.367 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003267/0.1411, allocations: 99.88 kB / 353.8 MB, free: 1.258 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.1412, allocations: 192 / 353.8 MB, free: 1.258 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.1412, allocations: 3.938 kB / 353.8 MB, free: 1.254 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.1412, allocations: 0 / 353.8 MB, free: 1.254 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.347e-05/0.1413, allocations: 12 kB / 353.8 MB, free: 1.242 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002018/0.1415, allocations: 157.7 kB / 354 MB, free: 1.039 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001358/0.1416, allocations: 50.5 kB / 354 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.39e-05/0.1417, allocations: 24.92 kB / 354 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.855e-05/0.1417, allocations: 4 kB / 354 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.1418, allocations: 30.56 kB / 354.1 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.413e-06/0.1418, allocations: 0 / 354.1 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002147/0.142, allocations: 69.47 kB / 354.1 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.459e-05/0.142, allocations: 55.41 kB / 354.2 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.73e-05/0.1421, allocations: 105.8 kB / 354.3 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.1422, allocations: 29.7 kB / 354.3 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.151e-05/0.1422, allocations: 80.14 kB / 354.4 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.086e-05/0.1422, allocations: 7.938 kB / 354.4 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.851e-05/0.1423, allocations: 21.7 kB / 354.4 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.1424, allocations: 314.8 kB / 354.7 MB, free: 192 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.19e-05/0.1424, allocations: 0 / 354.7 MB, free: 192 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.234e-05/0.1425, allocations: 27.42 kB / 354.8 MB, free: 152 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.17e-05/0.1425, allocations: 43.31 kB / 354.8 MB, free: 96 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1425, allocations: 0 / 354.8 MB, free: 96 kB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.603e-05/0.1426, allocations: 53.62 kB / 354.9 MB, free: 36 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.897e-05/0.1427, allocations: 4.125 kB / 354.9 MB, free: 32 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.1427, allocations: 11.94 kB / 354.9 MB, free: 20 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.1428, allocations: 288 / 354.9 MB, free: 20 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.929e-05/0.1428, allocations: 7.938 kB / 354.9 MB, free: 12 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.1428, allocations: 3.984 kB / 354.9 MB, free: 8 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.942e-05/0.1429, allocations: 0 / 354.9 MB, free: 8 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.089e-06/0.1429, allocations: 8 kB / 354.9 MB, free: 0 / 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.0001133/0.143, allocations: 117.8 kB / 355 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.652e-05/0.1431, allocations: 61.58 kB / 355.1 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.351e-05/0.1432, allocations: 15.42 kB / 355.1 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.1432, allocations: 0 / 355.1 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.1432, allocations: 4.188 kB / 355.1 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1432, allocations: 0 / 355.1 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001256/0.1433, allocations: 157.7 kB / 355.3 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.1433, allocations: 0 / 355.3 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.19e-05/0.1433, allocations: 4 kB / 355.3 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.1434, allocations: 0 / 355.3 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001642/0.1435, allocations: 3.938 kB / 355.3 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1435, allocations: 0 / 355.3 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1435, allocations: 0 / 355.3 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001495/0.1437, allocations: 85.11 kB / 355.3 MB, free: 15.47 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.239e-05/0.1438, allocations: 81.02 kB / 355.4 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.1438, allocations: 3.938 kB / 355.4 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.09e-05/0.1438, allocations: 4 kB / 355.4 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.346e-06/0.1438, allocations: 0 / 355.4 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.1438, allocations: 4 kB / 355.4 MB, free: 15.36 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.088e-05/0.1439, allocations: 83.27 kB / 355.5 MB, free: 15.28 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.735e-06/0.1439, allocations: 4 kB / 355.5 MB, free: 15.27 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002046/0.1441, allocations: 7.938 kB / 355.5 MB, free: 15.27 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.0001428/0.1443, allocations: 103.2 kB / 355.6 MB, free: 15.15 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001446/0.1444, allocations: 19.98 kB / 355.6 MB, free: 15.13 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.1444, allocations: 0 / 355.6 MB, free: 15.13 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.497e-06/0.1444, allocations: 0 / 355.6 MB, free: 15.13 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002584/0.1447, allocations: 27.81 kB / 355.7 MB, free: 15.11 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003203/0.145, allocations: 121.7 kB / 355.8 MB, free: 14.96 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004515/0.1455, allocations: 0.6807 MB / 356.5 MB, free: 14.25 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.033e-05/0.1455, allocations: 0 / 356.5 MB, free: 14.25 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.431e-05/0.1456, allocations: 11.44 kB / 356.5 MB, free: 14.24 MB / 302.1 MB Notification: Performance of SimCode: time 2e-07/0.1456, allocations: 0 / 356.5 MB, free: 14.24 MB / 302.1 MB Notification: Performance of Templates: time 0.002621/0.1482, allocations: 316.5 kB / 356.8 MB, free: 13.93 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/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