Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001021/0.001021, allocations: 97.89 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001377/0.001377, allocations: 191.8 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.602/1.602, allocations: 227.7 MB / 246.4 MB, free: 9.828 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003765/0.0003767, allocations: 4 kB / 307.1 MB, free: 0.9648 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1244, allocations: 51.53 MB / 358.6 MB, free: 13.44 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.001962/0.1264, allocations: 1.176 MB / 359.8 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001981/0.1267, allocations: 35.91 kB / 359.8 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.181e-05/0.1267, allocations: 4 kB / 359.9 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.048e-05/0.1268, allocations: 0 / 359.9 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.267e-05/0.1268, allocations: 3.938 kB / 359.9 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002679/0.1271, allocations: 23.91 kB / 359.9 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.488e-05/0.1272, allocations: 19.94 kB / 359.9 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.1273, allocations: 11.98 kB / 359.9 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.242e-05/0.1273, allocations: 11.94 kB / 359.9 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.268e-05/0.1274, allocations: 11.92 kB / 359.9 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.675e-05/0.1274, allocations: 0 / 359.9 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.202e-05/0.1275, allocations: 7.938 kB / 359.9 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.757e-05/0.1275, allocations: 7.984 kB / 359.9 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.569e-05/0.1275, allocations: 25.7 kB / 360 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 8.03e-05/0.1276, allocations: 27.95 kB / 360 MB, free: 12.06 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.1276, allocations: 0 / 360 MB, free: 12.06 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1276, allocations: 0 / 360 MB, free: 12.06 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.1276, allocations: 0 / 360 MB, free: 12.06 MB / 302.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.0004339/0.1281, allocations: 335.5 kB / 360.3 MB, free: 11.68 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.1281, allocations: 11.97 kB / 360.3 MB, free: 11.67 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.301e-05/0.1282, allocations: 15.91 kB / 360.4 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001788/0.1284, allocations: 171 kB / 360.5 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.74e-05/0.1284, allocations: 4 kB / 360.5 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.478e-05/0.1284, allocations: 4 kB / 360.5 MB, free: 11.44 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003344/0.1288, allocations: 123.2 kB / 360.7 MB, free: 11.31 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.1288, allocations: 0 / 360.7 MB, free: 11.31 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.1288, allocations: 4 kB / 360.7 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.1288, allocations: 4 kB / 360.7 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.1289, allocations: 27.91 kB / 360.7 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000162/0.1291, allocations: 161.7 kB / 360.8 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001471/0.1292, allocations: 54.59 kB / 360.9 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.39e-05/0.1293, allocations: 32.86 kB / 360.9 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.989e-06/0.1293, allocations: 0 / 360.9 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.1294, allocations: 34.56 kB / 361 MB, free: 10.93 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.1294, allocations: 0 / 361 MB, free: 10.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002812/0.1297, allocations: 89.45 kB / 361.1 MB, free: 10.83 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.558e-05/0.1298, allocations: 55.34 kB / 361.1 MB, free: 10.77 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.1299, allocations: 105.8 kB / 361.2 MB, free: 10.65 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.1299, allocations: 25.7 kB / 361.2 MB, free: 10.62 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.837e-05/0.13, allocations: 92.14 kB / 361.3 MB, free: 10.53 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.622e-05/0.13, allocations: 0 / 361.3 MB, free: 10.53 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-06/0.13, allocations: 0 / 361.3 MB, free: 10.53 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.1302, allocations: 314.8 kB / 361.6 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.588e-05/0.1302, allocations: 7.984 kB / 361.6 MB, free: 10.2 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.906e-05/0.1303, allocations: 27.44 kB / 361.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.634e-05/0.1303, allocations: 16 kB / 361.7 MB, free: 10.15 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1303, allocations: 3.938 kB / 361.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.117e-05/0.1304, allocations: 57.56 kB / 361.7 MB, free: 10.08 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.1304, allocations: 8 kB / 361.7 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.1304, allocations: 0 / 361.7 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.1305, allocations: 3.953 kB / 361.8 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.575e-05/0.1306, allocations: 8 kB / 361.8 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/0.1306, allocations: 12.11 kB / 361.8 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.3e-05/0.1306, allocations: 3.906 kB / 361.8 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.1306, allocations: 4 kB / 361.8 MB, free: 10.04 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 (step.counter,$CLKPRE.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001057/0.1307, allocations: 113.8 kB / 361.9 MB, free: 9.922 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001402/0.1309, allocations: 65.67 kB / 362 MB, free: 9.852 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.744e-05/0.1309, allocations: 3.906 kB / 362 MB, free: 9.84 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.1309, allocations: 4 kB / 362 MB, free: 9.836 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/0.131, allocations: 3.953 kB / 362 MB, free: 9.832 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.131, allocations: 0 / 362 MB, free: 9.832 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001515/0.1311, allocations: 162 kB / 362.1 MB, free: 9.625 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1311, allocations: 0 / 362.1 MB, free: 9.625 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.709e-05/0.1312, allocations: 12 kB / 362.1 MB, free: 9.613 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.1312, allocations: 0 / 362.1 MB, free: 9.613 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.1312, allocations: 3.984 kB / 362.1 MB, free: 9.609 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.1312, allocations: 0 / 362.1 MB, free: 9.609 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1312, allocations: 3.938 kB / 362.1 MB, free: 9.605 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002012/0.1314, allocations: 101 kB / 362.2 MB, free: 9.488 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.404e-05/0.1315, allocations: 85.02 kB / 362.3 MB, free: 9.387 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/0.1315, allocations: 0 / 362.3 MB, free: 9.387 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.366e-05/0.1316, allocations: 7.984 kB / 362.3 MB, free: 9.379 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.617e-06/0.1316, allocations: 288 / 362.3 MB, free: 9.379 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-06/0.1316, allocations: 4 kB / 362.3 MB, free: 9.375 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.189e-05/0.1317, allocations: 83.28 kB / 362.4 MB, free: 9.293 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1317, allocations: 0 / 362.4 MB, free: 9.293 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001927/0.1319, allocations: 7.953 kB / 362.4 MB, free: 9.285 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000176/0.1321, allocations: 103.2 kB / 362.5 MB, free: 9.176 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001643/0.1322, allocations: 35.91 kB / 362.6 MB, free: 9.141 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.1322, allocations: 0 / 362.6 MB, free: 9.141 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.42e-07/0.1322, allocations: 0 / 362.6 MB, free: 9.141 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003627/0.1326, allocations: 31.89 kB / 362.6 MB, free: 9.109 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004187/0.133, allocations: 120.7 kB / 362.7 MB, free: 8.961 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003168/0.1334, allocations: 0.6928 MB / 363.4 MB, free: 8.242 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.856e-05/0.1334, allocations: 0 / 363.4 MB, free: 8.242 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.448e-05/0.1334, allocations: 11.44 kB / 363.4 MB, free: 8.23 MB / 302.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1335, allocations: 0 / 363.4 MB, free: 8.23 MB / 302.1 MB Notification: Performance of Templates: time 0.003127/0.1366, allocations: 375.9 kB / 363.8 MB, free: 7.863 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches