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.001551/0.001551, allocations: 112.3 kB / 16.62 MB, free: 6.812 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.001916/0.001916, allocations: 185.8 kB / 17.55 MB, free: 5.934 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.604/1.604, allocations: 222.9 MB / 241.2 MB, free: 13.72 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001009/0.001009, allocations: 42.42 kB / 300.1 MB, free: 5.977 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1223, allocations: 49.45 MB / 349.6 MB, free: 4.523 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.002932/0.1253, allocations: 1.471 MB / 351.1 MB, free: 3.039 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001888/0.1255, allocations: 31.84 kB / 351.1 MB, free: 3.008 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.693e-05/0.1256, allocations: 0 / 351.1 MB, free: 3.008 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.681e-05/0.1256, allocations: 0 / 351.1 MB, free: 3.008 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 4.31e-05/0.1257, allocations: 7.938 kB / 351.1 MB, free: 3 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002925/0.126, allocations: 22.09 kB / 351.1 MB, free: 2.98 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.754e-05/0.1261, allocations: 24 kB / 351.1 MB, free: 2.957 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.1262, allocations: 7.984 kB / 351.1 MB, free: 2.949 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.528e-05/0.1263, allocations: 15.88 kB / 351.2 MB, free: 2.934 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.391e-05/0.1263, allocations: 19.91 kB / 351.2 MB, free: 2.914 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.203e-05/0.1263, allocations: 8 kB / 351.2 MB, free: 2.906 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.528e-06/0.1264, allocations: 0 / 351.2 MB, free: 2.906 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.983e-05/0.1264, allocations: 8 kB / 351.2 MB, free: 2.898 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.659e-05/0.1264, allocations: 15.92 kB / 351.2 MB, free: 2.883 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.858e-05/0.1265, allocations: 19.91 kB / 351.2 MB, free: 2.863 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.1265, allocations: 0 / 351.2 MB, free: 2.863 MB / 286.1 MB Notification: Performance of FrontEnd: time 5.089e-06/0.1266, allocations: 0 / 351.2 MB, free: 2.863 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.056e-06/0.1266, allocations: 3.938 kB / 351.2 MB, free: 2.859 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.000483/0.1271, allocations: 351.6 kB / 351.6 MB, free: 2.465 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.1271, allocations: 15.89 kB / 351.6 MB, free: 2.449 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.615e-05/0.1271, allocations: 8.844 kB / 351.6 MB, free: 2.441 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002043/0.1274, allocations: 176.4 kB / 351.8 MB, free: 2.23 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.529e-05/0.1274, allocations: 4.375 kB / 351.8 MB, free: 2.227 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.339e-05/0.1274, allocations: 4.375 kB / 351.8 MB, free: 2.223 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004183/0.1278, allocations: 111.8 kB / 351.9 MB, free: 2.102 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.1279, allocations: 4.125 kB / 351.9 MB, free: 2.098 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.1279, allocations: 11.94 kB / 351.9 MB, free: 2.086 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.1279, allocations: 0 / 351.9 MB, free: 2.086 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.128, allocations: 19.98 kB / 351.9 MB, free: 2.066 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001563/0.1282, allocations: 157.7 kB / 352.1 MB, free: 1.863 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001409/0.1283, allocations: 50.55 kB / 352.1 MB, free: 1.805 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.186e-05/0.1284, allocations: 24.92 kB / 352.2 MB, free: 1.777 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.056e-05/0.1284, allocations: 0 / 352.2 MB, free: 1.777 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.792e-05/0.1284, allocations: 34.56 kB / 352.2 MB, free: 1.734 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.1285, allocations: 3.938 kB / 352.2 MB, free: 1.73 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002953/0.1288, allocations: 81.5 kB / 352.3 MB, free: 1.645 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.382e-05/0.1288, allocations: 59.41 kB / 352.3 MB, free: 1.574 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.605e-05/0.1289, allocations: 101.8 kB / 352.4 MB, free: 1.465 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.129, allocations: 25.7 kB / 352.5 MB, free: 1.434 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.669e-05/0.129, allocations: 84.14 kB / 352.5 MB, free: 1.348 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.874e-05/0.1291, allocations: 0 / 352.5 MB, free: 1.348 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-05/0.1291, allocations: 21.72 kB / 352.6 MB, free: 1.32 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.1293, allocations: 318.8 kB / 352.9 MB, free: 1 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.52e-05/0.1293, allocations: 4 kB / 352.9 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.295e-05/0.1293, allocations: 31.38 kB / 352.9 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.042e-05/0.1294, allocations: 43.36 kB / 352.9 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.1294, allocations: 0 / 352.9 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.526e-05/0.1295, allocations: 65.47 kB / 353 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.1295, allocations: 4 kB / 353 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.1295, allocations: 7.938 kB / 353 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.1295, allocations: 0 / 353 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.36e-05/0.1296, allocations: 4 kB / 353 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.1296, allocations: 4.125 kB / 353 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.271e-05/0.1296, allocations: 8 kB / 353 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.487e-06/0.1297, allocations: 0 / 353 MB, free: 0.8008 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 ($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.281e-05/0.1298, allocations: 113.8 kB / 353.1 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/0.1299, allocations: 65.61 kB / 353.2 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.84e-05/0.1299, allocations: 7.438 kB / 353.2 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.1299, allocations: 4 kB / 353.2 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.1299, allocations: 384 / 353.2 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.13, allocations: 0 / 353.2 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001064/0.1301, allocations: 161.7 kB / 353.4 MB, free: 392 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.1301, allocations: 4 kB / 353.4 MB, free: 388 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.103e-05/0.1301, allocations: 4 kB / 353.4 MB, free: 384 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.1301, allocations: 0 / 353.4 MB, free: 384 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.1301, allocations: 7.938 kB / 353.4 MB, free: 376 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1301, allocations: 0 / 353.4 MB, free: 376 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1301, allocations: 0 / 353.4 MB, free: 376 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001568/0.1303, allocations: 96.94 kB / 353.5 MB, free: 260 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.32e-05/0.1304, allocations: 85.05 kB / 353.6 MB, free: 156 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.569e-05/0.1304, allocations: 3.938 kB / 353.6 MB, free: 152 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.764e-05/0.1305, allocations: 4 kB / 353.6 MB, free: 148 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.475e-06/0.1305, allocations: 288 / 353.6 MB, free: 148 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.1305, allocations: 0 / 353.6 MB, free: 148 kB / 286.1 MB Notification: Performance of sorting global known variables: time 4.641e-05/0.1305, allocations: 87.27 kB / 353.7 MB, free: 60 kB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1305, allocations: 0 / 353.7 MB, free: 60 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0001841/0.1307, allocations: 4 kB / 353.7 MB, free: 56 kB / 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 (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.0001456/0.1309, allocations: 111.2 kB / 353.8 MB, free: 15.93 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001412/0.131, allocations: 31.86 kB / 353.8 MB, free: 15.9 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.131, allocations: 0 / 353.8 MB, free: 15.9 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.31e-07/0.131, allocations: 0 / 353.8 MB, free: 15.9 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002492/0.1313, allocations: 32.02 kB / 353.8 MB, free: 15.87 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003332/0.1316, allocations: 117.6 kB / 354 MB, free: 15.73 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002894/0.1319, allocations: 0.6848 MB / 354.6 MB, free: 15.02 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.899e-05/0.132, allocations: 7.984 kB / 354.6 MB, free: 15.01 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.533e-05/0.132, allocations: 7.438 kB / 354.7 MB, free: 15 MB / 302.1 MB Notification: Performance of SimCode: time 3.01e-07/0.132, allocations: 0 / 354.7 MB, free: 15 MB / 302.1 MB Notification: Performance of Templates: time 0.002741/0.1348, allocations: 372.5 kB / 355 MB, free: 14.64 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