Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001525/0.001525, allocations: 116.8 kB / 19.17 MB, free: 3.895 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.001652/0.001652, allocations: 214.6 kB / 22.13 MB, free: 0.9414 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.546/1.546, allocations: 230.4 MB / 255.4 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 63.88 kB / 374.7 MB, free: 9.773 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1154, allocations: 53.31 MB / 428 MB, free: 4.375 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.002912/0.1183, allocations: 1.447 MB / 429.5 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001945/0.1185, allocations: 31.84 kB / 429.5 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.896e-05/0.1186, allocations: 0 / 429.5 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.701e-05/0.1186, allocations: 7.875 kB / 429.5 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.943e-05/0.1186, allocations: 4 kB / 429.5 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002574/0.1189, allocations: 23.89 kB / 429.6 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.55e-05/0.119, allocations: 27.98 kB / 429.6 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.1191, allocations: 8 kB / 429.6 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.202e-05/0.1192, allocations: 19.86 kB / 429.6 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.165e-05/0.1192, allocations: 15.92 kB / 429.6 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.1192, allocations: 4 kB / 429.6 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.867e-06/0.1192, allocations: 0 / 429.6 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.461e-05/0.1193, allocations: 11.98 kB / 429.6 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.895e-05/0.1193, allocations: 7.938 kB / 429.6 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.564e-05/0.1194, allocations: 31.78 kB / 429.7 MB, free: 2.727 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1194, allocations: 0 / 429.7 MB, free: 2.727 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1194, allocations: 0 / 429.7 MB, free: 2.727 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.694e-06/0.1194, allocations: 3.984 kB / 429.7 MB, free: 2.723 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.0004837/0.1199, allocations: 343.5 kB / 430 MB, free: 2.336 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.1199, allocations: 12.03 kB / 430 MB, free: 2.324 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.94e-05/0.12, allocations: 8.875 kB / 430 MB, free: 2.316 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002142/0.1202, allocations: 180.3 kB / 430.2 MB, free: 2.102 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.1202, allocations: 4.375 kB / 430.2 MB, free: 2.098 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.473e-05/0.1202, allocations: 384 / 430.2 MB, free: 2.098 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003691/0.1206, allocations: 123.8 kB / 430.3 MB, free: 1.965 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.1206, allocations: 192 / 430.3 MB, free: 1.965 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.1206, allocations: 3.938 kB / 430.3 MB, free: 1.961 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.1206, allocations: 4 kB / 430.3 MB, free: 1.957 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001167/0.1207, allocations: 23.97 kB / 430.4 MB, free: 1.934 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001704/0.1209, allocations: 157.7 kB / 430.5 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/0.1211, allocations: 54.55 kB / 430.6 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.431e-05/0.1212, allocations: 28.92 kB / 430.6 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.299e-05/0.1212, allocations: 0 / 430.6 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.1212, allocations: 34.5 kB / 430.6 MB, free: 1.594 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.1212, allocations: 0 / 430.6 MB, free: 1.594 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002871/0.1215, allocations: 89.48 kB / 430.7 MB, free: 1.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.046e-05/0.1216, allocations: 55.41 kB / 430.8 MB, free: 1.434 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.1217, allocations: 109.8 kB / 430.9 MB, free: 1.316 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.1217, allocations: 33.7 kB / 430.9 MB, free: 1.277 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.05e-05/0.1217, allocations: 80.14 kB / 431 MB, free: 1.195 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.226e-05/0.1217, allocations: 0 / 431 MB, free: 1.195 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.633e-05/0.1218, allocations: 25.64 kB / 431 MB, free: 1.164 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.1219, allocations: 318.8 kB / 431.3 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.287e-05/0.1219, allocations: 0 / 431.3 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.572e-05/0.122, allocations: 39.36 kB / 431.4 MB, free: 0.793 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.986e-05/0.122, allocations: 39.38 kB / 431.4 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.122, allocations: 0 / 431.4 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.873e-05/0.1221, allocations: 61.58 kB / 431.5 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.1221, allocations: 8.125 kB / 431.5 MB, free: 0.668 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.1221, allocations: 7.938 kB / 431.5 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.1222, allocations: 0 / 431.5 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.001e-05/0.1222, allocations: 8 kB / 431.5 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.1222, allocations: 4 kB / 431.5 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.902e-05/0.1222, allocations: 0 / 431.5 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.256e-06/0.1222, allocations: 0 / 431.5 MB, free: 0.6484 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 9.221e-05/0.1223, allocations: 117.8 kB / 431.6 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001505/0.1225, allocations: 69.8 kB / 431.7 MB, free: 460 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.867e-05/0.1225, allocations: 19.88 kB / 431.7 MB, free: 428 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-06/0.1225, allocations: 0 / 431.7 MB, free: 428 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.1225, allocations: 0 / 431.7 MB, free: 428 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1225, allocations: 0 / 431.7 MB, free: 428 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001152/0.1226, allocations: 157.7 kB / 431.9 MB, free: 220 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1226, allocations: 4 kB / 431.9 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.261e-05/0.1227, allocations: 4 kB / 431.9 MB, free: 212 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.1227, allocations: 4 kB / 431.9 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.1227, allocations: 7.875 kB / 431.9 MB, free: 200 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.1227, allocations: 0 / 431.9 MB, free: 200 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.1227, allocations: 0 / 431.9 MB, free: 200 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001815/0.1229, allocations: 97.03 kB / 432 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.123e-05/0.123, allocations: 81.06 kB / 432 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.123, allocations: 7.938 kB / 432.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.078e-05/0.123, allocations: 384 / 432.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.278e-06/0.123, allocations: 7.984 kB / 432.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.123, allocations: 4 kB / 432.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.988e-05/0.1231, allocations: 83.28 kB / 432.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1231, allocations: 0 / 432.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0001814/0.1232, allocations: 8 kB / 432.2 MB, free: 15.88 MB / 366.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.0001067/0.1234, allocations: 99.25 kB / 432.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001492/0.1235, allocations: 35.91 kB / 432.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1235, allocations: 3.938 kB / 432.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.21e-07/0.1235, allocations: 0 / 432.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000268/0.1238, allocations: 24.02 kB / 432.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003216/0.1241, allocations: 151.5 kB / 432.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/0.1244, allocations: 0.6807 MB / 433.1 MB, free: 14.82 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.804e-05/0.1244, allocations: 11.42 kB / 433.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1244, allocations: 0 / 433.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of Templates: time 0.002286/0.1267, allocations: 0.6287 MB / 433.8 MB, free: 14.18 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_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.74945409107022]