Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.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.0008518/0.0008518, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001075/0.001927, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0007214/0.0007214, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009021/0.001624, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.9568/0.9568, allocations: 177.4 MB / 189.9 MB, free: 4.848 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08635/1.043, allocations: 53.87 MB / 243.8 MB, free: 14.92 MB / 250.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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.471e-05/2.657e-05, allocations: 2.312 kB / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.003073/0.0031, allocations: 1.611 MB / 246.6 MB, free: 12.04 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003411/0.003441, allocations: 144.2 kB / 246.8 MB, free: 11.89 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.692e-05/0.003508, allocations: 3.938 kB / 246.8 MB, free: 11.89 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.664e-05/0.003544, allocations: 3.938 kB / 246.8 MB, free: 11.89 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.777e-05/0.003612, allocations: 11.92 kB / 246.8 MB, free: 11.88 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001564/0.003768, allocations: 35.89 kB / 246.8 MB, free: 11.84 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.521e-05/0.003854, allocations: 27.92 kB / 246.9 MB, free: 11.81 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.167e-05/0.003935, allocations: 27.81 kB / 246.9 MB, free: 11.79 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.321e-05/0.004009, allocations: 19.97 kB / 246.9 MB, free: 11.77 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.591e-05/0.004044, allocations: 7.938 kB / 246.9 MB, free: 11.76 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.754e-05/0.004072, allocations: 4 kB / 246.9 MB, free: 11.75 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.305e-05/0.004085, allocations: 4 kB / 246.9 MB, free: 11.75 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.753e-05/0.004133, allocations: 15.91 kB / 246.9 MB, free: 11.73 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.104e-05/0.004164, allocations: 8 kB / 246.9 MB, free: 11.73 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.125e-05/0.004255, allocations: 27.86 kB / 247 MB, free: 11.7 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.487e-05/0.00427, allocations: 4 kB / 247 MB, free: 11.7 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.004271, allocations: 4 kB / 247 MB, free: 11.69 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.648e-05/0.004288, allocations: 0 / 247 MB, free: 11.69 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003489/0.004637, allocations: 272.3 kB / 247.2 MB, free: 11.4 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.814e-05/0.004665, allocations: 8.625 kB / 247.2 MB, free: 11.39 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.469e-05/0.004689, allocations: 4.938 kB / 247.3 MB, free: 11.39 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.004839, allocations: 145.1 kB / 247.4 MB, free: 11.22 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.004854, allocations: 384 / 247.4 MB, free: 11.22 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.765e-06/0.004862, allocations: 4.375 kB / 247.4 MB, free: 11.22 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.005024, allocations: 130.2 kB / 247.5 MB, free: 11.07 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.005031, allocations: 192 / 247.5 MB, free: 11.07 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.4e-06/0.005036, allocations: 384 / 247.5 MB, free: 11.07 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.005041, allocations: 384 / 247.5 MB, free: 11.07 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.666e-05/0.005058, allocations: 11.88 kB / 247.5 MB, free: 11.06 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001518/0.005209, allocations: 149.1 kB / 247.7 MB, free: 10.89 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.278e-05/0.005282, allocations: 57.11 kB / 247.7 MB, free: 10.82 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.965e-05/0.005302, allocations: 17.77 kB / 247.8 MB, free: 10.8 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.005323, allocations: 7.984 kB / 247.8 MB, free: 10.79 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.773e-05/0.005341, allocations: 30.56 kB / 247.8 MB, free: 10.75 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 7.71e-07/0.005342, allocations: 0 / 247.8 MB, free: 10.75 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001057/0.005447, allocations: 53.62 kB / 247.8 MB, free: 10.69 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/0.005488, allocations: 81.05 kB / 247.9 MB, free: 10.59 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.086e-05/0.005559, allocations: 126.7 kB / 248.1 MB, free: 10.46 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.318e-06/0.005568, allocations: 25.7 kB / 248.1 MB, free: 10.43 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.444e-05/0.005603, allocations: 88.14 kB / 248.2 MB, free: 10.34 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.575e-06/0.00561, allocations: 8.109 kB / 248.2 MB, free: 10.33 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.032e-05/0.00564, allocations: 21.66 kB / 248.2 MB, free: 10.3 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.455e-05/0.005715, allocations: 310.8 kB / 248.5 MB, free: 9.988 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.696e-06/0.005724, allocations: 4 kB / 248.5 MB, free: 9.984 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.641e-06/0.005729, allocations: 0 / 248.5 MB, free: 9.984 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.954e-05/0.005749, allocations: 12.8 kB / 248.5 MB, free: 9.969 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.005751, allocations: 0 / 248.5 MB, free: 9.969 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.712e-05/0.005788, allocations: 33.69 kB / 248.5 MB, free: 9.93 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.005801, allocations: 7.938 kB / 248.6 MB, free: 9.922 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.005808, allocations: 8.094 kB / 248.6 MB, free: 9.914 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.666e-06/0.005816, allocations: 0 / 248.6 MB, free: 9.914 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.186e-05/0.005828, allocations: 7.938 kB / 248.6 MB, free: 9.906 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.605e-06/0.005831, allocations: 0 / 248.6 MB, free: 9.906 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.199e-05/0.005853, allocations: 0 / 248.6 MB, free: 9.906 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.326e-06/0.005856, allocations: 0 / 248.6 MB, free: 9.906 MB / 250.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: 1 (step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 5.936e-05/0.005915, allocations: 116.7 kB / 248.7 MB, free: 9.781 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.494e-05/0.00595, allocations: 41.64 kB / 248.7 MB, free: 9.734 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.132e-05/0.005982, allocations: 7.984 kB / 248.7 MB, free: 9.73 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.005987, allocations: 4 kB / 248.7 MB, free: 9.727 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.00599, allocations: 7.938 kB / 248.7 MB, free: 9.719 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.005993, allocations: 0 / 248.7 MB, free: 9.719 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.905e-05/0.006082, allocations: 73.88 kB / 248.8 MB, free: 9.629 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.006084, allocations: 0 / 248.8 MB, free: 9.629 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.883e-06/0.006091, allocations: 4 kB / 248.8 MB, free: 9.625 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.741e-05/0.006118, allocations: 15.89 kB / 248.8 MB, free: 9.609 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.00612, allocations: 0 / 248.8 MB, free: 9.609 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.707e-06/0.006124, allocations: 0 / 248.8 MB, free: 9.609 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.006124, allocations: 0 / 248.8 MB, free: 9.609 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.006128, allocations: 7.938 kB / 248.8 MB, free: 9.602 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.957e-05/0.006197, allocations: 136.3 kB / 249 MB, free: 9.449 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.516e-06/0.006206, allocations: 4.031 kB / 249 MB, free: 9.445 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.749e-05/0.006243, allocations: 7.984 kB / 249 MB, free: 9.438 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.386e-05/0.006267, allocations: 4 kB / 249 MB, free: 9.434 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.00627, allocations: 0 / 249 MB, free: 9.434 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.131e-05/0.006292, allocations: 28.77 kB / 249 MB, free: 9.402 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006292, allocations: 0 / 249 MB, free: 9.402 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000106/0.006398, allocations: 4 kB / 249 MB, free: 9.398 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (step.y,assignClock.u,assignClock.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * 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 9.076e-05/0.006489, allocations: 72.42 kB / 249.1 MB, free: 9.316 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.447e-05/0.006553, allocations: 28.8 kB / 249.1 MB, free: 9.285 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.006557, allocations: 0 / 249.1 MB, free: 9.285 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.328e-05/0.00657, allocations: 12.84 kB / 249.1 MB, free: 9.27 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000182/0.006752, allocations: 16.14 kB / 249.1 MB, free: 9.254 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003603/0.007112, allocations: 159 kB / 249.3 MB, free: 9.07 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.943e-05/0.007152, allocations: 63.28 kB / 249.4 MB, free: 8.988 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.298e-05/0.007165, allocations: 0 / 249.4 MB, free: 8.988 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.13e-05/0.007206, allocations: 59.31 kB / 249.4 MB, free: 8.93 MB / 250.7 MB Notification: Performance of SimCode: time 8.72e-07/0.007207, allocations: 0 / 249.4 MB, free: 8.93 MB / 250.7 MB Notification: Performance of Templates: time 0.0021/0.009306, allocations: 0.5474 MB / 250 MB, free: 8.395 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample1/Sample1.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.4975190442055464]