Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 111.2 kB / 17.68 MB, free: 5.355 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.001214/0.001214, allocations: 192 kB / 18.62 MB, free: 4.434 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.542/1.542, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001108/0.001108, allocations: 46.47 kB / 302.1 MB, free: 5.156 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1247, allocations: 49.45 MB / 351.5 MB, free: 3.684 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.003249/0.128, allocations: 1.441 MB / 352.9 MB, free: 2.227 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002115/0.1282, allocations: 27.86 kB / 353 MB, free: 2.199 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.285e-05/0.1283, allocations: 4 kB / 353 MB, free: 2.195 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.756e-05/0.1284, allocations: 3.938 kB / 353 MB, free: 2.191 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.143e-05/0.1284, allocations: 11.92 kB / 353 MB, free: 2.18 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002797/0.1287, allocations: 19.98 kB / 353 MB, free: 2.16 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.6e-05/0.1288, allocations: 23.92 kB / 353 MB, free: 2.137 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.1289, allocations: 15.98 kB / 353 MB, free: 2.121 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.173e-05/0.129, allocations: 15.92 kB / 353.1 MB, free: 2.105 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.088e-05/0.129, allocations: 15.92 kB / 353.1 MB, free: 2.09 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.22e-05/0.1291, allocations: 0 / 353.1 MB, free: 2.09 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.161e-05/0.1291, allocations: 4 kB / 353.1 MB, free: 2.086 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.783e-05/0.1291, allocations: 0 / 353.1 MB, free: 2.086 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.369e-05/0.1292, allocations: 19.88 kB / 353.1 MB, free: 2.066 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001078/0.1293, allocations: 43.81 kB / 353.1 MB, free: 2.023 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1293, allocations: 0 / 353.1 MB, free: 2.023 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1293, allocations: 0 / 353.1 MB, free: 2.023 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.1293, allocations: 0 / 353.1 MB, free: 2.023 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.000464/0.1298, allocations: 347.4 kB / 353.5 MB, free: 1.633 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.1298, allocations: 8.031 kB / 353.5 MB, free: 1.625 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.397e-05/0.1299, allocations: 8.844 kB / 353.5 MB, free: 1.617 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002188/0.1301, allocations: 168.4 kB / 353.7 MB, free: 1.414 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.504e-05/0.1301, allocations: 4.375 kB / 353.7 MB, free: 1.41 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.369e-05/0.1302, allocations: 12.36 kB / 353.7 MB, free: 1.398 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003454/0.1305, allocations: 131.7 kB / 353.8 MB, free: 1.258 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.1305, allocations: 192 / 353.8 MB, free: 1.258 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.1305, allocations: 3.938 kB / 353.8 MB, free: 1.254 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.1306, allocations: 0 / 353.8 MB, free: 1.254 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001096/0.1307, allocations: 19.98 kB / 353.8 MB, free: 1.234 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001518/0.1308, allocations: 169.6 kB / 354 MB, free: 1.02 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001496/0.131, allocations: 54.55 kB / 354.1 MB, free: 0.957 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.602e-05/0.1311, allocations: 24.92 kB / 354.1 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.186e-05/0.1311, allocations: 3.938 kB / 354.1 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/0.1311, allocations: 30.56 kB / 354.1 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.1311, allocations: 0 / 354.1 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002742/0.1314, allocations: 81.59 kB / 354.2 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.039e-05/0.1315, allocations: 59.41 kB / 354.2 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.1316, allocations: 105.8 kB / 354.4 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.1316, allocations: 25.7 kB / 354.4 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.434e-05/0.1317, allocations: 88.12 kB / 354.5 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.239e-05/0.1317, allocations: 0 / 354.5 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.125e-05/0.1317, allocations: 21.7 kB / 354.5 MB, free: 480 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.1318, allocations: 310.8 kB / 354.8 MB, free: 160 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.401e-05/0.1319, allocations: 15.94 kB / 354.8 MB, free: 144 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.309e-05/0.1319, allocations: 35.42 kB / 354.8 MB, free: 96 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.235e-05/0.132, allocations: 31.38 kB / 354.9 MB, free: 52 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.132, allocations: 8 kB / 354.9 MB, free: 44 kB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.214e-05/0.1321, allocations: 57.91 kB / 354.9 MB, free: 15.98 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.1321, allocations: 8 kB / 354.9 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.1321, allocations: 3.938 kB / 354.9 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.1321, allocations: 0 / 354.9 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.342e-05/0.1322, allocations: 12 kB / 355 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.1322, allocations: 0 / 355 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.102e-05/0.1323, allocations: 4 kB / 355 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.1323, allocations: 7.938 kB / 355 MB, free: 15.95 MB / 302.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: 2 ($CLKPRE.step.counter,step.counter) * 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 8.152e-05/0.1324, allocations: 121.8 kB / 355.1 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001419/0.1325, allocations: 73.59 kB / 355.2 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.648e-05/0.1325, allocations: 7.844 kB / 355.2 MB, free: 15.72 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-06/0.1326, allocations: 0 / 355.2 MB, free: 15.72 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1326, allocations: 0 / 355.2 MB, free: 15.72 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1326, allocations: 240 / 355.2 MB, free: 15.72 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001049/0.1327, allocations: 161.6 kB / 355.3 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1327, allocations: 0 / 355.3 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.774e-05/0.1327, allocations: 11.98 kB / 355.3 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.1328, allocations: 4 kB / 355.3 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.357e-06/0.1328, allocations: 11.94 kB / 355.4 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1328, allocations: 0 / 355.4 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.1328, allocations: 0 / 355.4 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001641/0.133, allocations: 93.03 kB / 355.4 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.284e-05/0.133, allocations: 77.11 kB / 355.5 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/0.133, allocations: 7.938 kB / 355.5 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.975e-05/0.1331, allocations: 3.984 kB / 355.5 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.695e-06/0.1331, allocations: 4 kB / 355.5 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.1331, allocations: 4 kB / 355.5 MB, free: 15.27 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.14e-05/0.1331, allocations: 83.28 kB / 355.6 MB, free: 15.18 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1331, allocations: 0 / 355.6 MB, free: 15.18 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001866/0.1333, allocations: 4 kB / 355.6 MB, free: 15.18 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: 1 (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.0001053/0.1334, allocations: 95.78 kB / 355.7 MB, free: 15.08 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001373/0.1336, allocations: 35.91 kB / 355.7 MB, free: 15.04 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1336, allocations: 256 / 355.7 MB, free: 15.04 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.81e-07/0.1336, allocations: 4 kB / 355.8 MB, free: 15.04 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002791/0.1339, allocations: 35.95 kB / 355.8 MB, free: 15 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003004/0.1342, allocations: 120.7 kB / 355.9 MB, free: 14.86 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002693/0.1345, allocations: 0.6807 MB / 356.6 MB, free: 14.15 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.526e-05/0.1345, allocations: 3.984 kB / 356.6 MB, free: 14.15 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.534e-05/0.1345, allocations: 11.44 kB / 356.6 MB, free: 14.14 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1345, allocations: 0 / 356.6 MB, free: 14.14 MB / 302.1 MB Notification: Performance of Templates: time 0.002978/0.1375, allocations: 426.2 kB / 357 MB, free: 13.72 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches