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.001021/0.001021, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.001121/0.001121, allocations: 156.5 kB / 24.55 MB, free: 20 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 0.9799/0.9799, allocations: 177 MB / 204.8 MB, free: 5.617 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.2707/0.2707, allocations: 34.86 MB / 296.3 MB, free: 0.543 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 2.214e-06/2.214e-06, allocations: 0 / 378.7 MB, free: 2.133 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.222e-05/3.444e-05, allocations: 2.312 kB / 378.7 MB, free: 2.129 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001883/0.001917, allocations: 0.5016 MB / 379.2 MB, free: 1.625 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009475/0.002865, allocations: 382.9 kB / 379.6 MB, free: 1.25 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.322e-05/0.002888, allocations: 3.938 kB / 379.6 MB, free: 1.246 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 2.37e-05/0.002912, allocations: 0 / 379.6 MB, free: 1.246 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 7.244e-06/0.002919, allocations: 0 / 379.6 MB, free: 1.246 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.001007/0.003926, allocations: 215.4 kB / 379.8 MB, free: 1.035 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.589e-05/0.003982, allocations: 0 / 379.8 MB, free: 1.035 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.619e-05/0.004018, allocations: 0 / 379.8 MB, free: 1.035 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.017e-05/0.004049, allocations: 4 kB / 379.8 MB, free: 1.031 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.182e-05/0.00407, allocations: 0 / 379.8 MB, free: 1.031 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.186e-06/0.004079, allocations: 0 / 379.8 MB, free: 1.031 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004514/0.00453, allocations: 231.5 kB / 380.1 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.056e-05/0.004541, allocations: 0 / 380.1 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.462e-05/0.004565, allocations: 4 kB / 380.1 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003029/0.004868, allocations: 171.6 kB / 380.2 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.004872, allocations: 4 kB / 380.2 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.004873, allocations: 0 / 380.2 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.004879, allocations: 0 / 380.2 MB, free: 0.6289 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.0004169/0.005296, allocations: 397.8 kB / 380.6 MB, free: 200 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.005342, allocations: 12.03 kB / 380.6 MB, free: 188 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.069e-05/0.005383, allocations: 0.9375 kB / 380.6 MB, free: 188 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.099e-05/0.005454, allocations: 104.6 kB / 380.7 MB, free: 56 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.005467, allocations: 384 / 380.7 MB, free: 56 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/0.005484, allocations: 4.375 kB / 380.7 MB, free: 52 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.005612, allocations: 59.94 kB / 380.8 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.005625, allocations: 4.188 kB / 380.8 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.005637, allocations: 8.375 kB / 380.8 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.427e-06/0.005646, allocations: 384 / 380.8 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.632e-05/0.005672, allocations: 33.58 kB / 380.8 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001236/0.005796, allocations: 112.6 kB / 381 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.983e-05/0.005856, allocations: 52.75 kB / 381 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.81e-05/0.005884, allocations: 37.48 kB / 381 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.202e-06/0.00589, allocations: 0 / 381 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.907e-05/0.005939, allocations: 63.08 kB / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.00594, allocations: 0 / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002298/0.00617, allocations: 126.7 kB / 381.2 MB, free: 15.44 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.216e-05/0.006222, allocations: 81.11 kB / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.064e-05/0.006283, allocations: 142.2 kB / 381.4 MB, free: 15.19 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.006295, allocations: 25.7 kB / 381.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.026e-05/0.006336, allocations: 126.9 kB / 381.6 MB, free: 15.03 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.358e-05/0.006359, allocations: 4.297 kB / 381.6 MB, free: 15.03 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.526e-05/0.006395, allocations: 19.38 kB / 381.6 MB, free: 15 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.006555, allocations: 0.4883 MB / 382.1 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003124/0.006868, allocations: 25.7 kB / 382.1 MB, free: 14.47 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.196e-05/0.00689, allocations: 33.69 kB / 382.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.175e-05/0.006952, allocations: 71.22 kB / 382.2 MB, free: 14.34 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.006954, allocations: 0 / 382.2 MB, free: 14.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.964e-05/0.007054, allocations: 89.05 kB / 382.3 MB, free: 14.24 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.064e-05/0.007094, allocations: 40.34 kB / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.0071, allocations: 0 / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.00712, allocations: 0 / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.859e-06/0.007125, allocations: 0 / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.007131, allocations: 0 / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.011e-05/0.007151, allocations: 7.938 kB / 382.4 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.007157, allocations: 0 / 382.4 MB, free: 14.19 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 9.733e-05/0.007254, allocations: 182.3 kB / 382.5 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.301e-05/0.007267, allocations: 4 kB / 382.6 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.662e-05/0.007284, allocations: 3 kB / 382.6 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.007287, allocations: 0 / 382.6 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.007291, allocations: 0 / 382.6 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.007297, allocations: 3.984 kB / 382.6 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.809e-05/0.007375, allocations: 112.6 kB / 382.7 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.007377, allocations: 0 / 382.7 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.352e-06/0.007378, allocations: 0 / 382.7 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.00738, allocations: 0 / 382.7 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.221e-06/0.007386, allocations: 0 / 382.7 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.007387, allocations: 4 kB / 382.7 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.007389, allocations: 0 / 382.7 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001245/0.007513, allocations: 139.7 kB / 382.8 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.151e-06/0.00752, allocations: 0 / 382.8 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.685e-05/0.007536, allocations: 0 / 382.8 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.004e-05/0.007546, allocations: 4 kB / 382.8 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.358e-05/0.00756, allocations: 4 kB / 382.8 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.007563, allocations: 0 / 382.8 MB, free: 13.66 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.746e-05/0.007601, allocations: 119.2 kB / 382.9 MB, free: 13.54 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.007601, allocations: 0 / 382.9 MB, free: 13.54 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003741/0.007975, allocations: 59.89 kB / 383 MB, free: 13.48 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.0004889/0.008464, allocations: 210.8 kB / 383.2 MB, free: 13.27 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001318/0.008596, allocations: 122.4 kB / 383.3 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.008597, allocations: 0 / 383.3 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.167e-05/0.008639, allocations: 92.78 kB / 383.4 MB, free: 13.01 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001343/0.008773, allocations: 4 kB / 383.4 MB, free: 13.01 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002225/0.008996, allocations: 121.7 kB / 383.5 MB, free: 12.85 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.397e-05/0.00903, allocations: 51.36 kB / 383.6 MB, free: 12.78 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.987e-06/0.009039, allocations: 3.984 kB / 383.6 MB, free: 12.78 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.436e-05/0.009053, allocations: 8.5 kB / 383.6 MB, free: 12.77 MB / 362.7 MB Notification: Performance of SimCode: time 1.142e-06/0.009054, allocations: 0 / 383.6 MB, free: 12.77 MB / 362.7 MB Notification: Performance of Templates: time 0.004526/0.01358, allocations: 1.571 MB / 385.2 MB, free: 11.2 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.2354515907354653]