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.001337/0.001337, 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.0009385/0.0009385, 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 1.058/1.058, 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.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.513e-06/1.513e-06, allocations: 0 / 272.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.457e-05/2.608e-05, allocations: 5.266 kB / 272.9 MB, free: 1.445 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.002071/0.002097, allocations: 1.564 MB / 274.5 MB, free: 15.87 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000344/0.002441, allocations: 147.4 kB / 274.6 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.055e-05/0.002512, allocations: 0 / 274.6 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.963e-05/0.002561, allocations: 7.922 kB / 274.6 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001224/0.002684, allocations: 7.938 kB / 274.6 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002161/0.0029, allocations: 39.84 kB / 274.7 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.451e-05/0.002984, allocations: 35.84 kB / 274.7 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.6e-05/0.00308, allocations: 11.98 kB / 274.7 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.4e-05/0.003124, allocations: 15.98 kB / 274.7 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.528e-05/0.00315, allocations: 11.92 kB / 274.8 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.003168, allocations: 4 kB / 274.8 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.033e-05/0.003179, allocations: 4 kB / 274.8 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.367e-05/0.003222, allocations: 8 kB / 274.8 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.893e-05/0.003251, allocations: 15.92 kB / 274.8 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001014/0.003353, allocations: 35.78 kB / 274.8 MB, free: 15.53 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.003355, allocations: 0 / 274.8 MB, free: 15.53 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.003356, allocations: 0 / 274.8 MB, free: 15.53 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.003361, allocations: 0 / 274.8 MB, free: 15.53 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.00035/0.003711, allocations: 396.4 kB / 275.2 MB, free: 15.1 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.003747, allocations: 11.98 kB / 275.2 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.937e-05/0.003786, allocations: 12.89 kB / 275.2 MB, free: 15.08 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/0.003941, allocations: 140.5 kB / 275.4 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.003958, allocations: 384 / 275.4 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/0.003973, allocations: 12.36 kB / 275.4 MB, free: 14.9 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002324/0.004205, allocations: 129.5 kB / 275.5 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.004214, allocations: 192 / 275.5 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-06/0.004223, allocations: 4.359 kB / 275.5 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.00423, allocations: 4.375 kB / 275.5 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.073e-05/0.004251, allocations: 7.938 kB / 275.5 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002477/0.004498, allocations: 275.3 kB / 275.8 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.736e-05/0.004596, allocations: 62.19 kB / 275.9 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.24e-05/0.004628, allocations: 23.42 kB / 275.9 MB, free: 14.31 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.004647, allocations: 4 kB / 275.9 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.004666, allocations: 41.33 kB / 275.9 MB, free: 14.25 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.004667, allocations: 4 kB / 275.9 MB, free: 14.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001424/0.004809, allocations: 65.52 kB / 276 MB, free: 14.18 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.004852, allocations: 77.11 kB / 276.1 MB, free: 14.09 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.232e-05/0.004944, allocations: 188.9 kB / 276.2 MB, free: 13.89 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.926e-06/0.004953, allocations: 29.7 kB / 276.3 MB, free: 13.85 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.493e-05/0.004998, allocations: 126.9 kB / 276.4 MB, free: 13.72 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.327e-06/0.005008, allocations: 3.984 kB / 276.4 MB, free: 13.72 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.846e-05/0.005036, allocations: 27.33 kB / 276.4 MB, free: 13.68 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.005137, allocations: 492.1 kB / 276.9 MB, free: 13.19 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.04e-05/0.005147, allocations: 4.125 kB / 276.9 MB, free: 13.19 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.12e-06/0.005153, allocations: 4 kB / 276.9 MB, free: 13.18 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.025e-05/0.005173, allocations: 15.69 kB / 276.9 MB, free: 13.16 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.005174, allocations: 0 / 276.9 MB, free: 13.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.35e-05/0.005218, allocations: 37.62 kB / 277 MB, free: 13.12 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.00523, allocations: 4 kB / 277 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.005236, allocations: 7.938 kB / 277 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.005248, allocations: 0 / 277 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.307e-06/0.005258, allocations: 0 / 277 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.005262, allocations: 0 / 277 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.718e-05/0.005289, allocations: 4.094 kB / 277 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.339e-06/0.005294, allocations: 0 / 277 MB, free: 13.11 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: 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 6.561e-05/0.005359, allocations: 156.6 kB / 277.1 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.741e-05/0.005407, allocations: 57.52 kB / 277.2 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.893e-05/0.005435, allocations: 11.94 kB / 277.2 MB, free: 12.87 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.005437, allocations: 0 / 277.2 MB, free: 12.87 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.005441, allocations: 4 kB / 277.2 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.005444, allocations: 0 / 277.2 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.848e-05/0.005542, allocations: 124.6 kB / 277.3 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.005544, allocations: 0 / 277.3 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.702e-06/0.00555, allocations: 8 kB / 277.3 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.005554, allocations: 4.234 kB / 277.3 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.005561, allocations: 4 kB / 277.3 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.005563, allocations: 3.938 kB / 277.4 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.005564, allocations: 0 / 277.4 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.854e-05/0.005663, allocations: 215.5 kB / 277.6 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.648e-05/0.005689, allocations: 15.94 kB / 277.6 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.087e-06/0.005698, allocations: 0 / 277.6 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.785e-05/0.005736, allocations: 7.938 kB / 277.6 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.891e-05/0.005765, allocations: 0 / 277.6 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.005768, allocations: 0 / 277.6 MB, free: 12.43 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.713e-05/0.005815, allocations: 143.2 kB / 277.7 MB, free: 12.29 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005816, allocations: 0 / 277.7 MB, free: 12.29 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001391/0.005955, allocations: 4 kB / 277.7 MB, free: 12.29 MB / 266.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 7.301e-05/0.006028, allocations: 99.23 kB / 277.8 MB, free: 12.18 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.59e-05/0.006094, allocations: 15.69 kB / 277.8 MB, free: 12.16 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.006095, allocations: 0 / 277.8 MB, free: 12.16 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.356e-05/0.006108, allocations: 15.62 kB / 277.9 MB, free: 12.14 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002312/0.00634, allocations: 21.67 kB / 277.9 MB, free: 12.11 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002513/0.006591, allocations: 160.7 kB / 278 MB, free: 11.93 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.823e-05/0.006629, allocations: 59.34 kB / 278.1 MB, free: 11.85 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.401e-05/0.006643, allocations: 4 kB / 278.1 MB, free: 11.84 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.533e-05/0.006668, allocations: 8.5 kB / 278.1 MB, free: 11.83 MB / 266.7 MB Notification: Performance of SimCode: time 7.32e-07/0.006669, allocations: 0 / 278.1 MB, free: 11.83 MB / 266.7 MB Notification: Performance of Templates: time 0.002051/0.00872, allocations: 0.5198 MB / 278.6 MB, free: 11.32 MB / 266.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 -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.868648247793317]