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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001771/0.001771, allocations: 120.4 kB / 18.41 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00201/0.00201, allocations: 190.7 kB / 21.35 MB, free: 1.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 222.9 MB / 247 MB, free: 4.227 MB / 190.1 MB " [Timeout remaining time 178] 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=5011,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=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 51.92 kB / 358.7 MB, free: 8.375 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09578/0.09727, allocations: 49.44 MB / 408.1 MB, free: 6.895 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.002691/0.1, allocations: 1.422 MB / 409.5 MB, free: 5.465 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001813/0.1002, allocations: 31.86 kB / 409.5 MB, free: 5.434 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.862e-05/0.1003, allocations: 0 / 409.5 MB, free: 5.434 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.467e-05/0.1003, allocations: 7.922 kB / 409.6 MB, free: 5.426 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.161e-05/0.1004, allocations: 0 / 409.6 MB, free: 5.426 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002387/0.1006, allocations: 19.92 kB / 409.6 MB, free: 5.406 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.909e-05/0.1007, allocations: 31.97 kB / 409.6 MB, free: 5.375 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.613e-05/0.1008, allocations: 4 kB / 409.6 MB, free: 5.371 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.501e-05/0.1008, allocations: 15.94 kB / 409.6 MB, free: 5.355 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.676e-05/0.1009, allocations: 15.92 kB / 409.6 MB, free: 5.34 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.1009, allocations: 4 kB / 409.6 MB, free: 5.336 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.214e-05/0.1009, allocations: 4 kB / 409.6 MB, free: 5.332 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.174e-05/0.101, allocations: 7.938 kB / 409.7 MB, free: 5.324 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.799e-05/0.101, allocations: 19.91 kB / 409.7 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.643e-05/0.1011, allocations: 27.78 kB / 409.7 MB, free: 5.277 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1011, allocations: 0 / 409.7 MB, free: 5.277 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1011, allocations: 4 kB / 409.7 MB, free: 5.273 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.1011, allocations: 0 / 409.7 MB, free: 5.273 MB / 334.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.0004756/0.1016, allocations: 351.3 kB / 410 MB, free: 4.879 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.1017, allocations: 15.89 kB / 410.1 MB, free: 4.863 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.169e-05/0.1017, allocations: 4.875 kB / 410.1 MB, free: 4.859 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002131/0.1019, allocations: 180.3 kB / 410.2 MB, free: 4.645 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.1019, allocations: 384 / 410.2 MB, free: 4.645 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.362e-05/0.102, allocations: 8.359 kB / 410.3 MB, free: 4.637 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003562/0.1023, allocations: 119.8 kB / 410.4 MB, free: 4.508 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.1023, allocations: 8.109 kB / 410.4 MB, free: 4.5 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.1024, allocations: 7.938 kB / 410.4 MB, free: 4.492 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1024, allocations: 0 / 410.4 MB, free: 4.492 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.1025, allocations: 23.97 kB / 410.4 MB, free: 4.469 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001659/0.1027, allocations: 157.6 kB / 410.6 MB, free: 4.266 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001771/0.1029, allocations: 54.55 kB / 410.6 MB, free: 4.203 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.946e-05/0.103, allocations: 32.91 kB / 410.6 MB, free: 4.168 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.229e-05/0.103, allocations: 4 kB / 410.7 MB, free: 4.164 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.103, allocations: 30.56 kB / 410.7 MB, free: 4.125 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.103, allocations: 3.938 kB / 410.7 MB, free: 4.121 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002987/0.1033, allocations: 85.55 kB / 410.8 MB, free: 4.031 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.718e-05/0.1034, allocations: 55.41 kB / 410.8 MB, free: 3.965 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.293e-05/0.1035, allocations: 105.8 kB / 410.9 MB, free: 3.852 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.1036, allocations: 25.7 kB / 411 MB, free: 3.82 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.396e-05/0.1036, allocations: 88.14 kB / 411 MB, free: 3.73 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.676e-05/0.1036, allocations: 4 kB / 411 MB, free: 3.727 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-05/0.1037, allocations: 17.72 kB / 411.1 MB, free: 3.703 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.1038, allocations: 314.8 kB / 411.4 MB, free: 3.387 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.497e-05/0.1039, allocations: 4 kB / 411.4 MB, free: 3.383 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.702e-05/0.1039, allocations: 31.75 kB / 411.4 MB, free: 3.34 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.042e-05/0.104, allocations: 43.42 kB / 411.4 MB, free: 3.285 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.104, allocations: 0 / 411.4 MB, free: 3.285 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.312e-05/0.1041, allocations: 65.53 kB / 411.5 MB, free: 3.215 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.1041, allocations: 4 kB / 411.5 MB, free: 3.211 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.1041, allocations: 12.05 kB / 411.5 MB, free: 3.199 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.1041, allocations: 7.938 kB / 411.5 MB, free: 3.191 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.894e-05/0.1042, allocations: 8 kB / 411.5 MB, free: 3.184 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.1042, allocations: 0 / 411.5 MB, free: 3.184 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.139e-05/0.1042, allocations: 4 kB / 411.5 MB, free: 3.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-06/0.1042, allocations: 0 / 411.5 MB, free: 3.18 MB / 334.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.176e-05/0.1043, allocations: 117.8 kB / 411.7 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001569/0.1045, allocations: 61.67 kB / 411.7 MB, free: 2.988 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.979e-05/0.1045, allocations: 11.84 kB / 411.7 MB, free: 2.969 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.1045, allocations: 7.984 kB / 411.7 MB, free: 2.961 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.1045, allocations: 0 / 411.7 MB, free: 2.961 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.1046, allocations: 0 / 411.7 MB, free: 2.961 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001196/0.1047, allocations: 153.7 kB / 411.9 MB, free: 2.762 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1047, allocations: 0 / 411.9 MB, free: 2.762 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.298e-05/0.1048, allocations: 11.98 kB / 411.9 MB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1048, allocations: 0 / 411.9 MB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.1048, allocations: 7.938 kB / 411.9 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.1048, allocations: 0 / 411.9 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1048, allocations: 3.938 kB / 411.9 MB, free: 2.738 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001969/0.105, allocations: 105.2 kB / 412 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.522e-05/0.105, allocations: 77.11 kB / 412.1 MB, free: 2.523 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/0.1051, allocations: 3.938 kB / 412.1 MB, free: 2.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.281e-05/0.1051, allocations: 8 kB / 412.1 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.254e-06/0.1051, allocations: 0 / 412.1 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.1051, allocations: 4 kB / 412.1 MB, free: 2.508 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.653e-05/0.1052, allocations: 83.27 kB / 412.2 MB, free: 2.426 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1052, allocations: 0 / 412.2 MB, free: 2.426 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001876/0.1054, allocations: 8 kB / 412.2 MB, free: 2.418 MB / 334.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.0001108/0.1055, allocations: 107.1 kB / 412.3 MB, free: 2.305 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001402/0.1056, allocations: 31.92 kB / 412.3 MB, free: 2.273 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1056, allocations: 0 / 412.3 MB, free: 2.273 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-07/0.1057, allocations: 0 / 412.3 MB, free: 2.273 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002748/0.1059, allocations: 38.5 kB / 412.4 MB, free: 2.238 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000312/0.1063, allocations: 147.5 kB / 412.5 MB, free: 2.062 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/0.1066, allocations: 0.6844 MB / 413.2 MB, free: 1.352 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.853e-05/0.1066, allocations: 11.44 kB / 413.2 MB, free: 1.34 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1066, allocations: 3.938 kB / 413.2 MB, free: 1.336 MB / 334.1 MB Notification: Performance of Templates: time 0.002058/0.1087, allocations: 0.6268 MB / 413.8 MB, free: 0.7109 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.571958338958211]