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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001285/0.001285, allocations: 112.9 kB / 19.17 MB, free: 3.891 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001402/0.001402, allocations: 210.5 kB / 22.13 MB, free: 0.9375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.456/1.456, allocations: 230.2 MB / 255.1 MB, free: 15.06 MB / 206.1 MB " [Timeout remaining time 178] 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=5011,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=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 63.89 kB / 374.5 MB, free: 10.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1054, allocations: 53.32 MB / 427.8 MB, free: 4.594 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.002804/0.1082, allocations: 1.439 MB / 429.3 MB, free: 3.148 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001883/0.1084, allocations: 31.91 kB / 429.3 MB, free: 3.117 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.85e-05/0.1084, allocations: 0 / 429.3 MB, free: 3.117 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.153e-05/0.1084, allocations: 7.938 kB / 429.3 MB, free: 3.109 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.476e-05/0.1085, allocations: 7.875 kB / 429.3 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002349/0.1087, allocations: 27.95 kB / 429.3 MB, free: 3.074 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.221e-05/0.1088, allocations: 27.92 kB / 429.4 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.1089, allocations: 11.98 kB / 429.4 MB, free: 3.035 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.912e-05/0.1089, allocations: 15.92 kB / 429.4 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.36e-05/0.109, allocations: 11.92 kB / 429.4 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.109, allocations: 0 / 429.4 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.049e-05/0.109, allocations: 4 kB / 429.4 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.915e-05/0.109, allocations: 4 kB / 429.4 MB, free: 3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.522e-05/0.1091, allocations: 15.94 kB / 429.4 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001029/0.1092, allocations: 43.75 kB / 429.5 MB, free: 2.941 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1092, allocations: 0 / 429.5 MB, free: 2.941 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1092, allocations: 0 / 429.5 MB, free: 2.941 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.1092, allocations: 0 / 429.5 MB, free: 2.941 MB / 350.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.0005139/0.1097, allocations: 339.5 kB / 429.8 MB, free: 2.559 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.1097, allocations: 8.031 kB / 429.8 MB, free: 2.551 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.896e-05/0.1098, allocations: 8.891 kB / 429.8 MB, free: 2.543 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002525/0.11, allocations: 180.2 kB / 430 MB, free: 2.328 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/0.11, allocations: 4.375 kB / 430 MB, free: 2.324 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.1101, allocations: 4.375 kB / 430 MB, free: 2.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003743/0.1104, allocations: 119.8 kB / 430.1 MB, free: 2.191 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.1104, allocations: 192 / 430.1 MB, free: 2.191 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.1105, allocations: 7.938 kB / 430.1 MB, free: 2.184 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.1105, allocations: 0 / 430.1 MB, free: 2.184 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001224/0.1106, allocations: 19.98 kB / 430.1 MB, free: 2.164 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001958/0.1108, allocations: 165.7 kB / 430.3 MB, free: 1.953 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001728/0.1109, allocations: 54.48 kB / 430.4 MB, free: 1.891 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.38e-05/0.111, allocations: 24.92 kB / 430.4 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.377e-05/0.111, allocations: 0 / 430.4 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.1111, allocations: 38.56 kB / 430.4 MB, free: 1.816 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.01e-07/0.1111, allocations: 0 / 430.4 MB, free: 1.816 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003058/0.1114, allocations: 89.48 kB / 430.5 MB, free: 1.723 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.503e-05/0.1114, allocations: 59.34 kB / 430.6 MB, free: 1.652 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.922e-05/0.1115, allocations: 105.8 kB / 430.7 MB, free: 1.539 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.1116, allocations: 25.7 kB / 430.7 MB, free: 1.508 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.655e-05/0.1116, allocations: 88.08 kB / 430.8 MB, free: 1.418 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.875e-05/0.1116, allocations: 7.984 kB / 430.8 MB, free: 1.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.475e-05/0.1117, allocations: 17.72 kB / 430.8 MB, free: 1.387 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.1118, allocations: 310.8 kB / 431.1 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.714e-05/0.1118, allocations: 12 kB / 431.1 MB, free: 1.062 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.204e-05/0.1119, allocations: 27.42 kB / 431.2 MB, free: 1.023 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.224e-05/0.1119, allocations: 39.38 kB / 431.2 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1119, allocations: 4 kB / 431.2 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.223e-05/0.112, allocations: 61.58 kB / 431.3 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.112, allocations: 4 kB / 431.3 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.112, allocations: 3.938 kB / 431.3 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.1121, allocations: 7.938 kB / 431.3 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.33e-05/0.1121, allocations: 8 kB / 431.3 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.1121, allocations: 0 / 431.3 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.837e-05/0.1121, allocations: 0 / 431.3 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.63e-06/0.1121, allocations: 4.125 kB / 431.3 MB, free: 0.875 MB / 350.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 0.0001007/0.1122, allocations: 121.8 kB / 431.4 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001579/0.1124, allocations: 69.75 kB / 431.5 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.432e-05/0.1124, allocations: 15.88 kB / 431.5 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.1124, allocations: 0 / 431.5 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1124, allocations: 0 / 431.5 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.1124, allocations: 0 / 431.5 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001252/0.1126, allocations: 157.7 kB / 431.6 MB, free: 452 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1126, allocations: 0 / 431.6 MB, free: 452 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.834e-05/0.1126, allocations: 8 kB / 431.6 MB, free: 444 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.1126, allocations: 4 kB / 431.7 MB, free: 440 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.1126, allocations: 3.938 kB / 431.7 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.1126, allocations: 8.297 kB / 431.7 MB, free: 428 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1126, allocations: 0 / 431.7 MB, free: 428 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001953/0.1128, allocations: 93.11 kB / 431.8 MB, free: 316 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.058e-05/0.1129, allocations: 85.06 kB / 431.8 MB, free: 212 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/0.1129, allocations: 3.938 kB / 431.8 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.506e-05/0.1129, allocations: 7.984 kB / 431.8 MB, free: 200 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.365e-06/0.1129, allocations: 4 kB / 431.9 MB, free: 196 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.1129, allocations: 0 / 431.9 MB, free: 196 kB / 350.1 MB Notification: Performance of sorting global known variables: time 4.938e-05/0.113, allocations: 87.22 kB / 431.9 MB, free: 108 kB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.113, allocations: 4 kB / 431.9 MB, free: 104 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001852/0.1132, allocations: 4 kB / 431.9 MB, free: 100 kB / 350.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 0.2002/0.3133, allocations: 99.8 kB / 432 MB, free: 11.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002383/0.3136, allocations: 24.89 kB / 432.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3136, allocations: 3.094 kB / 432.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.302e-06/0.3136, allocations: 1.062 kB / 432.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00031/0.3139, allocations: 28.67 kB / 432.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003226/0.3142, allocations: 146.8 kB / 432.2 MB, free: 11.29 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001171/0.3143, allocations: 0.681 MB / 432.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.286e-05/0.3144, allocations: 13.27 kB / 432.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of SimCode: time 6.02e-07/0.3144, allocations: 0.5312 kB / 432.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of Templates: time 0.002102/0.3165, allocations: 0.6226 MB / 433.6 MB, free: 10.59 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.8685812768526375]