Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 95.58 kB / 16.3 MB, free: 6.461 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001756/0.001756, allocations: 183 kB / 17.2 MB, free: 6.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.548/1.548, allocations: 223.2 MB / 241.1 MB, free: 5.387 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002786/0.0002787, allocations: 12.06 kB / 300.7 MB, free: 6.004 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1128, allocations: 50.42 MB / 351.1 MB, free: 11.69 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.001614/0.1145, allocations: 1.131 MB / 352.3 MB, free: 10.55 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001741/0.1147, allocations: 39.86 kB / 352.3 MB, free: 10.51 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.926e-05/0.1147, allocations: 0 / 352.3 MB, free: 10.51 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.784e-05/0.1148, allocations: 3.984 kB / 352.3 MB, free: 10.51 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3.21e-05/0.1148, allocations: 0 / 352.3 MB, free: 10.51 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002406/0.115, allocations: 15.98 kB / 352.3 MB, free: 10.49 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.141e-05/0.1151, allocations: 19.92 kB / 352.4 MB, free: 10.47 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.821e-05/0.1152, allocations: 11.94 kB / 352.4 MB, free: 10.46 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.338e-05/0.1153, allocations: 15.97 kB / 352.4 MB, free: 10.45 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.786e-05/0.1153, allocations: 7.938 kB / 352.4 MB, free: 10.44 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.1153, allocations: 4 kB / 352.4 MB, free: 10.43 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.034e-05/0.1154, allocations: 0 / 352.4 MB, free: 10.43 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.672e-05/0.1154, allocations: 7.922 kB / 352.4 MB, free: 10.43 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.631e-05/0.1154, allocations: 29.7 kB / 352.4 MB, free: 10.39 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 6.04e-05/0.1155, allocations: 19.97 kB / 352.4 MB, free: 10.37 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.1155, allocations: 0 / 352.4 MB, free: 10.37 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.507e-06/0.1155, allocations: 0 / 352.4 MB, free: 10.37 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.1155, allocations: 3.938 kB / 352.5 MB, free: 10.37 MB / 286.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.0004083/0.1159, allocations: 339.3 kB / 352.8 MB, free: 9.988 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.116, allocations: 12.03 kB / 352.8 MB, free: 9.977 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.242e-05/0.116, allocations: 7.859 kB / 352.8 MB, free: 9.969 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001938/0.1162, allocations: 171 kB / 353 MB, free: 9.762 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2e-05/0.1162, allocations: 11.94 kB / 353 MB, free: 9.75 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.1163, allocations: 0 / 353 MB, free: 9.75 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003474/0.1166, allocations: 119.3 kB / 353.1 MB, free: 9.621 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.1166, allocations: 4 kB / 353.1 MB, free: 9.617 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.1166, allocations: 4 kB / 353.1 MB, free: 9.613 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.1167, allocations: 0 / 353.1 MB, free: 9.613 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001251/0.1168, allocations: 31.92 kB / 353.1 MB, free: 9.582 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001786/0.117, allocations: 157.6 kB / 353.3 MB, free: 9.379 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001827/0.1172, allocations: 62.42 kB / 353.4 MB, free: 9.309 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.003e-05/0.1172, allocations: 0 / 353.4 MB, free: 9.309 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.1172, allocations: 38.59 kB / 353.4 MB, free: 9.262 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.1172, allocations: 0 / 353.4 MB, free: 9.262 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002652/0.1175, allocations: 77.8 kB / 353.5 MB, free: 9.18 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.74e-05/0.1175, allocations: 55.5 kB / 353.5 MB, free: 9.113 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.1177, allocations: 113.8 kB / 353.6 MB, free: 8.992 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.1177, allocations: 25.7 kB / 353.7 MB, free: 8.961 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.037e-05/0.1177, allocations: 84.14 kB / 353.7 MB, free: 8.875 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.151e-05/0.1177, allocations: 3.984 kB / 353.7 MB, free: 8.871 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.659e-06/0.1178, allocations: 8 kB / 353.7 MB, free: 8.863 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.1179, allocations: 314.8 kB / 354.1 MB, free: 8.547 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.197e-05/0.1179, allocations: 7.938 kB / 354.1 MB, free: 8.539 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.932e-05/0.1179, allocations: 31.42 kB / 354.1 MB, free: 8.496 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.323e-05/0.118, allocations: 12 kB / 354.1 MB, free: 8.484 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.118, allocations: 4 kB / 354.1 MB, free: 8.48 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.863e-05/0.1181, allocations: 53.62 kB / 354.2 MB, free: 8.422 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.1181, allocations: 11.94 kB / 354.2 MB, free: 8.41 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.353e-06/0.1181, allocations: 3.984 kB / 354.2 MB, free: 8.406 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.1181, allocations: 0 / 354.2 MB, free: 8.406 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.193e-05/0.1182, allocations: 12 kB / 354.2 MB, free: 8.395 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.1182, allocations: 0 / 354.2 MB, free: 8.395 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.077e-05/0.1182, allocations: 7.906 kB / 354.2 MB, free: 8.387 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.717e-06/0.1182, allocations: 128 / 354.2 MB, free: 8.387 MB / 286.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 (step.counter,$CLKPRE.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.97e-05/0.1183, allocations: 121.8 kB / 354.3 MB, free: 8.258 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001426/0.1185, allocations: 65.61 kB / 354.4 MB, free: 8.188 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.011e-05/0.1185, allocations: 11.89 kB / 354.4 MB, free: 8.168 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.1185, allocations: 4 kB / 354.4 MB, free: 8.164 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1185, allocations: 0 / 354.4 MB, free: 8.164 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1185, allocations: 384 / 354.4 MB, free: 8.164 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.766e-05/0.1186, allocations: 157.6 kB / 354.5 MB, free: 7.961 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.1187, allocations: 4 kB / 354.6 MB, free: 7.957 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.997e-05/0.1187, allocations: 11.98 kB / 354.6 MB, free: 7.945 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1187, allocations: 4 kB / 354.6 MB, free: 7.941 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/0.1187, allocations: 0 / 354.6 MB, free: 7.941 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1187, allocations: 0 / 354.6 MB, free: 7.941 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1187, allocations: 0 / 354.6 MB, free: 7.941 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001835/0.1189, allocations: 101 kB / 354.7 MB, free: 7.824 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.525e-05/0.119, allocations: 81.05 kB / 354.7 MB, free: 7.727 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.119, allocations: 0 / 354.7 MB, free: 7.727 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.478e-05/0.119, allocations: 4 kB / 354.8 MB, free: 7.723 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.705e-06/0.1191, allocations: 7.938 kB / 354.8 MB, free: 7.715 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.786e-06/0.1191, allocations: 7.984 kB / 354.8 MB, free: 7.707 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.055e-05/0.1191, allocations: 83.28 kB / 354.8 MB, free: 7.625 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1191, allocations: 3.938 kB / 354.9 MB, free: 7.621 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0001824/0.1193, allocations: 4 kB / 354.9 MB, free: 7.617 MB / 286.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 (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 9.805e-05/0.1194, allocations: 99.25 kB / 355 MB, free: 7.512 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001395/0.1196, allocations: 32.11 kB / 355 MB, free: 7.48 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1196, allocations: 4.062 kB / 355 MB, free: 7.477 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.1196, allocations: 0 / 355 MB, free: 7.477 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/0.1199, allocations: 35.95 kB / 355 MB, free: 7.441 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003321/0.1203, allocations: 112.7 kB / 355.1 MB, free: 7.305 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003383/0.1206, allocations: 0.6809 MB / 355.8 MB, free: 6.598 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.093e-05/0.1206, allocations: 11.98 kB / 355.8 MB, free: 6.586 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.925e-05/0.1207, allocations: 7.438 kB / 355.8 MB, free: 6.578 MB / 286.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1207, allocations: 0 / 355.8 MB, free: 6.578 MB / 286.1 MB Notification: Performance of Templates: time 0.002864/0.1235, allocations: 382.4 kB / 356.2 MB, free: 6.207 MB / 286.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TickBasedStep/TickBasedStep.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches