Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.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.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001249/0.00125, allocations: 114.7 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001253/0.001253, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 58.34 kB / 308.4 MB, free: 15.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1072, allocations: 50.54 MB / 358.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.002737/0.1099, allocations: 1.44 MB / 360.3 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002568/0.1102, allocations: 89.36 kB / 360.4 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.492e-05/0.1103, allocations: 3.938 kB / 360.4 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.819e-05/0.1103, allocations: 0 / 360.4 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.472e-05/0.1104, allocations: 3.938 kB / 360.4 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002434/0.1106, allocations: 31.91 kB / 360.5 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.348e-05/0.1107, allocations: 27.92 kB / 360.5 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.1108, allocations: 11.98 kB / 360.5 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.993e-05/0.1109, allocations: 7.938 kB / 360.5 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.387e-05/0.1109, allocations: 19.88 kB / 360.5 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.1109, allocations: 0 / 360.5 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.768e-06/0.111, allocations: 4 kB / 360.5 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.124e-05/0.111, allocations: 7.922 kB / 360.5 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.536e-05/0.111, allocations: 15.92 kB / 360.6 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 8.083e-05/0.1111, allocations: 27.91 kB / 360.6 MB, free: 11.64 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1111, allocations: 0 / 360.6 MB, free: 11.64 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1111, allocations: 0 / 360.6 MB, free: 11.64 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.1111, allocations: 0 / 360.6 MB, free: 11.64 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.0004059/0.1115, allocations: 343.4 kB / 360.9 MB, free: 11.25 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.1116, allocations: 8.031 kB / 360.9 MB, free: 11.24 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.062e-05/0.1116, allocations: 8.844 kB / 360.9 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002032/0.1118, allocations: 172.4 kB / 361.1 MB, free: 11.03 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.1118, allocations: 4.375 kB / 361.1 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/0.1119, allocations: 4.312 kB / 361.1 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002896/0.1122, allocations: 119.8 kB / 361.2 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.1122, allocations: 192 / 361.2 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.1122, allocations: 3.938 kB / 361.2 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.1122, allocations: 0 / 361.2 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.122e-05/0.1123, allocations: 19.92 kB / 361.3 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000172/0.1125, allocations: 161.7 kB / 361.4 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001703/0.1126, allocations: 58.58 kB / 361.5 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.689e-05/0.1127, allocations: 16.86 kB / 361.5 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.521e-05/0.1127, allocations: 11.97 kB / 361.5 MB, free: 10.56 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.1128, allocations: 30.56 kB / 361.5 MB, free: 10.52 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.1128, allocations: 0 / 361.5 MB, free: 10.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002163/0.113, allocations: 69.75 kB / 361.6 MB, free: 10.45 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.109e-05/0.113, allocations: 59.44 kB / 361.7 MB, free: 10.38 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.768e-05/0.1131, allocations: 109.8 kB / 361.8 MB, free: 10.26 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.1132, allocations: 29.7 kB / 361.8 MB, free: 10.23 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.992e-05/0.1132, allocations: 84.14 kB / 361.9 MB, free: 10.14 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.474e-06/0.1132, allocations: 0 / 361.9 MB, free: 10.14 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.78e-05/0.1133, allocations: 17.72 kB / 361.9 MB, free: 10.12 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.288e-05/0.1134, allocations: 314.8 kB / 362.2 MB, free: 9.801 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.538e-05/0.1134, allocations: 11.94 kB / 362.2 MB, free: 9.789 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.38e-05/0.1134, allocations: 27.44 kB / 362.2 MB, free: 9.75 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.792e-05/0.1134, allocations: 31.38 kB / 362.3 MB, free: 9.707 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1135, allocations: 4 kB / 362.3 MB, free: 9.703 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.702e-05/0.1135, allocations: 61.53 kB / 362.3 MB, free: 9.637 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.1136, allocations: 4 kB / 362.3 MB, free: 9.633 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.1136, allocations: 3.938 kB / 362.3 MB, free: 9.629 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.1136, allocations: 7.938 kB / 362.3 MB, free: 9.621 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.63e-05/0.1137, allocations: 7.984 kB / 362.4 MB, free: 9.613 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.1137, allocations: 0 / 362.4 MB, free: 9.613 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.994e-05/0.1137, allocations: 4 kB / 362.4 MB, free: 9.609 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.528e-06/0.1137, allocations: 0 / 362.4 MB, free: 9.609 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: 3 (assignClock1.y,assignClock1.u,step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 8.294e-05/0.1138, allocations: 129.8 kB / 362.5 MB, free: 9.473 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.1139, allocations: 49.69 kB / 362.5 MB, free: 9.418 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.134e-05/0.1139, allocations: 19.83 kB / 362.6 MB, free: 9.391 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.1139, allocations: 0 / 362.6 MB, free: 9.391 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.114, allocations: 0 / 362.6 MB, free: 9.391 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.114, allocations: 0 / 362.6 MB, free: 9.391 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001001/0.1141, allocations: 153.7 kB / 362.7 MB, free: 9.191 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1141, allocations: 0 / 362.7 MB, free: 9.191 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.087e-05/0.1141, allocations: 11.98 kB / 362.7 MB, free: 9.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1141, allocations: 3.938 kB / 362.7 MB, free: 9.176 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.1142, allocations: 7.938 kB / 362.7 MB, free: 9.168 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1142, allocations: 0 / 362.7 MB, free: 9.168 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1142, allocations: 0 / 362.7 MB, free: 9.168 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001381/0.1143, allocations: 88.95 kB / 362.8 MB, free: 9.062 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.002e-05/0.1144, allocations: 81.11 kB / 362.9 MB, free: 8.965 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.437e-05/0.1144, allocations: 4.188 kB / 362.9 MB, free: 8.961 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.144e-05/0.1144, allocations: 0 / 362.9 MB, free: 8.961 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.739e-06/0.1144, allocations: 8 kB / 362.9 MB, free: 8.953 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.1145, allocations: 8 kB / 362.9 MB, free: 8.945 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.957e-05/0.1145, allocations: 83.27 kB / 363 MB, free: 8.863 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1145, allocations: 0 / 363 MB, free: 8.863 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000186/0.1147, allocations: 4 kB / 363 MB, free: 8.859 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: 3 (step.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * 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.0001077/0.1148, allocations: 99.25 kB / 363.1 MB, free: 8.754 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001157/0.1149, allocations: 28.11 kB / 363.1 MB, free: 8.727 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.115, allocations: 4.062 kB / 363.1 MB, free: 8.723 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.11e-07/0.115, allocations: 0 / 363.1 MB, free: 8.723 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002145/0.1152, allocations: 27.55 kB / 363.2 MB, free: 8.699 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000249/0.1154, allocations: 121.3 kB / 363.3 MB, free: 8.555 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002332/0.1157, allocations: 0.6807 MB / 364 MB, free: 7.848 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.347e-05/0.1157, allocations: 0 / 364 MB, free: 7.848 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.186e-05/0.1157, allocations: 11.44 kB / 364 MB, free: 7.836 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1157, allocations: 4 kB / 364 MB, free: 7.832 MB / 302.1 MB Notification: Performance of Templates: time 0.002077/0.1178, allocations: 324.9 kB / 364.3 MB, free: 7.516 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches