Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.001564/0.001564, allocations: 115.5 kB / 21.18 MB, free: 0.5898 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.001718/0.001718, allocations: 210.8 kB / 24.47 MB, free: 3.996 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.432/1.432, allocations: 230.4 MB / 258.1 MB, free: 8.129 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.BooleanSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.001913/0.001913, allocations: 71.81 kB / 378.7 MB, free: 2.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2871/0.289, allocations: 53.32 MB / 432 MB, free: 7.359 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.002724/0.2918, allocations: 1.434 MB / 433.5 MB, free: 5.922 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001815/0.2919, allocations: 31.91 kB / 433.5 MB, free: 5.891 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.516e-05/0.292, allocations: 0 / 433.5 MB, free: 5.891 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.698e-05/0.292, allocations: 3.938 kB / 433.5 MB, free: 5.887 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.211e-05/0.2921, allocations: 7.938 kB / 433.5 MB, free: 5.879 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002464/0.2923, allocations: 19.97 kB / 433.5 MB, free: 5.859 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.759e-05/0.2924, allocations: 27.92 kB / 433.6 MB, free: 5.832 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.2925, allocations: 11.98 kB / 433.6 MB, free: 5.82 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.927e-05/0.2925, allocations: 11.94 kB / 433.6 MB, free: 5.809 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.951e-05/0.2926, allocations: 19.91 kB / 433.6 MB, free: 5.789 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.485e-05/0.2926, allocations: 0 / 433.6 MB, free: 5.789 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.112e-05/0.2926, allocations: 7.938 kB / 433.6 MB, free: 5.781 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.794e-05/0.2926, allocations: 4 kB / 433.6 MB, free: 5.777 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.603e-05/0.2927, allocations: 19.86 kB / 433.6 MB, free: 5.758 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001014/0.2928, allocations: 35.69 kB / 433.7 MB, free: 5.727 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2928, allocations: 0 / 433.7 MB, free: 5.727 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2928, allocations: 0 / 433.7 MB, free: 5.727 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.2928, allocations: 0 / 433.7 MB, free: 5.727 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.0004653/0.2933, allocations: 337.6 kB / 434 MB, free: 5.348 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.2933, allocations: 16.03 kB / 434 MB, free: 5.332 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.074e-05/0.2933, allocations: 0.9375 kB / 434 MB, free: 5.332 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002501/0.2936, allocations: 180.3 kB / 434.2 MB, free: 5.117 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.703e-05/0.2936, allocations: 4.375 kB / 434.2 MB, free: 5.113 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.406e-05/0.2936, allocations: 384 / 434.2 MB, free: 5.113 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003406/0.294, allocations: 115.8 kB / 434.3 MB, free: 4.988 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.294, allocations: 4.188 kB / 434.3 MB, free: 4.984 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.294, allocations: 3.938 kB / 434.3 MB, free: 4.98 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.294, allocations: 4 kB / 434.3 MB, free: 4.977 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.2941, allocations: 23.97 kB / 434.4 MB, free: 4.953 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001573/0.2943, allocations: 153.7 kB / 434.5 MB, free: 4.754 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001488/0.2944, allocations: 46.55 kB / 434.5 MB, free: 4.699 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.031e-05/0.2945, allocations: 24.92 kB / 434.6 MB, free: 4.672 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.191e-05/0.2945, allocations: 3.938 kB / 434.6 MB, free: 4.668 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/0.2945, allocations: 38.56 kB / 434.6 MB, free: 4.621 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.2945, allocations: 0 / 434.6 MB, free: 4.621 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000257/0.2948, allocations: 73.56 kB / 434.7 MB, free: 4.543 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.755e-05/0.2948, allocations: 63.34 kB / 434.7 MB, free: 4.469 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.231e-05/0.2949, allocations: 105.8 kB / 434.8 MB, free: 4.355 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.2949, allocations: 25.7 kB / 434.9 MB, free: 4.324 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.888e-05/0.295, allocations: 80.14 kB / 435 MB, free: 4.242 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.4e-05/0.295, allocations: 8 kB / 435 MB, free: 4.234 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.481e-05/0.295, allocations: 17.7 kB / 435 MB, free: 4.211 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.2952, allocations: 318.8 kB / 435.3 MB, free: 3.891 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.361e-05/0.2952, allocations: 3.938 kB / 435.3 MB, free: 3.887 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.469e-05/0.2952, allocations: 35.8 kB / 435.3 MB, free: 3.84 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.092e-05/0.2953, allocations: 39.38 kB / 435.4 MB, free: 3.789 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2953, allocations: 0 / 435.4 MB, free: 3.789 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.832e-05/0.2954, allocations: 65.58 kB / 435.4 MB, free: 3.719 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.2954, allocations: 8 kB / 435.4 MB, free: 3.711 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.2954, allocations: 3.938 kB / 435.4 MB, free: 3.707 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.2954, allocations: 0 / 435.4 MB, free: 3.707 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.56e-05/0.2954, allocations: 8.125 kB / 435.5 MB, free: 3.699 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.2955, allocations: 7.938 kB / 435.5 MB, free: 3.691 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.818e-05/0.2955, allocations: 0 / 435.5 MB, free: 3.691 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.064e-06/0.2955, allocations: 4 kB / 435.5 MB, free: 3.688 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 8.039e-05/0.2956, allocations: 117.7 kB / 435.6 MB, free: 3.562 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001339/0.2957, allocations: 57.67 kB / 435.6 MB, free: 3.5 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.122e-05/0.2957, allocations: 15.44 kB / 435.6 MB, free: 3.48 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.2957, allocations: 240 / 435.6 MB, free: 3.48 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.2957, allocations: 3.984 kB / 435.7 MB, free: 3.477 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.2957, allocations: 7.984 kB / 435.7 MB, free: 3.469 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001099/0.2958, allocations: 153.7 kB / 435.8 MB, free: 3.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.2958, allocations: 0 / 435.8 MB, free: 3.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.087e-05/0.2959, allocations: 4 kB / 435.8 MB, free: 3.266 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.2959, allocations: 3.984 kB / 435.8 MB, free: 3.262 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.2959, allocations: 7.875 kB / 435.8 MB, free: 3.254 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.2959, allocations: 0 / 435.8 MB, free: 3.254 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2959, allocations: 0 / 435.8 MB, free: 3.254 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001653/0.2961, allocations: 97 kB / 435.9 MB, free: 3.141 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.308e-05/0.2961, allocations: 77.11 kB / 436 MB, free: 3.047 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/0.2961, allocations: 3.938 kB / 436 MB, free: 3.043 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.705e-05/0.2961, allocations: 4 kB / 436 MB, free: 3.039 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.234e-06/0.2961, allocations: 0 / 436 MB, free: 3.039 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/0.2962, allocations: 3.984 kB / 436 MB, free: 3.035 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.41e-05/0.2962, allocations: 83.28 kB / 436.1 MB, free: 2.953 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2962, allocations: 4 kB / 436.1 MB, free: 2.949 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001849/0.2964, allocations: 0 / 436.1 MB, free: 2.949 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.0001031/0.2965, allocations: 107.2 kB / 436.2 MB, free: 2.836 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001391/0.2966, allocations: 31.92 kB / 436.2 MB, free: 2.805 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.2966, allocations: 0 / 436.2 MB, free: 2.805 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-07/0.2966, allocations: 0 / 436.2 MB, free: 2.805 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002221/0.2968, allocations: 19.98 kB / 436.2 MB, free: 2.785 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002977/0.2971, allocations: 152.4 kB / 436.4 MB, free: 2.605 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.2974, allocations: 0.6887 MB / 437.1 MB, free: 1.891 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.328e-05/0.2975, allocations: 7.438 kB / 437.1 MB, free: 1.883 MB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2975, allocations: 0 / 437.1 MB, free: 1.883 MB / 334.1 MB Notification: Performance of Templates: time 0.002/0.2995, allocations: 0.6002 MB / 437.7 MB, free: 1.281 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.766266781371087]