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.001064/0.001064, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 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.001054/0.001054, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 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 0.9987/0.9987, allocations: 177 MB / 204.8 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 179] 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 2.104e-06/2.104e-06, allocations: 0 / 272.9 MB, free: 1.457 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.26e-05/3.471e-05, allocations: 4.984 kB / 272.9 MB, free: 1.453 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.00299/0.003025, allocations: 1.478 MB / 274.4 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000232/0.003257, allocations: 31.84 kB / 274.4 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.766e-05/0.003324, allocations: 3.938 kB / 274.4 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.481e-05/0.003359, allocations: 3.984 kB / 274.4 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 3.903e-05/0.003398, allocations: 3.938 kB / 274.4 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002717/0.00367, allocations: 27.95 kB / 274.5 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.258e-05/0.003762, allocations: 27.94 kB / 274.5 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.003876, allocations: 11.92 kB / 274.5 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.414e-05/0.00394, allocations: 19.97 kB / 274.5 MB, free: 15.83 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.111e-05/0.003981, allocations: 8 kB / 274.5 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.145e-05/0.004003, allocations: 0 / 274.5 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.063e-05/0.004014, allocations: 4 kB / 274.5 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.094e-05/0.004034, allocations: 7.922 kB / 274.5 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.987e-05/0.004064, allocations: 8 kB / 274.5 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001021/0.004166, allocations: 19.91 kB / 274.6 MB, free: 15.79 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.004169, allocations: 0 / 274.6 MB, free: 15.79 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.00417, allocations: 3.938 kB / 274.6 MB, free: 15.78 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.004174, allocations: 8 kB / 274.6 MB, free: 15.77 MB / 266.7 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.0003984/0.004572, allocations: 372.5 kB / 274.9 MB, free: 15.37 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.004617, allocations: 11.98 kB / 274.9 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.294e-05/0.00466, allocations: 8.891 kB / 275 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001745/0.004834, allocations: 120.6 kB / 275.1 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.294e-05/0.004857, allocations: 384 / 275.1 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.579e-05/0.004873, allocations: 4.375 kB / 275.1 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002681/0.005141, allocations: 110.2 kB / 275.2 MB, free: 15.08 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.005152, allocations: 192 / 275.2 MB, free: 15.08 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.005162, allocations: 384 / 275.2 MB, free: 15.08 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.00517, allocations: 384 / 275.2 MB, free: 15.08 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.599e-05/0.005206, allocations: 15.88 kB / 275.2 MB, free: 15.06 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001175/0.005323, allocations: 116.6 kB / 275.3 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.718e-05/0.005411, allocations: 43.05 kB / 275.4 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.059e-05/0.005451, allocations: 19.72 kB / 275.4 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.684e-06/0.005459, allocations: 0 / 275.4 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.005485, allocations: 33.39 kB / 275.4 MB, free: 14.79 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 2.224e-06/0.005487, allocations: 4 kB / 275.4 MB, free: 14.79 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001677/0.005655, allocations: 57.62 kB / 275.5 MB, free: 14.73 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.862e-05/0.005713, allocations: 55.41 kB / 275.5 MB, free: 14.66 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.46e-05/0.005808, allocations: 165.9 kB / 275.7 MB, free: 14.48 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.005822, allocations: 29.7 kB / 275.7 MB, free: 14.45 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.523e-05/0.005868, allocations: 130.9 kB / 275.8 MB, free: 14.31 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.165e-05/0.005879, allocations: 0 / 275.8 MB, free: 14.31 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.381e-05/0.005913, allocations: 23.36 kB / 275.9 MB, free: 14.28 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.006052, allocations: 496.1 kB / 276.4 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.027e-05/0.006062, allocations: 0 / 276.4 MB, free: 13.79 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.502e-06/0.006069, allocations: 4 kB / 276.4 MB, free: 13.78 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.04e-05/0.006099, allocations: 19.69 kB / 276.4 MB, free: 13.76 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.006101, allocations: 0 / 276.4 MB, free: 13.76 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.803e-05/0.006169, allocations: 45.62 kB / 276.4 MB, free: 13.71 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.006185, allocations: 6.656 kB / 276.4 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.00619, allocations: 0 / 276.4 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.006208, allocations: 0 / 276.4 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.623e-05/0.006264, allocations: 4 kB / 276.4 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.006269, allocations: 0 / 276.4 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.732e-05/0.006286, allocations: 7.891 kB / 276.4 MB, free: 13.69 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-06/0.006292, allocations: 4.031 kB / 276.4 MB, free: 13.69 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($CLKPRE.step.counter,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 7.864e-05/0.00637, allocations: 156.6 kB / 276.6 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.529e-05/0.006436, allocations: 50.06 kB / 276.6 MB, free: 13.47 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.169e-05/0.006467, allocations: 11.72 kB / 276.7 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.00647, allocations: 4 kB / 276.7 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.006475, allocations: 4 kB / 276.7 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.00648, allocations: 7.922 kB / 276.7 MB, free: 13.44 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.03e-05/0.006551, allocations: 108.6 kB / 276.8 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.006552, allocations: 0 / 276.8 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.189e-05/0.006644, allocations: 0 / 276.8 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.097e-05/0.006655, allocations: 4 kB / 276.8 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.006666, allocations: 7.984 kB / 276.8 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.006669, allocations: 0 / 276.8 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.00667, allocations: 0 / 276.8 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001256/0.006796, allocations: 92.31 kB / 276.9 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.353e-05/0.006809, allocations: 7.953 kB / 276.9 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.006825, allocations: 0 / 276.9 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.7e-05/0.006852, allocations: 4 kB / 276.9 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.116e-06/0.006855, allocations: 0 / 276.9 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.006859, allocations: 0 / 276.9 MB, free: 13.16 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.891e-05/0.006897, allocations: 131.2 kB / 277 MB, free: 13.04 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006898, allocations: 0 / 277 MB, free: 13.04 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001223/0.00702, allocations: 8 kB / 277 MB, free: 13.03 MB / 266.7 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 8.96e-05/0.007109, allocations: 99.19 kB / 277.1 MB, free: 12.92 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.62e-05/0.007186, allocations: 19.67 kB / 277.1 MB, free: 12.9 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.007187, allocations: 3.938 kB / 277.1 MB, free: 12.89 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.42e-07/0.007188, allocations: 0 / 277.1 MB, free: 12.89 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001629/0.007351, allocations: 17.34 kB / 277.2 MB, free: 12.88 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002351/0.007586, allocations: 116.9 kB / 277.3 MB, free: 12.73 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.309e-05/0.007619, allocations: 63.41 kB / 277.3 MB, free: 12.65 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.32e-05/0.007632, allocations: 0 / 277.3 MB, free: 12.65 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.663e-05/0.007659, allocations: 12.5 kB / 277.4 MB, free: 12.64 MB / 266.7 MB Notification: Performance of SimCode: time 3.9e-07/0.00766, allocations: 0 / 277.4 MB, free: 12.64 MB / 266.7 MB Notification: Performance of Templates: time 0.001839/0.009498, allocations: 380.6 kB / 277.7 MB, free: 12.27 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.812238557264209]