Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001733/0.001733, allocations: 105.2 kB / 19.8 MB, free: 2.516 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.002426/0.002426, allocations: 215.4 kB / 23 MB, free: 5.609 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.589/1.589, allocations: 230.2 MB / 256.2 MB, free: 8.551 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.BooleanSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00298/0.00298, allocations: 63.89 kB / 376.5 MB, free: 3.645 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3859/0.3889, allocations: 53.32 MB / 429.8 MB, free: 7.566 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.003194/0.3921, allocations: 1.444 MB / 431.2 MB, free: 6.117 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002031/0.3923, allocations: 35.84 kB / 431.3 MB, free: 6.082 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.655e-05/0.3924, allocations: 8 kB / 431.3 MB, free: 6.074 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.061e-05/0.3924, allocations: 0 / 431.3 MB, free: 6.074 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.702e-05/0.3924, allocations: 3.938 kB / 431.3 MB, free: 6.07 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002686/0.3927, allocations: 19.23 kB / 431.3 MB, free: 6.055 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.3928, allocations: 31.91 kB / 431.3 MB, free: 6.023 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.3929, allocations: 4 kB / 431.3 MB, free: 6.02 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.443e-05/0.393, allocations: 15.92 kB / 431.3 MB, free: 6.004 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.68e-05/0.393, allocations: 11.94 kB / 431.4 MB, free: 5.992 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.412e-05/0.3931, allocations: 4 kB / 431.4 MB, free: 5.988 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.108e-06/0.3931, allocations: 0 / 431.4 MB, free: 5.988 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.661e-05/0.3931, allocations: 11.98 kB / 431.4 MB, free: 5.977 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.61e-05/0.3931, allocations: 15.88 kB / 431.4 MB, free: 5.961 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001239/0.3933, allocations: 31.69 kB / 431.4 MB, free: 5.934 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3933, allocations: 0 / 431.4 MB, free: 5.934 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3933, allocations: 0 / 431.4 MB, free: 5.934 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.3933, allocations: 0 / 431.4 MB, free: 5.934 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.0005615/0.3938, allocations: 343.2 kB / 431.8 MB, free: 5.551 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.3939, allocations: 8.031 kB / 431.8 MB, free: 5.543 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.666e-05/0.3939, allocations: 4.891 kB / 431.8 MB, free: 5.539 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002649/0.3942, allocations: 178 kB / 431.9 MB, free: 5.328 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.049e-05/0.3942, allocations: 8.375 kB / 432 MB, free: 5.32 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.77e-05/0.3942, allocations: 4.375 kB / 432 MB, free: 5.316 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000384/0.3946, allocations: 123.8 kB / 432.1 MB, free: 5.184 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.3946, allocations: 192 / 432.1 MB, free: 5.184 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.751e-05/0.3946, allocations: 3.938 kB / 432.1 MB, free: 5.18 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.3946, allocations: 0 / 432.1 MB, free: 5.18 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001047/0.3947, allocations: 19.98 kB / 432.1 MB, free: 5.16 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000178/0.3949, allocations: 157.7 kB / 432.3 MB, free: 4.957 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001628/0.3951, allocations: 54.48 kB / 432.3 MB, free: 4.895 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.327e-05/0.3952, allocations: 20.92 kB / 432.3 MB, free: 4.871 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.483e-05/0.3952, allocations: 4 kB / 432.3 MB, free: 4.867 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.445e-05/0.3952, allocations: 34.56 kB / 432.4 MB, free: 4.824 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.3952, allocations: 0 / 432.4 MB, free: 4.824 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003341/0.3956, allocations: 93.47 kB / 432.5 MB, free: 4.727 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.083e-05/0.3956, allocations: 51.41 kB / 432.5 MB, free: 4.664 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.938e-05/0.3957, allocations: 101.9 kB / 432.6 MB, free: 4.555 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.3957, allocations: 29.64 kB / 432.6 MB, free: 4.52 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.824e-05/0.3958, allocations: 92.06 kB / 432.7 MB, free: 4.426 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.485e-05/0.3958, allocations: 4 kB / 432.7 MB, free: 4.422 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.003e-05/0.3958, allocations: 17.72 kB / 432.7 MB, free: 4.398 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.396, allocations: 314.8 kB / 433.1 MB, free: 4.082 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.893e-05/0.396, allocations: 11.98 kB / 433.1 MB, free: 4.07 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.655e-05/0.396, allocations: 23.44 kB / 433.1 MB, free: 4.035 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.496e-05/0.3961, allocations: 43.38 kB / 433.1 MB, free: 3.98 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3961, allocations: 0 / 433.1 MB, free: 3.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.844e-05/0.3962, allocations: 61.58 kB / 433.2 MB, free: 3.914 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.3962, allocations: 4 kB / 433.2 MB, free: 3.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.3962, allocations: 3.938 kB / 433.2 MB, free: 3.906 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.3962, allocations: 4 kB / 433.2 MB, free: 3.902 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.681e-05/0.3963, allocations: 7.938 kB / 433.2 MB, free: 3.895 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.3963, allocations: 3.984 kB / 433.2 MB, free: 3.891 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.26e-05/0.3963, allocations: 3.938 kB / 433.2 MB, free: 3.887 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.3963, allocations: 8.125 kB / 433.2 MB, free: 3.879 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.837e-05/0.3964, allocations: 113.8 kB / 433.3 MB, free: 3.758 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001607/0.3966, allocations: 61.67 kB / 433.4 MB, free: 3.691 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.849e-05/0.3966, allocations: 11.38 kB / 433.4 MB, free: 3.672 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.3966, allocations: 0 / 433.4 MB, free: 3.672 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.3966, allocations: 0 / 433.4 MB, free: 3.672 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3966, allocations: 0 / 433.4 MB, free: 3.672 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001299/0.3967, allocations: 153.7 kB / 433.6 MB, free: 3.473 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.3967, allocations: 3.984 kB / 433.6 MB, free: 3.469 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.106e-05/0.3968, allocations: 8 kB / 433.6 MB, free: 3.461 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.3968, allocations: 0 / 433.6 MB, free: 3.461 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.3968, allocations: 3.938 kB / 433.6 MB, free: 3.457 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3968, allocations: 4 kB / 433.6 MB, free: 3.453 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3968, allocations: 0 / 433.6 MB, free: 3.453 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001669/0.3969, allocations: 85.44 kB / 433.7 MB, free: 3.352 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.595e-05/0.397, allocations: 85.05 kB / 433.7 MB, free: 3.25 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/0.397, allocations: 7.938 kB / 433.8 MB, free: 3.242 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.962e-05/0.397, allocations: 11.98 kB / 433.8 MB, free: 3.23 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.939e-06/0.397, allocations: 4 kB / 433.8 MB, free: 3.227 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.3971, allocations: 0 / 433.8 MB, free: 3.227 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.76e-05/0.3971, allocations: 83.22 kB / 433.8 MB, free: 3.145 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3971, allocations: 0 / 433.8 MB, free: 3.145 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001849/0.3973, allocations: 11.94 kB / 433.9 MB, free: 3.133 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.0001228/0.3974, allocations: 99.23 kB / 434 MB, free: 3.023 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001419/0.3975, allocations: 28.05 kB / 434 MB, free: 2.996 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3976, allocations: 0 / 434 MB, free: 2.996 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.61e-07/0.3976, allocations: 3.938 kB / 434 MB, free: 2.992 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.3978, allocations: 24.02 kB / 434 MB, free: 2.969 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003316/0.3981, allocations: 121.5 kB / 434.1 MB, free: 2.824 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/0.3984, allocations: 0.6807 MB / 434.8 MB, free: 2.117 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.504e-05/0.3985, allocations: 0 / 434.8 MB, free: 2.117 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.861e-05/0.3985, allocations: 11.44 kB / 434.8 MB, free: 2.105 MB / 334.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3985, allocations: 4.188 kB / 434.8 MB, free: 2.102 MB / 334.1 MB Notification: Performance of Templates: time 0.002711/0.4012, allocations: 380.9 kB / 435.2 MB, free: 1.73 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 4.806699795648456]