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.001268/0.001268, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001175/0.001175, allocations: 169.9 kB / 24.82 MB, free: 9.305 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.9881/0.9881, allocations: 177 MB / 205.1 MB, free: 5.492 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.2769/0.2769, allocations: 34.87 MB / 296.6 MB, free: 0.4922 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.863e-06/1.863e-06, allocations: 0 / 379.2 MB, free: 1.863 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.34e-05/2.527e-05, allocations: 3.016 kB / 379.2 MB, free: 1.859 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001986/0.002011, allocations: 0.5112 MB / 379.7 MB, free: 1.348 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008354/0.002847, allocations: 378.8 kB / 380.1 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.01e-05/0.002867, allocations: 3.938 kB / 380.1 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.631e-05/0.002883, allocations: 0 / 380.1 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 5.891e-06/0.002889, allocations: 0 / 380.1 MB, free: 0.9727 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.0007956/0.003685, allocations: 211.4 kB / 380.3 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.493e-05/0.00373, allocations: 0 / 380.3 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.149e-05/0.003761, allocations: 4 kB / 380.3 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.956e-05/0.003791, allocations: 4 kB / 380.3 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.945e-05/0.00381, allocations: 0 / 380.3 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.073e-06/0.003817, allocations: 0 / 380.3 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004428/0.00426, allocations: 227.5 kB / 380.5 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.027e-06/0.004269, allocations: 0 / 380.5 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.881e-05/0.004288, allocations: 7.938 kB / 380.5 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004507/0.004739, allocations: 167.6 kB / 380.7 MB, free: 372 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.004743, allocations: 3.984 kB / 380.7 MB, free: 368 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.004744, allocations: 4 kB / 380.7 MB, free: 364 kB / 346.7 MB Notification: Performance of Transformations before backend: time 3.948e-06/0.004748, allocations: 0 / 380.7 MB, free: 364 kB / 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.0003739/0.005122, allocations: 401.8 kB / 381.1 MB, free: 15.92 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/0.005172, allocations: 12.03 kB / 381.1 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.45e-05/0.005207, allocations: 0.9375 kB / 381.1 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.597e-05/0.005273, allocations: 108.6 kB / 381.2 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.005284, allocations: 4.375 kB / 381.2 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.571e-06/0.005289, allocations: 384 / 381.2 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.157e-05/0.005371, allocations: 55.97 kB / 381.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.005378, allocations: 192 / 381.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.131e-06/0.005384, allocations: 384 / 381.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.005389, allocations: 384 / 381.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.03e-05/0.00541, allocations: 37.62 kB / 381.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.038e-05/0.0055, allocations: 93.27 kB / 381.4 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.882e-05/0.005549, allocations: 56.7 kB / 381.5 MB, free: 15.47 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.166e-05/0.00557, allocations: 37.48 kB / 381.5 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.547e-06/0.005574, allocations: 0 / 381.5 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.278e-05/0.005617, allocations: 59.09 kB / 381.5 MB, free: 15.35 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 8.21e-07/0.005618, allocations: 0 / 381.5 MB, free: 15.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001578/0.005775, allocations: 118.8 kB / 381.7 MB, free: 15.21 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.005811, allocations: 77.11 kB / 381.7 MB, free: 15.11 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.013e-05/0.005861, allocations: 142.2 kB / 381.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.128e-06/0.005871, allocations: 29.83 kB / 381.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.171e-05/0.005902, allocations: 130.8 kB / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.68e-05/0.005919, allocations: 4.297 kB / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.111e-05/0.00595, allocations: 27.36 kB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.00609, allocations: 0.4883 MB / 382.6 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.047e-05/0.006111, allocations: 25.7 kB / 382.6 MB, free: 14.22 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.387e-05/0.006125, allocations: 29.7 kB / 382.6 MB, free: 14.19 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.017e-05/0.006175, allocations: 67.03 kB / 382.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.006177, allocations: 0 / 382.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.091e-05/0.006257, allocations: 93.16 kB / 382.8 MB, free: 14 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.021e-05/0.006288, allocations: 29.7 kB / 382.8 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.808e-06/0.006291, allocations: 0 / 382.8 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.006303, allocations: 0 / 382.8 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.914e-06/0.006305, allocations: 3.938 kB / 382.8 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.695e-06/0.006308, allocations: 0 / 382.8 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.962e-05/0.006328, allocations: 11.98 kB / 382.8 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-06/0.006332, allocations: 0 / 382.8 MB, free: 13.95 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.742e-05/0.00642, allocations: 190.2 kB / 383 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.554e-06/0.006427, allocations: 4 kB / 383 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.327e-05/0.00644, allocations: 7.031 kB / 383 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.006442, allocations: 0 / 383 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.006444, allocations: 0 / 383 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.006446, allocations: 0 / 383 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.909e-05/0.006515, allocations: 97.2 kB / 383.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.006516, allocations: 0 / 383.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.32e-07/0.006517, allocations: 0 / 383.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.006519, allocations: 0 / 383.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.808e-06/0.006522, allocations: 0 / 383.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.006523, allocations: 0 / 383.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.006528, allocations: 7.984 kB / 383.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001061/0.006634, allocations: 135.7 kB / 383.2 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.44e-06/0.006639, allocations: 0 / 383.2 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.155e-05/0.006651, allocations: 3.984 kB / 383.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.997e-06/0.00666, allocations: 0 / 383.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.107e-06/0.006669, allocations: 4 kB / 383.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.006672, allocations: 0 / 383.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.548e-05/0.006707, allocations: 119.2 kB / 383.4 MB, free: 13.31 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006707, allocations: 0 / 383.4 MB, free: 13.31 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002974/0.007004, allocations: 51.88 kB / 383.4 MB, free: 13.26 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.0003982/0.007403, allocations: 211.3 kB / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001067/0.007509, allocations: 118.5 kB / 383.7 MB, free: 12.91 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.007511, allocations: 0 / 383.7 MB, free: 12.91 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.716e-05/0.007548, allocations: 88.8 kB / 383.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000131/0.007679, allocations: 7.938 kB / 383.8 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.008895, allocations: 121.6 kB / 384 MB, free: 12.64 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.38e-05/0.008928, allocations: 51.36 kB / 384 MB, free: 12.57 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.951e-06/0.008934, allocations: 4.125 kB / 384 MB, free: 12.56 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.052e-05/0.008985, allocations: 70.2 kB / 384.1 MB, free: 12.49 MB / 362.7 MB Notification: Performance of SimCode: time 5.81e-07/0.008985, allocations: 0 / 384.1 MB, free: 12.49 MB / 362.7 MB Notification: Performance of Templates: time 0.003371/0.01236, allocations: 1.842 MB / 385.9 MB, free: 10.65 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: 2.954608471132815]