Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.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.0009891/0.0009891, allocations: 84.73 kB / 21.5 MB, free: 2.992 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.001164/0.001164, allocations: 166.2 kB / 24.91 MB, free: 8.77 MB / 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.9491/0.9491, allocations: 177 MB / 205.2 MB, free: 5.051 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.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 273.4 MB, free: 1.066 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.057e-05/2.18e-05, allocations: 5.266 kB / 273.4 MB, free: 1.062 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2): time 0.002243/0.002265, allocations: 1.665 MB / 275.1 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003761/0.002641, allocations: 179.2 kB / 275.2 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.382e-05/0.002715, allocations: 4 kB / 275.2 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.935e-05/0.002765, allocations: 11.86 kB / 275.2 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001098/0.002874, allocations: 3.938 kB / 275.2 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002005/0.003075, allocations: 59.75 kB / 275.3 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.793e-05/0.003163, allocations: 55.84 kB / 275.4 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.38e-05/0.003247, allocations: 32.14 kB / 275.4 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.334e-05/0.0033, allocations: 27.97 kB / 275.4 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.359e-05/0.003333, allocations: 27.89 kB / 275.4 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.072e-05/0.003354, allocations: 8 kB / 275.5 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.608e-06/0.003364, allocations: 4 kB / 275.5 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.194e-05/0.003406, allocations: 19.92 kB / 275.5 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.52e-05/0.003431, allocations: 19.92 kB / 275.5 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001057/0.003537, allocations: 63.67 kB / 275.6 MB, free: 14.87 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.00354, allocations: 4 kB / 275.6 MB, free: 14.87 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.003541, allocations: 0 / 275.6 MB, free: 14.87 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.003544, allocations: 0 / 275.6 MB, free: 14.87 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0002943/0.003839, allocations: 284.6 kB / 275.8 MB, free: 14.56 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.94e-05/0.003868, allocations: 11.98 kB / 275.9 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.655e-05/0.003895, allocations: 16.92 kB / 275.9 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.00403, allocations: 133.6 kB / 276 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.004048, allocations: 8.375 kB / 276 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.09e-05/0.004059, allocations: 4.375 kB / 276 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002061/0.004265, allocations: 170.1 kB / 276.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.004272, allocations: 192 / 276.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.053e-06/0.004279, allocations: 8.359 kB / 276.2 MB, free: 14.17 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.004285, allocations: 4.375 kB / 276.2 MB, free: 14.17 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.688e-05/0.004312, allocations: 23.81 kB / 276.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002187/0.004531, allocations: 249.2 kB / 276.5 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.318e-05/0.004624, allocations: 91.88 kB / 276.5 MB, free: 13.76 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.4e-05/0.004658, allocations: 50.62 kB / 276.6 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/0.004673, allocations: 4 kB / 276.6 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.004696, allocations: 38.55 kB / 276.6 MB, free: 13.65 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.112e-06/0.004698, allocations: 8 kB / 276.6 MB, free: 13.64 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001369/0.004835, allocations: 81.48 kB / 276.7 MB, free: 13.56 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.021e-05/0.004885, allocations: 110.8 kB / 276.8 MB, free: 13.43 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.685e-05/0.004952, allocations: 138.6 kB / 277 MB, free: 13.28 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.856e-06/0.00496, allocations: 25.7 kB / 277 MB, free: 13.25 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.986e-05/0.00499, allocations: 92.39 kB / 277.1 MB, free: 13.15 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.234e-06/0.004998, allocations: 7.891 kB / 277.1 MB, free: 13.14 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.445e-05/0.005022, allocations: 25.7 kB / 277.1 MB, free: 13.11 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.397e-05/0.005086, allocations: 314.8 kB / 277.4 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.881e-06/0.005092, allocations: 256 / 277.4 MB, free: 12.79 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.218e-05/0.005104, allocations: 17.72 kB / 277.4 MB, free: 12.77 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.022e-05/0.005124, allocations: 13.72 kB / 277.5 MB, free: 12.75 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.005128, allocations: 4 kB / 277.5 MB, free: 12.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.835e-05/0.005166, allocations: 41.62 kB / 277.5 MB, free: 12.7 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.808e-06/0.005176, allocations: 4 kB / 277.5 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.00518, allocations: 0 / 277.5 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.005192, allocations: 3.938 kB / 277.5 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.638e-06/0.005201, allocations: 128 / 277.5 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.094e-06/0.005203, allocations: 8 kB / 277.5 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.337e-05/0.005227, allocations: 3.984 kB / 277.5 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-06/0.005231, allocations: 0 / 277.5 MB, free: 12.68 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (step.y,hold1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * 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 5.799e-05/0.005289, allocations: 120.7 kB / 277.6 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.05e-05/0.00535, allocations: 57.62 kB / 277.7 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.839e-05/0.005378, allocations: 20.77 kB / 277.7 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.005381, allocations: 7.922 kB / 277.7 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.005383, allocations: 0 / 277.7 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.005387, allocations: 4 kB / 277.7 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00011/0.005497, allocations: 73.88 kB / 277.8 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.005499, allocations: 7.938 kB / 277.8 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.069e-05/0.005509, allocations: 15.92 kB / 277.8 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.005511, allocations: 0 / 277.8 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.539e-06/0.005515, allocations: 4 kB / 277.8 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.005517, allocations: 0 / 277.8 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.005517, allocations: 0 / 277.8 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.632e-05/0.005594, allocations: 215.6 kB / 278 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.848e-05/0.005622, allocations: 23.84 kB / 278.1 MB, free: 12.08 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.758e-06/0.005632, allocations: 7.938 kB / 278.1 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.325e-05/0.005685, allocations: 3.984 kB / 278.1 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.182e-05/0.005707, allocations: 11.97 kB / 278.1 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.005711, allocations: 4 kB / 278.1 MB, free: 12.05 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.938e-05/0.00573, allocations: 27.48 kB / 278.1 MB, free: 12.03 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00573, allocations: 0 / 278.1 MB, free: 12.03 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000137/0.005867, allocations: 8 kB / 278.1 MB, free: 12.02 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 12 (step.y,hold1.y,sample1.y,hold1.u,sample2.y,integerConstant.y,xor.u1,xor.u2,xor.y,xor1.u1,xor1.u2,xor1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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 7.521e-05/0.005942, allocations: 80.42 kB / 278.2 MB, free: 11.93 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.917e-05/0.006002, allocations: 32.78 kB / 278.2 MB, free: 11.9 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.006004, allocations: 4.125 kB / 278.2 MB, free: 11.89 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.568e-06/0.006014, allocations: 8.859 kB / 278.2 MB, free: 11.88 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002202/0.006234, allocations: 50.52 kB / 278.3 MB, free: 11.84 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002628/0.006497, allocations: 203.2 kB / 278.5 MB, free: 11.61 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.435e-05/0.006541, allocations: 71.33 kB / 278.6 MB, free: 11.52 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.527e-05/0.006556, allocations: 4 kB / 278.6 MB, free: 11.51 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.791e-05/0.006604, allocations: 55.38 kB / 278.6 MB, free: 11.46 MB / 266.7 MB Notification: Performance of SimCode: time 6.52e-07/0.006605, allocations: 0 / 278.6 MB, free: 11.46 MB / 266.7 MB Notification: Performance of Templates: time 0.002307/0.008912, allocations: 0.7982 MB / 279.4 MB, free: 10.67 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample2/Sample2.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.560786590911448]