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.001012/0.001012, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001316/0.002328, 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.0007658/0.0007658, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001059/0.001824, 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 1.002/1.002, allocations: 177.4 MB / 189.9 MB, free: 4.816 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08924/1.092, allocations: 53.87 MB / 243.8 MB, free: 14.89 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.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.794e-06/1.794e-06, allocations: 0 / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.473e-05/2.652e-05, allocations: 2.312 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2): time 0.003421/0.003448, allocations: 1.713 MB / 246.7 MB, free: 11.91 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004229/0.003871, allocations: 195.2 kB / 246.9 MB, free: 11.72 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.552e-05/0.003956, allocations: 4 kB / 246.9 MB, free: 11.72 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.483e-05/0.004011, allocations: 7.875 kB / 246.9 MB, free: 11.71 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.26e-05/0.004094, allocations: 3.938 kB / 246.9 MB, free: 11.71 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002306/0.004324, allocations: 51.75 kB / 247 MB, free: 11.66 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001275/0.004452, allocations: 59.84 kB / 247 MB, free: 11.6 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.004555, allocations: 28.2 kB / 247.1 MB, free: 11.57 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.341e-05/0.004648, allocations: 35.91 kB / 247.1 MB, free: 11.53 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.163e-05/0.0047, allocations: 23.95 kB / 247.1 MB, free: 11.51 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.054e-05/0.004731, allocations: 7.938 kB / 247.1 MB, free: 11.5 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.474e-05/0.004745, allocations: 12 kB / 247.1 MB, free: 11.49 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.391e-05/0.004799, allocations: 15.88 kB / 247.2 MB, free: 11.47 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.395e-05/0.004833, allocations: 19.94 kB / 247.2 MB, free: 11.45 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001368/0.00497, allocations: 47.83 kB / 247.2 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.496e-05/0.004985, allocations: 0 / 247.2 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.153e-06/0.004986, allocations: 0 / 247.2 MB, free: 11.41 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.864e-05/0.005005, allocations: 0 / 247.2 MB, free: 11.41 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0004598/0.005464, allocations: 308.2 kB / 247.5 MB, free: 11.08 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.0055, allocations: 8.031 kB / 247.5 MB, free: 11.07 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.991e-05/0.00554, allocations: 12.92 kB / 247.6 MB, free: 11.06 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002008/0.005741, allocations: 149.5 kB / 247.7 MB, free: 10.89 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/0.005763, allocations: 4.375 kB / 247.7 MB, free: 10.88 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.005775, allocations: 8.375 kB / 247.7 MB, free: 10.88 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002852/0.00606, allocations: 162.9 kB / 247.9 MB, free: 10.69 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.00607, allocations: 192 / 247.9 MB, free: 10.69 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.006079, allocations: 384 / 247.9 MB, free: 10.69 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.006089, allocations: 4.375 kB / 247.9 MB, free: 10.69 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.877e-05/0.006138, allocations: 27.86 kB / 247.9 MB, free: 10.66 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002943/0.006432, allocations: 249.2 kB / 248.1 MB, free: 10.39 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.00655, allocations: 87.83 kB / 248.2 MB, free: 10.28 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.899e-05/0.006599, allocations: 38.69 kB / 248.3 MB, free: 10.23 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/0.006626, allocations: 4 kB / 248.3 MB, free: 10.23 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.006654, allocations: 34.56 kB / 248.3 MB, free: 10.19 MB / 250.7 MB Notification: Performance of pre-optimization done (n=12): time 1.292e-06/0.006655, allocations: 0 / 248.3 MB, free: 10.19 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002094/0.006864, allocations: 89.72 kB / 248.4 MB, free: 10.09 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.467e-05/0.006929, allocations: 118.8 kB / 248.5 MB, free: 9.953 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.007031, allocations: 145.9 kB / 248.7 MB, free: 9.801 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.007043, allocations: 25.7 kB / 248.7 MB, free: 9.77 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.143e-05/0.007085, allocations: 84.42 kB / 248.8 MB, free: 9.68 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.186e-05/0.007096, allocations: 7.938 kB / 248.8 MB, free: 9.672 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.916e-05/0.007136, allocations: 25.7 kB / 248.8 MB, free: 9.641 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.007236, allocations: 314.8 kB / 249.1 MB, free: 9.324 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.175e-06/0.007244, allocations: 0 / 249.1 MB, free: 9.324 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.029e-05/0.007265, allocations: 17.7 kB / 249.1 MB, free: 9.301 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.258e-05/0.007297, allocations: 21.72 kB / 249.1 MB, free: 9.273 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.007301, allocations: 4 kB / 249.1 MB, free: 9.27 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.007e-05/0.007371, allocations: 41.62 kB / 249.2 MB, free: 9.223 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.007387, allocations: 8 kB / 249.2 MB, free: 9.215 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.007392, allocations: 0 / 249.2 MB, free: 9.215 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.007403, allocations: 3.938 kB / 249.2 MB, free: 9.211 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.38e-05/0.007417, allocations: 0 / 249.2 MB, free: 9.211 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.007423, allocations: 7.984 kB / 249.2 MB, free: 9.203 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.722e-05/0.00746, allocations: 0 / 249.2 MB, free: 9.203 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.007467, allocations: 4.062 kB / 249.2 MB, free: 9.199 MB / 250.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 8.951e-05/0.007556, allocations: 124.6 kB / 249.3 MB, free: 9.066 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.902e-05/0.007655, allocations: 61.98 kB / 249.4 MB, free: 9 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.953e-05/0.007695, allocations: 16.78 kB / 249.4 MB, free: 8.984 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.0077, allocations: 7.922 kB / 249.4 MB, free: 8.977 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.007702, allocations: 0 / 249.4 MB, free: 8.977 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.007708, allocations: 4 kB / 249.4 MB, free: 8.973 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001828/0.007891, allocations: 81.81 kB / 249.5 MB, free: 8.875 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.007893, allocations: 0 / 249.5 MB, free: 8.875 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.016e-05/0.007913, allocations: 11.94 kB / 249.5 MB, free: 8.863 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.514e-05/0.007958, allocations: 23.89 kB / 249.5 MB, free: 8.84 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.007961, allocations: 0 / 249.5 MB, free: 8.84 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.131e-06/0.007967, allocations: 4 kB / 249.5 MB, free: 8.836 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.007969, allocations: 0 / 249.5 MB, free: 8.836 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.007972, allocations: 3.938 kB / 249.5 MB, free: 8.832 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001249/0.008097, allocations: 223.6 kB / 249.8 MB, free: 8.594 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/0.008114, allocations: 4 kB / 249.8 MB, free: 8.59 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.533e-05/0.008209, allocations: 4 kB / 249.8 MB, free: 8.586 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.939e-05/0.008238, allocations: 11.92 kB / 249.8 MB, free: 8.574 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.008244, allocations: 0 / 249.8 MB, free: 8.574 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.114e-05/0.008275, allocations: 24.88 kB / 249.8 MB, free: 8.547 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008275, allocations: 0 / 249.8 MB, free: 8.547 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002415/0.008516, allocations: 12 kB / 249.8 MB, free: 8.535 MB / 250.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 0.0001283/0.008645, allocations: 76.42 kB / 249.9 MB, free: 8.453 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001012/0.008746, allocations: 36.72 kB / 249.9 MB, free: 8.414 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.437e-06/0.008755, allocations: 7.984 kB / 249.9 MB, free: 8.406 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.667e-05/0.008772, allocations: 8.984 kB / 249.9 MB, free: 8.395 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003759/0.009148, allocations: 45.98 kB / 250 MB, free: 8.355 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006055/0.009753, allocations: 214.5 kB / 250.2 MB, free: 8.109 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.182e-05/0.009815, allocations: 63.34 kB / 250.3 MB, free: 8.027 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.001e-05/0.009835, allocations: 4 kB / 250.3 MB, free: 8.023 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.188e-05/0.009897, allocations: 63.36 kB / 250.3 MB, free: 7.961 MB / 250.7 MB Notification: Performance of SimCode: time 7.61e-07/0.009898, allocations: 0 / 250.3 MB, free: 7.961 MB / 250.7 MB Notification: Performance of Templates: time 0.002961/0.01286, allocations: 0.7998 MB / 251.1 MB, free: 7.18 MB / 250.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 -ignoreHideResult -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.4792420668527484]