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.001194/0.001194, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001461/0.001461, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.467/1.467, allocations: 227.4 MB / 246.9 MB, free: 10.76 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 64.42 kB / 306.9 MB, free: 1.074 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1105, allocations: 50.53 MB / 357.4 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.002891/0.1134, allocations: 1.527 MB / 359 MB, free: 13 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001891/0.1137, allocations: 27.91 kB / 359 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.516e-05/0.1137, allocations: 8 kB / 359 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.63e-05/0.1138, allocations: 3.938 kB / 359 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.961e-05/0.1139, allocations: 0 / 359 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002399/0.1141, allocations: 27.91 kB / 359 MB, free: 12.94 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.111e-05/0.1142, allocations: 27.92 kB / 359.1 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.1143, allocations: 15.92 kB / 359.1 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.774e-05/0.1144, allocations: 8 kB / 359.1 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.692e-05/0.1144, allocations: 11.92 kB / 359.1 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.1144, allocations: 0 / 359.1 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.05e-05/0.1145, allocations: 4 kB / 359.1 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.093e-05/0.1145, allocations: 11.94 kB / 359.1 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.086e-05/0.1145, allocations: 15.92 kB / 359.1 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 7.703e-05/0.1146, allocations: 19.95 kB / 359.1 MB, free: 12.82 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1146, allocations: 0 / 359.1 MB, free: 12.82 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.1146, allocations: 0 / 359.1 MB, free: 12.82 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.1146, allocations: 0 / 359.1 MB, free: 12.82 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.0003999/0.115, allocations: 346 kB / 359.5 MB, free: 12.44 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.1151, allocations: 11.97 kB / 359.5 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.785e-05/0.1151, allocations: 8.844 kB / 359.5 MB, free: 12.42 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001589/0.1153, allocations: 180.3 kB / 359.7 MB, free: 12.2 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.1153, allocations: 384 / 359.7 MB, free: 12.2 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/0.1153, allocations: 4.375 kB / 359.7 MB, free: 12.2 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003547/0.1157, allocations: 115.9 kB / 359.8 MB, free: 12.07 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.1157, allocations: 192 / 359.8 MB, free: 12.07 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.1157, allocations: 3.938 kB / 359.8 MB, free: 12.07 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1157, allocations: 0 / 359.8 MB, free: 12.07 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001224/0.1159, allocations: 35.91 kB / 359.8 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001466/0.116, allocations: 161.6 kB / 360 MB, free: 11.83 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001596/0.1162, allocations: 54.58 kB / 360 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.826e-05/0.1163, allocations: 24.89 kB / 360.1 MB, free: 11.74 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.081e-05/0.1163, allocations: 0 / 360.1 MB, free: 11.74 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.1163, allocations: 34.56 kB / 360.1 MB, free: 11.7 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 7.51e-07/0.1163, allocations: 4 kB / 360.1 MB, free: 11.69 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002769/0.1166, allocations: 85.53 kB / 360.2 MB, free: 11.6 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.554e-05/0.1167, allocations: 55.41 kB / 360.2 MB, free: 11.54 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.62e-05/0.1168, allocations: 106 kB / 360.3 MB, free: 11.42 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.1168, allocations: 29.7 kB / 360.4 MB, free: 11.39 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.521e-05/0.1168, allocations: 88.08 kB / 360.5 MB, free: 11.3 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.264e-05/0.1168, allocations: 0 / 360.5 MB, free: 11.3 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.971e-05/0.1169, allocations: 17.72 kB / 360.5 MB, free: 11.27 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.117, allocations: 318.8 kB / 360.8 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.132e-05/0.117, allocations: 8 kB / 360.8 MB, free: 10.95 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.726e-05/0.117, allocations: 27.5 kB / 360.8 MB, free: 10.91 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.691e-05/0.1171, allocations: 43.36 kB / 360.9 MB, free: 10.85 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1171, allocations: 0 / 360.9 MB, free: 10.85 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.577e-05/0.1172, allocations: 65.48 kB / 360.9 MB, free: 10.78 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.1172, allocations: 11.98 kB / 360.9 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-06/0.1172, allocations: 3.938 kB / 360.9 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.1172, allocations: 0 / 360.9 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.324e-05/0.1173, allocations: 8 kB / 361 MB, free: 10.76 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.1173, allocations: 0 / 361 MB, free: 10.76 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.164e-05/0.1174, allocations: 8.062 kB / 361 MB, free: 10.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.617e-06/0.1174, allocations: 4 kB / 361 MB, free: 10.75 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 9.401e-05/0.1175, allocations: 118 kB / 361.1 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001497/0.1176, allocations: 69.59 kB / 361.1 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.907e-05/0.1177, allocations: 15.83 kB / 361.2 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1177, allocations: 0 / 361.2 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1177, allocations: 0 / 361.2 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.1177, allocations: 0 / 361.2 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.357e-05/0.1178, allocations: 157.6 kB / 361.3 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1178, allocations: 0 / 361.3 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.983e-05/0.1179, allocations: 15.98 kB / 361.3 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.1179, allocations: 0 / 361.3 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.1179, allocations: 3.938 kB / 361.3 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1179, allocations: 4 kB / 361.3 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1179, allocations: 0 / 361.3 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001744/0.1181, allocations: 89.09 kB / 361.4 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.671e-05/0.1181, allocations: 77.11 kB / 361.5 MB, free: 10.1 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.906e-05/0.1181, allocations: 11.88 kB / 361.5 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.113e-05/0.1182, allocations: 8 kB / 361.5 MB, free: 10.08 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.086e-06/0.1182, allocations: 0 / 361.5 MB, free: 10.08 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.154e-06/0.1182, allocations: 4.125 kB / 361.5 MB, free: 10.07 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.625e-05/0.1182, allocations: 87.27 kB / 361.6 MB, free: 9.988 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1183, allocations: 0 / 361.6 MB, free: 9.988 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001889/0.1184, allocations: 8 kB / 361.6 MB, free: 9.98 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.896e-05/0.1186, allocations: 95.25 kB / 361.7 MB, free: 9.879 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001272/0.1187, allocations: 31.98 kB / 361.7 MB, free: 9.848 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1187, allocations: 4 kB / 361.7 MB, free: 9.844 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.32e-07/0.1187, allocations: 0 / 361.7 MB, free: 9.844 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002933/0.119, allocations: 35.88 kB / 361.8 MB, free: 9.809 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003239/0.1193, allocations: 156.4 kB / 361.9 MB, free: 9.625 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002056/0.1196, allocations: 0.6809 MB / 362.6 MB, free: 8.918 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.567e-05/0.1196, allocations: 11.62 kB / 362.6 MB, free: 8.906 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1196, allocations: 4 kB / 362.6 MB, free: 8.902 MB / 302.1 MB Notification: Performance of Templates: time 0.001863/0.1215, allocations: 0.6134 MB / 363.2 MB, free: 8.289 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