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.001776/0.001776, allocations: 96.25 kB / 20.96 MB, free: 3.465 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.002317/0.002317, allocations: 156.9 kB / 24.27 MB, free: 168 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.493/1.493, allocations: 177 MB / 204.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] 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.3583/0.3583, allocations: 34.25 MB / 295.2 MB, free: 0.6445 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.763e-06/1.763e-06, allocations: 0 / 377.2 MB, free: 2.961 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.342e-05/3.519e-05, allocations: 7.797 kB / 377.2 MB, free: 2.953 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001668/0.001703, allocations: 497.1 kB / 377.7 MB, free: 2.465 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001008/0.002711, allocations: 379 kB / 378 MB, free: 2.094 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.377e-05/0.002725, allocations: 0 / 378 MB, free: 2.094 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.209e-05/0.002737, allocations: 0 / 378 MB, free: 2.094 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 9.668e-06/0.002747, allocations: 0 / 378 MB, free: 2.094 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.001003/0.00375, allocations: 227.2 kB / 378.3 MB, free: 1.871 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.158e-05/0.003791, allocations: 0 / 378.3 MB, free: 1.871 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.222e-05/0.003833, allocations: 4 kB / 378.3 MB, free: 1.867 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.223e-05/0.003856, allocations: 0 / 378.3 MB, free: 1.867 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.685e-05/0.003872, allocations: 0 / 378.3 MB, free: 1.867 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.773e-06/0.003879, allocations: 0 / 378.3 MB, free: 1.867 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004807/0.00436, allocations: 219.5 kB / 378.5 MB, free: 1.652 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.08e-05/0.004371, allocations: 3.984 kB / 378.5 MB, free: 1.648 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.488e-05/0.004396, allocations: 4 kB / 378.5 MB, free: 1.645 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003351/0.004731, allocations: 175.5 kB / 378.7 MB, free: 1.473 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.004733, allocations: 4 kB / 378.7 MB, free: 1.469 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.246e-06/0.004737, allocations: 4 kB / 378.7 MB, free: 1.465 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.00474, allocations: 0 / 378.7 MB, free: 1.465 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.0004372/0.005178, allocations: 291.9 kB / 378.9 MB, free: 1.141 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.005219, allocations: 12.03 kB / 379 MB, free: 1.129 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.813e-05/0.005267, allocations: 4.922 kB / 379 MB, free: 1.125 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.00537, allocations: 101.8 kB / 379.1 MB, free: 1 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.005384, allocations: 4.375 kB / 379.1 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.564e-06/0.005392, allocations: 4.375 kB / 379.1 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001102/0.005502, allocations: 51.97 kB / 379.1 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.005509, allocations: 8.125 kB / 379.1 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-06/0.005517, allocations: 4.375 kB / 379.1 MB, free: 0.918 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.005522, allocations: 384 / 379.1 MB, free: 0.918 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.934e-05/0.005561, allocations: 29.64 kB / 379.2 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001512/0.005713, allocations: 101.3 kB / 379.3 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.456e-05/0.005787, allocations: 44.28 kB / 379.3 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.837e-05/0.005826, allocations: 34.66 kB / 379.3 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.346e-06/0.005834, allocations: 0 / 379.3 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.037e-05/0.005894, allocations: 56.27 kB / 379.4 MB, free: 0.582 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 8.41e-07/0.005895, allocations: 0 / 379.4 MB, free: 0.582 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002403/0.006135, allocations: 126.8 kB / 379.5 MB, free: 444 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.51e-05/0.006211, allocations: 81.11 kB / 379.6 MB, free: 344 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.044e-05/0.006281, allocations: 89.86 kB / 379.7 MB, free: 244 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.525e-05/0.006306, allocations: 25.7 kB / 379.7 MB, free: 212 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.269e-05/0.006359, allocations: 80.14 kB / 379.8 MB, free: 128 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.965e-05/0.006379, allocations: 0 / 379.8 MB, free: 128 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.025e-05/0.006419, allocations: 13.72 kB / 379.8 MB, free: 108 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002501/0.006669, allocations: 322.8 kB / 380.1 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.05e-05/0.006699, allocations: 25.7 kB / 380.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.884e-05/0.006728, allocations: 29.7 kB / 380.2 MB, free: 15.71 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.791e-05/0.006816, allocations: 68.3 kB / 380.2 MB, free: 15.63 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.006818, allocations: 0 / 380.2 MB, free: 15.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001198/0.006938, allocations: 93.09 kB / 380.3 MB, free: 15.52 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.369e-05/0.006982, allocations: 29.7 kB / 380.4 MB, free: 15.49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.006987, allocations: 0 / 380.4 MB, free: 15.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.007005, allocations: 0 / 380.4 MB, free: 15.49 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.162e-06/0.007006, allocations: 0 / 380.4 MB, free: 15.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.007011, allocations: 3.938 kB / 380.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.396e-05/0.007035, allocations: 11.89 kB / 380.4 MB, free: 15.47 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.007043, allocations: 0 / 380.4 MB, free: 15.47 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 0.0001235/0.007166, allocations: 139.6 kB / 380.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.251e-05/0.007179, allocations: 3.984 kB / 380.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.297e-06/0.007188, allocations: 3 kB / 380.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.007189, allocations: 0 / 380.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.007193, allocations: 0 / 380.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.007195, allocations: 0 / 380.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000106/0.007301, allocations: 101.3 kB / 380.6 MB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.007303, allocations: 3.938 kB / 380.6 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.71e-07/0.007303, allocations: 0 / 380.6 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.007305, allocations: 0 / 380.6 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.007312, allocations: 0 / 380.6 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/0.007316, allocations: 8 kB / 380.6 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.007317, allocations: 0 / 380.6 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001779/0.007495, allocations: 124.5 kB / 380.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.165e-06/0.007503, allocations: 4 kB / 380.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.007521, allocations: 7.984 kB / 380.8 MB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.647e-05/0.007538, allocations: 4 kB / 380.8 MB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.616e-05/0.007554, allocations: 0 / 380.8 MB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.00756, allocations: 3.984 kB / 380.8 MB, free: 15 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.525e-05/0.007605, allocations: 75.28 kB / 380.8 MB, free: 14.93 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.007605, allocations: 0 / 380.8 MB, free: 14.93 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003299/0.007935, allocations: 55.91 kB / 380.9 MB, free: 14.88 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.0005407/0.008476, allocations: 209.3 kB / 381.1 MB, free: 14.67 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001782/0.008654, allocations: 118.7 kB / 381.2 MB, free: 14.53 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.008656, allocations: 0 / 381.2 MB, free: 14.53 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.479e-05/0.008731, allocations: 81.11 kB / 381.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001489/0.00888, allocations: 8 kB / 381.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002911/0.009171, allocations: 112.1 kB / 381.4 MB, free: 14.28 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.366e-05/0.009245, allocations: 51.36 kB / 381.5 MB, free: 14.21 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.722e-06/0.009251, allocations: 0 / 381.5 MB, free: 14.21 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.485e-05/0.009276, allocations: 12.5 kB / 381.5 MB, free: 14.2 MB / 362.7 MB Notification: Performance of SimCode: time 6.51e-07/0.009277, allocations: 0 / 381.5 MB, free: 14.2 MB / 362.7 MB Notification: Performance of Templates: time 0.005572/0.01485, allocations: 1.576 MB / 383.1 MB, free: 12.62 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.811404286068864]