Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.001683/0.001683, allocations: 120.8 kB / 18.46 MB, free: 4.449 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.002039/0.002039, allocations: 190.9 kB / 21.4 MB, free: 1.52 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.381/1.381, allocations: 225.6 MB / 249.8 MB, free: 3.613 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.BooleanSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_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.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 47.92 kB / 366.8 MB, free: 344 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08851/0.08992, allocations: 52.14 MB / 418.9 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.002537/0.09246, allocations: 1.41 MB / 420.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001681/0.09263, allocations: 39.91 kB / 420.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.198e-05/0.09268, allocations: 0 / 420.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.247e-05/0.0927, allocations: 3.938 kB / 420.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.46e-05/0.09273, allocations: 3.938 kB / 420.4 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002196/0.09295, allocations: 23.98 kB / 420.4 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.121e-05/0.09304, allocations: 31.91 kB / 420.5 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.418e-05/0.09313, allocations: 11.98 kB / 420.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.946e-05/0.09316, allocations: 4 kB / 420.5 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.011e-05/0.0932, allocations: 11.92 kB / 420.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.09322, allocations: 7.938 kB / 420.5 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.628e-06/0.09323, allocations: 4 kB / 420.5 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.816e-05/0.09324, allocations: 11.94 kB / 420.5 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.369e-05/0.09328, allocations: 19.91 kB / 420.5 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.316e-05/0.09336, allocations: 27.84 kB / 420.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.09336, allocations: 0 / 420.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.09337, allocations: 0 / 420.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.848e-06/0.09337, allocations: 0 / 420.6 MB, free: 10.48 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.0004387/0.09381, allocations: 343.4 kB / 420.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.114e-05/0.09384, allocations: 11.89 kB / 420.9 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.046e-05/0.09387, allocations: 8.875 kB / 420.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002101/0.09408, allocations: 184.3 kB / 421.1 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.0941, allocations: 384 / 421.1 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.09411, allocations: 4.375 kB / 421.1 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003226/0.09443, allocations: 119.8 kB / 421.2 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.09444, allocations: 4.125 kB / 421.2 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.09445, allocations: 3.938 kB / 421.2 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.327e-06/0.09445, allocations: 0 / 421.2 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001037/0.09456, allocations: 27.97 kB / 421.2 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001555/0.09471, allocations: 153.7 kB / 421.4 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001456/0.09486, allocations: 50.59 kB / 421.4 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.85e-05/0.09493, allocations: 20.89 kB / 421.5 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.523e-06/0.09493, allocations: 0 / 421.5 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.918e-05/0.09497, allocations: 38.48 kB / 421.5 MB, free: 9.359 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.09497, allocations: 4 kB / 421.5 MB, free: 9.355 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002509/0.09523, allocations: 73.61 kB / 421.6 MB, free: 9.277 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.117e-05/0.09529, allocations: 59.41 kB / 421.6 MB, free: 9.207 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.014e-05/0.09537, allocations: 101.8 kB / 421.7 MB, free: 9.098 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.09538, allocations: 25.7 kB / 421.8 MB, free: 9.066 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.891e-05/0.09542, allocations: 84.14 kB / 421.8 MB, free: 8.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.271e-05/0.09544, allocations: 7.953 kB / 421.9 MB, free: 8.973 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.002e-05/0.09547, allocations: 17.7 kB / 421.9 MB, free: 8.949 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.09561, allocations: 318.8 kB / 422.2 MB, free: 8.629 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.285e-05/0.09562, allocations: 4 kB / 422.2 MB, free: 8.625 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.561e-05/0.09566, allocations: 35.55 kB / 422.2 MB, free: 8.578 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.59e-05/0.0957, allocations: 35.44 kB / 422.3 MB, free: 8.531 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.0957, allocations: 3.938 kB / 422.3 MB, free: 8.527 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.819e-05/0.0958, allocations: 61.62 kB / 422.3 MB, free: 8.461 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.09581, allocations: 4 kB / 422.3 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.09582, allocations: 7.938 kB / 422.3 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.09584, allocations: 3.984 kB / 422.3 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.622e-05/0.09588, allocations: 4 kB / 422.3 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.09589, allocations: 0 / 422.3 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.004e-05/0.09591, allocations: 8.125 kB / 422.3 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.167e-06/0.09591, allocations: 4.312 kB / 422.4 MB, free: 8.43 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 8.732e-05/0.096, allocations: 117.8 kB / 422.5 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001448/0.09614, allocations: 61.62 kB / 422.5 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.345e-05/0.09617, allocations: 11.44 kB / 422.5 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.09617, allocations: 3.938 kB / 422.5 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.09617, allocations: 8 kB / 422.5 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.09618, allocations: 3.984 kB / 422.6 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000112/0.09629, allocations: 153.7 kB / 422.7 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.09629, allocations: 4 kB / 422.7 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.797e-05/0.09632, allocations: 0 / 422.7 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.147e-06/0.09632, allocations: 4 kB / 422.7 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.09633, allocations: 7.922 kB / 422.7 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.09633, allocations: 0 / 422.7 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.09634, allocations: 0 / 422.7 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001617/0.0965, allocations: 85.05 kB / 422.8 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.466e-05/0.09655, allocations: 85.06 kB / 422.9 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.09657, allocations: 7.938 kB / 422.9 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.942e-05/0.0966, allocations: 4 kB / 422.9 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.843e-06/0.0966, allocations: 0 / 422.9 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.0966, allocations: 0 / 422.9 MB, free: 7.777 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.798e-05/0.09665, allocations: 87.27 kB / 423 MB, free: 7.691 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.09665, allocations: 0 / 423 MB, free: 7.691 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001865/0.09684, allocations: 4 kB / 423 MB, free: 7.688 MB / 350.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.0001011/0.09694, allocations: 99.19 kB / 423.1 MB, free: 7.578 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001352/0.09707, allocations: 39.92 kB / 423.1 MB, free: 7.539 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.09707, allocations: 0 / 423.1 MB, free: 7.539 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.21e-07/0.09707, allocations: 0 / 423.1 MB, free: 7.539 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002163/0.09729, allocations: 23.97 kB / 423.1 MB, free: 7.516 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002751/0.09757, allocations: 135.3 kB / 423.3 MB, free: 7.352 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002996/0.09786, allocations: 0.6883 MB / 424 MB, free: 6.637 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.317e-05/0.09789, allocations: 11.44 kB / 424 MB, free: 6.625 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.09789, allocations: 256 / 424 MB, free: 6.625 MB / 350.1 MB Notification: Performance of Templates: time 0.001986/0.09987, allocations: 0.6086 MB / 424.6 MB, free: 6.016 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.17396606807597]