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.002334/0.002334, allocations: 115.2 kB / 17.69 MB, free: 5.309 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.002524/0.002524, allocations: 191 kB / 18.63 MB, free: 4.375 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.453/1.453, allocations: 222.9 MB / 242.3 MB, free: 15.28 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001049/0.001049, allocations: 51.64 kB / 302.1 MB, free: 5.211 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1283, allocations: 49.45 MB / 351.5 MB, free: 3.738 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.003031/0.1314, allocations: 1.401 MB / 352.9 MB, free: 2.32 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002016/0.1316, allocations: 27.92 kB / 352.9 MB, free: 2.293 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.936e-05/0.1317, allocations: 0 / 352.9 MB, free: 2.293 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.507e-05/0.1318, allocations: 3.938 kB / 352.9 MB, free: 2.289 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3.834e-05/0.1318, allocations: 3.984 kB / 352.9 MB, free: 2.285 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002715/0.1321, allocations: 27.17 kB / 353 MB, free: 2.262 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.22e-05/0.1322, allocations: 23.98 kB / 353 MB, free: 2.238 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.1323, allocations: 19.92 kB / 353 MB, free: 2.219 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.941e-05/0.1324, allocations: 11.98 kB / 353 MB, free: 2.207 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.723e-05/0.1324, allocations: 11.88 kB / 353 MB, free: 2.195 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.1325, allocations: 0 / 353 MB, free: 2.195 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.291e-05/0.1325, allocations: 4 kB / 353 MB, free: 2.191 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.57e-05/0.1325, allocations: 11.92 kB / 353.1 MB, free: 2.18 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.754e-05/0.1325, allocations: 11.94 kB / 353.1 MB, free: 2.168 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.779e-05/0.1326, allocations: 39.83 kB / 353.1 MB, free: 2.129 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1327, allocations: 0 / 353.1 MB, free: 2.129 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.1327, allocations: 4 kB / 353.1 MB, free: 2.125 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.451e-06/0.1327, allocations: 0 / 353.1 MB, free: 2.125 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.0004753/0.1332, allocations: 339.4 kB / 353.4 MB, free: 1.742 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/0.1332, allocations: 11.89 kB / 353.5 MB, free: 1.73 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.882e-05/0.1333, allocations: 8.844 kB / 353.5 MB, free: 1.723 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002724/0.1335, allocations: 172.4 kB / 353.6 MB, free: 1.516 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.597e-05/0.1336, allocations: 4.375 kB / 353.6 MB, free: 1.512 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/0.1336, allocations: 384 / 353.6 MB, free: 1.512 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003727/0.134, allocations: 115.9 kB / 353.7 MB, free: 1.387 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.134, allocations: 192 / 353.7 MB, free: 1.387 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.134, allocations: 3.938 kB / 353.8 MB, free: 1.383 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.134, allocations: 7.922 kB / 353.8 MB, free: 1.375 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001025/0.1341, allocations: 23.98 kB / 353.8 MB, free: 1.352 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001557/0.1343, allocations: 149.7 kB / 353.9 MB, free: 1.156 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.1344, allocations: 58.58 kB / 354 MB, free: 1.09 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.923e-05/0.1345, allocations: 28.88 kB / 354 MB, free: 1.059 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.244e-05/0.1345, allocations: 0 / 354 MB, free: 1.059 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.1346, allocations: 38.5 kB / 354.1 MB, free: 1.012 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.1346, allocations: 0 / 354.1 MB, free: 1.012 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.000258/0.1348, allocations: 81.45 kB / 354.1 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.146e-05/0.1349, allocations: 55.39 kB / 354.2 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.136e-05/0.135, allocations: 109.9 kB / 354.3 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.379e-05/0.135, allocations: 25.7 kB / 354.3 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.084e-05/0.1351, allocations: 84.12 kB / 354.4 MB, free: 0.625 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.781e-05/0.1351, allocations: 8 kB / 354.4 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.93e-05/0.1351, allocations: 17.72 kB / 354.4 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.1352, allocations: 310.8 kB / 354.7 MB, free: 288 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.602e-05/0.1353, allocations: 7.984 kB / 354.7 MB, free: 280 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.049e-05/0.1353, allocations: 31.44 kB / 354.8 MB, free: 236 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.145e-05/0.1354, allocations: 35.38 kB / 354.8 MB, free: 188 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1354, allocations: 0 / 354.8 MB, free: 188 kB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.771e-05/0.1355, allocations: 73.53 kB / 354.9 MB, free: 108 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.1355, allocations: 4 kB / 354.9 MB, free: 104 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.1355, allocations: 3.938 kB / 354.9 MB, free: 100 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.1355, allocations: 7.938 kB / 354.9 MB, free: 92 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.978e-05/0.1356, allocations: 4 kB / 354.9 MB, free: 88 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.1356, allocations: 0 / 354.9 MB, free: 88 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.107e-05/0.1356, allocations: 3.984 kB / 354.9 MB, free: 84 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-06/0.1356, allocations: 4 kB / 354.9 MB, free: 80 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 9.524e-05/0.1357, allocations: 117.8 kB / 355 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001249/0.1359, allocations: 65.67 kB / 355.1 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.906e-05/0.1359, allocations: 11.44 kB / 355.1 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-06/0.1359, allocations: 0 / 355.1 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.1359, allocations: 0 / 355.1 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1359, allocations: 0 / 355.1 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001006/0.136, allocations: 153.7 kB / 355.2 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.136, allocations: 3.938 kB / 355.2 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.942e-05/0.1361, allocations: 7.984 kB / 355.3 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.1361, allocations: 0 / 355.3 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.1361, allocations: 7.938 kB / 355.3 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1361, allocations: 4 kB / 355.3 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1361, allocations: 0 / 355.3 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001529/0.1363, allocations: 88.95 kB / 355.4 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.719e-05/0.1363, allocations: 85.05 kB / 355.4 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/0.1363, allocations: 3.938 kB / 355.4 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.687e-05/0.1364, allocations: 3.984 kB / 355.4 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.846e-06/0.1364, allocations: 4.375 kB / 355.4 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.1364, allocations: 4 kB / 355.5 MB, free: 15.42 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.111e-05/0.1364, allocations: 87.28 kB / 355.5 MB, free: 15.33 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1364, allocations: 0 / 355.5 MB, free: 15.33 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001834/0.1366, allocations: 4 kB / 355.5 MB, free: 15.33 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.0001164/0.1367, allocations: 107.2 kB / 355.6 MB, free: 15.21 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001317/0.1369, allocations: 32.2 kB / 355.7 MB, free: 15.18 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1369, allocations: 0 / 355.7 MB, free: 15.18 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.31e-07/0.1369, allocations: 0 / 355.7 MB, free: 15.18 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002346/0.1371, allocations: 28.23 kB / 355.7 MB, free: 15.15 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002822/0.1374, allocations: 117.6 kB / 355.8 MB, free: 15.01 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00023/0.1377, allocations: 0.6806 MB / 356.5 MB, free: 14.3 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.942e-05/0.1377, allocations: 4 kB / 356.5 MB, free: 14.3 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.45e-05/0.1377, allocations: 7.438 kB / 356.5 MB, free: 14.29 MB / 302.1 MB Notification: Performance of SimCode: time 2.164e-06/0.1377, allocations: 0 / 356.5 MB, free: 14.29 MB / 302.1 MB Notification: Performance of Templates: time 0.002186/0.1399, allocations: 377.8 kB / 356.9 MB, free: 13.93 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/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