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.001036/0.001036, 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.00094/0.00094, 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 0.9628/0.9628, allocations: 177 MB / 204.8 MB, free: 5.578 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.2907/0.2907, allocations: 34.86 MB / 296.3 MB, free: 0.5547 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.125 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.676e-05/3.897e-05, allocations: 3.156 kB / 378.7 MB, free: 2.121 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001879/0.001918, allocations: 0.5071 MB / 379.2 MB, free: 1.613 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009183/0.002836, allocations: 390.8 kB / 379.6 MB, free: 1.23 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.024e-05/0.002857, allocations: 0 / 379.6 MB, free: 1.23 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 2.287e-05/0.00288, allocations: 0 / 379.6 MB, free: 1.23 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 8.486e-06/0.002888, allocations: 0 / 379.6 MB, free: 1.23 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.001052/0.00394, allocations: 211.4 kB / 379.8 MB, free: 1.023 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 6.175e-05/0.004002, allocations: 0 / 379.8 MB, free: 1.023 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.052e-05/0.004042, allocations: 7.984 kB / 379.8 MB, free: 1.016 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.875e-05/0.004071, allocations: 0 / 379.8 MB, free: 1.016 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.618e-05/0.004097, allocations: 0 / 379.8 MB, free: 1.016 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.406e-06/0.004106, allocations: 0 / 379.8 MB, free: 1.016 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004541/0.00456, allocations: 227.4 kB / 380.1 MB, free: 0.793 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.036e-05/0.00457, allocations: 0 / 380.1 MB, free: 0.793 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.01e-05/0.00459, allocations: 0 / 380.1 MB, free: 0.793 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002941/0.004884, allocations: 187.5 kB / 380.2 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.004888, allocations: 4 kB / 380.3 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.00489, allocations: 0 / 380.3 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.004895, allocations: 3.938 kB / 380.3 MB, free: 0.6016 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.0003744/0.00527, allocations: 389.9 kB / 380.6 MB, free: 180 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.005314, allocations: 8.031 kB / 380.6 MB, free: 172 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.914e-05/0.005363, allocations: 0.9375 kB / 380.6 MB, free: 172 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.528e-05/0.005438, allocations: 112.6 kB / 380.8 MB, free: 32 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.005451, allocations: 384 / 380.8 MB, free: 32 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.398e-06/0.005461, allocations: 384 / 380.8 MB, free: 32 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.005595, allocations: 56.02 kB / 380.8 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.005603, allocations: 192 / 380.8 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.599e-06/0.005613, allocations: 4.375 kB / 380.8 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.005622, allocations: 4.312 kB / 380.8 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.662e-05/0.005649, allocations: 33.64 kB / 380.9 MB, free: 15.92 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000106/0.005755, allocations: 104.6 kB / 381 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.062e-05/0.005815, allocations: 56.73 kB / 381 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.668e-05/0.005842, allocations: 37.39 kB / 381 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.719e-06/0.005847, allocations: 0 / 381 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.406e-05/0.005891, allocations: 67.14 kB / 381.1 MB, free: 15.58 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.005892, allocations: 0 / 381.1 MB, free: 15.58 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002053/0.006097, allocations: 122.7 kB / 381.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.406e-05/0.006141, allocations: 77.11 kB / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.44e-05/0.006196, allocations: 146.2 kB / 381.4 MB, free: 15.18 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.006209, allocations: 29.69 kB / 381.5 MB, free: 15.15 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.647e-05/0.006246, allocations: 126.9 kB / 381.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.068e-05/0.006266, allocations: 8.297 kB / 381.6 MB, free: 15.01 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.262e-05/0.006299, allocations: 15.38 kB / 381.6 MB, free: 14.99 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.006447, allocations: 0.4883 MB / 382.1 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.29e-05/0.00647, allocations: 25.7 kB / 382.1 MB, free: 14.46 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.928e-05/0.00649, allocations: 25.7 kB / 382.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.495e-05/0.006555, allocations: 71.28 kB / 382.2 MB, free: 14.34 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.006557, allocations: 0 / 382.2 MB, free: 14.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001003/0.006658, allocations: 97.02 kB / 382.3 MB, free: 14.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.07e-05/0.006698, allocations: 29.7 kB / 382.4 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.006706, allocations: 4 kB / 382.4 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.006723, allocations: 0 / 382.4 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.531e-06/0.006728, allocations: 0 / 382.4 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.006734, allocations: 0 / 382.4 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.152e-05/0.006756, allocations: 3.938 kB / 382.4 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.006764, allocations: 0 / 382.4 MB, free: 14.18 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.611e-05/0.00686, allocations: 194.3 kB / 382.6 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.948e-06/0.00687, allocations: 0 / 382.6 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.013e-05/0.00688, allocations: 3 kB / 382.6 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.006882, allocations: 4 kB / 382.6 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.006887, allocations: 0 / 382.6 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.00689, allocations: 0 / 382.6 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.457e-05/0.006965, allocations: 108.6 kB / 382.7 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.006968, allocations: 3.984 kB / 382.7 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.206e-06/0.006971, allocations: 4 kB / 382.7 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.006975, allocations: 4 kB / 382.7 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.361e-06/0.006981, allocations: 0 / 382.7 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.006982, allocations: 4 kB / 382.7 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.006984, allocations: 0 / 382.7 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001276/0.007111, allocations: 135.7 kB / 382.8 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.233e-06/0.007119, allocations: 4 kB / 382.8 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.007134, allocations: 0 / 382.8 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.408e-06/0.007144, allocations: 3.938 kB / 382.8 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.322e-05/0.007157, allocations: 0 / 382.8 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.007161, allocations: 0 / 382.8 MB, free: 13.64 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.811e-05/0.007199, allocations: 123.2 kB / 382.9 MB, free: 13.52 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007199, allocations: 0 / 382.9 MB, free: 13.52 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000341/0.00754, allocations: 59.89 kB / 383 MB, free: 13.46 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.0004856/0.008025, allocations: 198.4 kB / 383.2 MB, free: 13.27 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001212/0.008147, allocations: 122.5 kB / 383.3 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.008148, allocations: 0 / 383.3 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.422e-05/0.008193, allocations: 96.73 kB / 383.4 MB, free: 13 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001513/0.008344, allocations: 0 / 383.4 MB, free: 13 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00022/0.008564, allocations: 117.8 kB / 383.5 MB, free: 12.85 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.7e-05/0.008601, allocations: 51.36 kB / 383.6 MB, free: 12.78 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.955e-06/0.008609, allocations: 4 kB / 383.6 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.448e-05/0.008623, allocations: 8.5 kB / 383.6 MB, free: 12.77 MB / 362.7 MB Notification: Performance of SimCode: time 8.32e-07/0.008624, allocations: 0 / 383.6 MB, free: 12.77 MB / 362.7 MB Notification: Performance of Templates: time 0.004967/0.01359, allocations: 1.831 MB / 385.4 MB, free: 10.93 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.9936329191550612]