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.000888/0.0008882, allocations: 96.5 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001077/0.001077, allocations: 207.8 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 227.7 MB / 247.5 MB, free: 11.4 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002661/0.0002661, allocations: 8.281 kB / 308.4 MB, free: 0.8203 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1006, allocations: 51.53 MB / 359.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.001741/0.1024, allocations: 1.188 MB / 361.1 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001832/0.1026, allocations: 31.91 kB / 361.1 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.172e-05/0.1027, allocations: 0 / 361.1 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.794e-05/0.1027, allocations: 7.875 kB / 361.1 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.269e-05/0.1027, allocations: 0 / 361.1 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002527/0.103, allocations: 23.98 kB / 361.2 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.876e-05/0.1031, allocations: 27.92 kB / 361.2 MB, free: 12.01 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.881e-05/0.1032, allocations: 19.97 kB / 361.2 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.895e-05/0.1032, allocations: 7.938 kB / 361.2 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.692e-05/0.1033, allocations: 15.92 kB / 361.2 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.778e-05/0.1033, allocations: 0 / 361.2 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.706e-06/0.1033, allocations: 0 / 361.2 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.133e-05/0.1034, allocations: 7.938 kB / 361.2 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.527e-05/0.1034, allocations: 37.62 kB / 361.3 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 6.415e-05/0.1035, allocations: 15.95 kB / 361.3 MB, free: 11.9 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.1035, allocations: 8 kB / 361.3 MB, free: 11.89 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1035, allocations: 0 / 361.3 MB, free: 11.89 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.1035, allocations: 0 / 361.3 MB, free: 11.89 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.0004052/0.1039, allocations: 339.7 kB / 361.6 MB, free: 11.51 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.104, allocations: 8.031 kB / 361.6 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.109e-05/0.104, allocations: 8.844 kB / 361.6 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000161/0.1042, allocations: 176.3 kB / 361.8 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.1042, allocations: 384 / 361.8 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.139e-05/0.1042, allocations: 4.375 kB / 361.8 MB, free: 11.28 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003526/0.1046, allocations: 123.8 kB / 361.9 MB, free: 11.15 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.1046, allocations: 4.125 kB / 361.9 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.1046, allocations: 3.938 kB / 362 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.1046, allocations: 4 kB / 362 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001155/0.1047, allocations: 23.98 kB / 362 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001485/0.1049, allocations: 157.7 kB / 362.1 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001582/0.1051, allocations: 58.48 kB / 362.2 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.723e-05/0.1052, allocations: 24.92 kB / 362.2 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.846e-06/0.1052, allocations: 8 kB / 362.2 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.1052, allocations: 34.56 kB / 362.3 MB, free: 10.77 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.203e-06/0.1052, allocations: 0 / 362.3 MB, free: 10.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002746/0.1055, allocations: 89.44 kB / 362.3 MB, free: 10.67 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/0.1056, allocations: 55.41 kB / 362.4 MB, free: 10.61 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.326e-05/0.1056, allocations: 105.8 kB / 362.5 MB, free: 10.49 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.1057, allocations: 25.7 kB / 362.5 MB, free: 10.46 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.813e-05/0.1057, allocations: 88.14 kB / 362.6 MB, free: 10.37 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.404e-05/0.1057, allocations: 0 / 362.6 MB, free: 10.37 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.601e-05/0.1058, allocations: 17.7 kB / 362.6 MB, free: 10.35 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.1059, allocations: 314.8 kB / 362.9 MB, free: 10.03 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.252e-05/0.1059, allocations: 4 kB / 362.9 MB, free: 10.03 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.975e-05/0.1059, allocations: 31.42 kB / 363 MB, free: 9.984 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.6e-05/0.106, allocations: 43.31 kB / 363 MB, free: 9.93 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.106, allocations: 0 / 363 MB, free: 9.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.325e-05/0.1061, allocations: 65.53 kB / 363.1 MB, free: 9.859 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.1061, allocations: 4 kB / 363.1 MB, free: 9.855 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/0.1061, allocations: 3.938 kB / 363.1 MB, free: 9.852 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.1062, allocations: 8.125 kB / 363.1 MB, free: 9.844 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.118e-05/0.1062, allocations: 7.938 kB / 363.1 MB, free: 9.836 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.1062, allocations: 4 kB / 363.1 MB, free: 9.832 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.886e-05/0.1063, allocations: 0 / 363.1 MB, free: 9.832 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.1063, allocations: 4 kB / 363.1 MB, free: 9.828 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 7.597e-05/0.1063, allocations: 121.7 kB / 363.2 MB, free: 9.699 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000147/0.1065, allocations: 65.83 kB / 363.3 MB, free: 9.629 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.71e-05/0.1065, allocations: 15.84 kB / 363.3 MB, free: 9.605 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.1066, allocations: 0 / 363.3 MB, free: 9.605 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.1066, allocations: 7.938 kB / 363.3 MB, free: 9.598 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.1066, allocations: 384 / 363.3 MB, free: 9.598 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.26e-05/0.1067, allocations: 157.7 kB / 363.5 MB, free: 9.395 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.726e-06/0.1067, allocations: 4 kB / 363.5 MB, free: 9.391 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.374e-05/0.1068, allocations: 8 kB / 363.5 MB, free: 9.383 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1068, allocations: 0 / 363.5 MB, free: 9.383 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-06/0.1068, allocations: 3.938 kB / 363.5 MB, free: 9.379 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1068, allocations: 4 kB / 363.5 MB, free: 9.375 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1068, allocations: 0 / 363.5 MB, free: 9.375 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001744/0.107, allocations: 97 kB / 363.6 MB, free: 9.262 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.524e-05/0.107, allocations: 77.11 kB / 363.7 MB, free: 9.168 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.576e-05/0.107, allocations: 7.938 kB / 363.7 MB, free: 9.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.404e-05/0.1071, allocations: 7.984 kB / 363.7 MB, free: 9.152 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.879e-06/0.1071, allocations: 0 / 363.7 MB, free: 9.152 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.1071, allocations: 0 / 363.7 MB, free: 9.152 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.048e-05/0.1071, allocations: 83.28 kB / 363.8 MB, free: 9.07 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.344e-06/0.1072, allocations: 0 / 363.8 MB, free: 9.07 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001821/0.1073, allocations: 7.938 kB / 363.8 MB, free: 9.062 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 9.717e-05/0.1075, allocations: 103.2 kB / 363.9 MB, free: 8.953 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001397/0.1076, allocations: 31.97 kB / 363.9 MB, free: 8.922 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1076, allocations: 0 / 363.9 MB, free: 8.922 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.51e-07/0.1076, allocations: 0 / 363.9 MB, free: 8.922 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002926/0.1079, allocations: 31.86 kB / 363.9 MB, free: 8.891 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003045/0.1082, allocations: 158.6 kB / 364.1 MB, free: 8.699 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002549/0.1085, allocations: 0.6848 MB / 364.8 MB, free: 7.988 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.347e-05/0.1085, allocations: 7.438 kB / 364.8 MB, free: 7.98 MB / 302.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1085, allocations: 3.938 kB / 364.8 MB, free: 7.977 MB / 302.1 MB Notification: Performance of Templates: time 0.001968/0.1105, allocations: 0.6196 MB / 365.4 MB, free: 7.363 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/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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches