Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008649/0.0008649, allocations: 95.25 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.0009293/0.0009293, allocations: 206.3 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.386/1.386, allocations: 227.7 MB / 247.5 MB, free: 11.39 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002594/0.0002595, allocations: 8 kB / 308.4 MB, free: 0.8281 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1062, allocations: 51.52 MB / 359.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.001541/0.1077, allocations: 1.149 MB / 361.1 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000169/0.1079, allocations: 31.86 kB / 361.1 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.852e-05/0.108, allocations: 0 / 361.1 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.632e-05/0.108, allocations: 3.938 kB / 361.1 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.173e-05/0.1081, allocations: 0 / 361.1 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002262/0.1083, allocations: 31.97 kB / 361.1 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.238e-05/0.1084, allocations: 27.92 kB / 361.2 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.855e-05/0.1084, allocations: 8 kB / 361.2 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.537e-05/0.1085, allocations: 15.92 kB / 361.2 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.751e-05/0.1085, allocations: 11.92 kB / 361.2 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.1086, allocations: 0 / 361.2 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.072e-05/0.1086, allocations: 4 kB / 361.2 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.568e-05/0.1086, allocations: 0 / 361.2 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.427e-05/0.1086, allocations: 45.56 kB / 361.2 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 5.895e-05/0.1087, allocations: 19.95 kB / 361.3 MB, free: 11.95 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1087, allocations: 0 / 361.3 MB, free: 11.95 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1087, allocations: 4 kB / 361.3 MB, free: 11.94 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.1087, allocations: 0 / 361.3 MB, free: 11.94 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.0003485/0.1091, allocations: 335.7 kB / 361.6 MB, free: 11.56 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.1091, allocations: 12.03 kB / 361.6 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.766e-05/0.1092, allocations: 4.844 kB / 361.6 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.1093, allocations: 176.3 kB / 361.8 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.1093, allocations: 4.375 kB / 361.8 MB, free: 11.33 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/0.1094, allocations: 4.375 kB / 361.8 MB, free: 11.33 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003239/0.1097, allocations: 119.8 kB / 361.9 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.1097, allocations: 4.188 kB / 361.9 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.1097, allocations: 7.938 kB / 361.9 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.1097, allocations: 0 / 361.9 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/0.1098, allocations: 19.98 kB / 361.9 MB, free: 11.17 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001246/0.11, allocations: 165.6 kB / 362.1 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001502/0.1101, allocations: 58.48 kB / 362.2 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.486e-05/0.1102, allocations: 32.92 kB / 362.2 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.181e-06/0.1102, allocations: 0 / 362.2 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/0.1103, allocations: 34.55 kB / 362.2 MB, free: 10.81 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 8.01e-07/0.1103, allocations: 0 / 362.2 MB, free: 10.81 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002593/0.1105, allocations: 89.44 kB / 362.3 MB, free: 10.72 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.422e-05/0.1106, allocations: 55.41 kB / 362.4 MB, free: 10.65 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.627e-05/0.1107, allocations: 109.8 kB / 362.5 MB, free: 10.54 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.1107, allocations: 25.7 kB / 362.5 MB, free: 10.5 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.96e-05/0.1107, allocations: 84.14 kB / 362.6 MB, free: 10.42 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.77e-05/0.1107, allocations: 7.984 kB / 362.6 MB, free: 10.41 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.468e-05/0.1108, allocations: 13.72 kB / 362.6 MB, free: 10.39 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.1109, allocations: 310.8 kB / 362.9 MB, free: 10.08 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.448e-05/0.1109, allocations: 11.94 kB / 362.9 MB, free: 10.07 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.841e-05/0.1109, allocations: 31.42 kB / 362.9 MB, free: 10.02 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.585e-05/0.111, allocations: 35.38 kB / 363 MB, free: 9.977 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.111, allocations: 0 / 363 MB, free: 9.977 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.174e-05/0.1111, allocations: 65.66 kB / 363 MB, free: 9.906 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.1111, allocations: 12 kB / 363.1 MB, free: 9.895 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.463e-06/0.1111, allocations: 3.938 kB / 363.1 MB, free: 9.891 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.1111, allocations: 0 / 363.1 MB, free: 9.891 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.047e-05/0.1112, allocations: 11.94 kB / 363.1 MB, free: 9.879 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.1112, allocations: 0 / 363.1 MB, free: 9.879 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.029e-05/0.1112, allocations: 4 kB / 363.1 MB, free: 9.875 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.527e-06/0.1112, allocations: 0 / 363.1 MB, free: 9.875 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: 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 7.053e-05/0.1113, allocations: 121.8 kB / 363.2 MB, free: 9.746 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001401/0.1115, allocations: 65.67 kB / 363.3 MB, free: 9.676 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.567e-05/0.1115, allocations: 11.84 kB / 363.3 MB, free: 9.656 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1115, allocations: 0 / 363.3 MB, free: 9.656 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.1115, allocations: 4 kB / 363.3 MB, free: 9.652 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1115, allocations: 7.875 kB / 363.3 MB, free: 9.645 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.119e-05/0.1116, allocations: 158 kB / 363.4 MB, free: 9.441 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1116, allocations: 0 / 363.4 MB, free: 9.441 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.867e-05/0.1117, allocations: 12 kB / 363.4 MB, free: 9.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1117, allocations: 0 / 363.4 MB, free: 9.43 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.1117, allocations: 3.938 kB / 363.4 MB, free: 9.426 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.1117, allocations: 3.984 kB / 363.5 MB, free: 9.422 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.1117, allocations: 7.984 kB / 363.5 MB, free: 9.414 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001754/0.1119, allocations: 93.02 kB / 363.6 MB, free: 9.305 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.199e-05/0.1119, allocations: 77.11 kB / 363.6 MB, free: 9.211 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.112, allocations: 7.938 kB / 363.6 MB, free: 9.203 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.436e-05/0.112, allocations: 7.984 kB / 363.6 MB, free: 9.195 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.649e-06/0.112, allocations: 0 / 363.6 MB, free: 9.195 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.112, allocations: 4 kB / 363.6 MB, free: 9.191 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.935e-05/0.1121, allocations: 87.28 kB / 363.7 MB, free: 9.105 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.1121, allocations: 0 / 363.7 MB, free: 9.105 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001929/0.1123, allocations: 4 kB / 363.7 MB, free: 9.102 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 9.54e-05/0.1124, allocations: 99.19 kB / 363.8 MB, free: 8.996 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001181/0.1125, allocations: 31.97 kB / 363.9 MB, free: 8.965 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1125, allocations: 0 / 363.9 MB, free: 8.965 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.51e-07/0.1125, allocations: 0 / 363.9 MB, free: 8.965 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002719/0.1128, allocations: 42.66 kB / 363.9 MB, free: 8.926 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002749/0.1131, allocations: 154.3 kB / 364.1 MB, free: 8.738 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002123/0.1133, allocations: 0.6814 MB / 364.7 MB, free: 8.031 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.193e-05/0.1133, allocations: 15.38 kB / 364.8 MB, free: 8.016 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1133, allocations: 0 / 364.8 MB, free: 8.016 MB / 302.1 MB Notification: Performance of Templates: time 0.001666/0.115, allocations: 0.6238 MB / 365.4 MB, free: 7.398 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches