Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.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.001918/0.001918, allocations: 79.69 kB / 21.7 MB, free: 2.844 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.002149/0.002149, allocations: 161.8 kB / 24.99 MB, free: 8.246 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 1.069/1.069, allocations: 177 MB / 205.2 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2726/0.2726, allocations: 34.86 MB / 296.6 MB, free: 0.5273 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions") translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 378.7 MB, free: 2.422 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.598e-05/1.757e-05, allocations: 6.312 kB / 378.7 MB, free: 2.414 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.0009831/0.001001, allocations: 0.498 MB / 379.2 MB, free: 1.914 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006506/0.001651, allocations: 374.9 kB / 379.6 MB, free: 1.547 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.301e-05/0.001674, allocations: 0 / 379.6 MB, free: 1.547 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.69e-05/0.001691, allocations: 0 / 379.6 MB, free: 1.547 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 6.772e-06/0.001698, allocations: 4 kB / 379.6 MB, free: 1.543 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:38:3-118:23:writable] Warning: Pure function 'ModelicaTest.Math.BooleanFunctions' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.000714/0.002412, allocations: 215.3 kB / 379.8 MB, free: 1.332 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.806e-05/0.00246, allocations: 0 / 379.8 MB, free: 1.332 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.255e-05/0.002493, allocations: 4 kB / 379.8 MB, free: 1.328 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.435e-05/0.002517, allocations: 4 kB / 379.8 MB, free: 1.324 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.983e-05/0.002537, allocations: 0 / 379.8 MB, free: 1.324 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.826e-06/0.002546, allocations: 3.984 kB / 379.8 MB, free: 1.32 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002954/0.002841, allocations: 219.5 kB / 380 MB, free: 1.105 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.484e-06/0.002848, allocations: 0 / 380 MB, free: 1.105 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.759e-05/0.002866, allocations: 0 / 380 MB, free: 1.105 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002229/0.003089, allocations: 191.5 kB / 380.2 MB, free: 0.918 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.003091, allocations: 0 / 380.2 MB, free: 0.918 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.003092, allocations: 0 / 380.2 MB, free: 0.918 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.003096, allocations: 0 / 380.2 MB, free: 0.918 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003033/0.003399, allocations: 389.9 kB / 380.6 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.003434, allocations: 8.031 kB / 380.6 MB, free: 496 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.434e-05/0.003469, allocations: 4.938 kB / 380.6 MB, free: 492 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.617e-05/0.003535, allocations: 108.6 kB / 380.7 MB, free: 356 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.003546, allocations: 384 / 380.7 MB, free: 356 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-06/0.003555, allocations: 4.375 kB / 380.7 MB, free: 352 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.596e-05/0.003641, allocations: 63.95 kB / 380.8 MB, free: 276 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.003647, allocations: 4.188 kB / 380.8 MB, free: 272 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.003656, allocations: 4.359 kB / 380.8 MB, free: 268 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.003664, allocations: 384 / 380.8 MB, free: 268 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.886e-05/0.003683, allocations: 37.58 kB / 380.8 MB, free: 224 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.908e-05/0.003772, allocations: 104.6 kB / 380.9 MB, free: 84 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.385e-05/0.003816, allocations: 52.8 kB / 381 MB, free: 12 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.26e-05/0.003848, allocations: 33.39 kB / 381 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.26e-06/0.003854, allocations: 4.062 kB / 381 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/0.003893, allocations: 67.08 kB / 381.1 MB, free: 15.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 7.41e-07/0.003894, allocations: 0 / 381.1 MB, free: 15.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001602/0.004054, allocations: 118.8 kB / 381.2 MB, free: 15.74 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/0.004091, allocations: 77.11 kB / 381.3 MB, free: 15.65 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.401e-05/0.004135, allocations: 150.2 kB / 381.4 MB, free: 15.49 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.053e-05/0.004146, allocations: 29.69 kB / 381.5 MB, free: 15.45 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.082e-05/0.004177, allocations: 130.9 kB / 381.6 MB, free: 15.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.78e-05/0.004194, allocations: 4.297 kB / 381.6 MB, free: 15.32 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.557e-05/0.00422, allocations: 19.38 kB / 381.6 MB, free: 15.29 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.004343, allocations: 496.1 kB / 382.1 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.862e-05/0.004362, allocations: 25.7 kB / 382.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.435e-05/0.004376, allocations: 33.83 kB / 382.2 MB, free: 14.72 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.958e-05/0.004426, allocations: 63.03 kB / 382.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.004427, allocations: 0 / 382.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.722e-05/0.004485, allocations: 93.09 kB / 382.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.76e-05/0.004512, allocations: 33.7 kB / 382.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.004517, allocations: 0 / 382.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.004532, allocations: 0 / 382.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.82e-07/0.004533, allocations: 0 / 382.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.004539, allocations: 0 / 382.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.309e-05/0.004552, allocations: 3.938 kB / 382.3 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.004561, allocations: 8.094 kB / 382.3 MB, free: 14.48 MB / 362.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 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.02e-05/0.004641, allocations: 182.3 kB / 382.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.801e-06/0.004647, allocations: 4 kB / 382.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.378e-06/0.004656, allocations: 3 kB / 382.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.004658, allocations: 0 / 382.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.004661, allocations: 0 / 382.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.004665, allocations: 0 / 382.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.474e-05/0.00473, allocations: 116.6 kB / 382.6 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.004732, allocations: 3.984 kB / 382.6 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.21e-07/0.004732, allocations: 0 / 382.6 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.004735, allocations: 4 kB / 382.7 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.503e-06/0.004741, allocations: 3.938 kB / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.3e-07/0.004741, allocations: 0 / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.004742, allocations: 0 / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.66e-05/0.004839, allocations: 135.8 kB / 382.8 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.268e-06/0.004843, allocations: 0 / 382.8 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.004857, allocations: 4 kB / 382.8 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.01e-06/0.004862, allocations: 0 / 382.8 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.464e-05/0.004877, allocations: 4 kB / 382.8 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-06/0.004878, allocations: 3.938 kB / 382.8 MB, free: 13.95 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.938e-05/0.004908, allocations: 119.2 kB / 382.9 MB, free: 13.83 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004908, allocations: 4.031 kB / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000223/0.005131, allocations: 55.86 kB / 383 MB, free: 13.77 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0003182/0.005449, allocations: 200.4 kB / 383.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.978e-05/0.005549, allocations: 126.4 kB / 383.3 MB, free: 13.42 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.005551, allocations: 0 / 383.3 MB, free: 13.42 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.075e-05/0.005582, allocations: 92.8 kB / 383.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.002e-05/0.005672, allocations: 8.125 kB / 383.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001703/0.005842, allocations: 113.6 kB / 383.5 MB, free: 13.15 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.107e-05/0.005873, allocations: 51.36 kB / 383.6 MB, free: 13.08 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.46e-06/0.005878, allocations: 0 / 383.6 MB, free: 13.08 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.174e-05/0.00589, allocations: 8.5 kB / 383.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/0.005891, allocations: 0 / 383.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of Templates: time 0.003152/0.009043, allocations: 1.575 MB / 385.1 MB, free: 11.5 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestBooleanFunctions/TestBooleanFunctions.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: 3.2109856938477606]