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.001596/0.001596, allocations: 111.1 kB / 20.44 MB, free: 1.352 MB / 14.72 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.001535/0.001535, allocations: 216.4 kB / 23.73 MB, free: 4.531 MB / 14.72 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.572/1.572, allocations: 230.5 MB / 257.4 MB, free: 7.77 MB / 206.1 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.2815/0.2815, allocations: 46.95 MB / 360.8 MB, free: 3.945 MB / 286.1 MB " [Timeout remaining time 179] 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 0.002492/0.002492, allocations: 75.88 kB / 0.4966 GB, free: 7.082 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3755/0.378, allocations: 66.09 MB / 0.5612 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.002067/0.3801, allocations: 0.4893 MB / 0.5616 GB, free: 3.492 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001114/0.3812, allocations: 377.2 kB / 0.562 GB, free: 3.125 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.071e-05/0.3812, allocations: 0 / 0.562 GB, free: 3.125 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.106e-05/0.3813, allocations: 0 / 0.562 GB, free: 3.125 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.763e-06/0.3813, allocations: 0 / 0.562 GB, free: 3.125 MB / 398.1 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.0009727/0.3822, allocations: 203.5 kB / 0.5622 GB, free: 2.926 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.945e-05/0.3823, allocations: 8 kB / 0.5622 GB, free: 2.918 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.249e-05/0.3823, allocations: 0 / 0.5622 GB, free: 2.918 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.364e-05/0.3823, allocations: 0 / 0.5622 GB, free: 2.918 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.332e-05/0.3824, allocations: 3.984 kB / 0.5622 GB, free: 2.914 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.265e-06/0.3824, allocations: 3.938 kB / 0.5622 GB, free: 2.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000415/0.3828, allocations: 227.6 kB / 0.5624 GB, free: 2.688 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.967e-06/0.3828, allocations: 0 / 0.5624 GB, free: 2.688 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.119e-05/0.3828, allocations: 0 / 0.5624 GB, free: 2.688 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002699/0.3831, allocations: 150.1 kB / 0.5626 GB, free: 2.547 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.3831, allocations: 0 / 0.5626 GB, free: 2.547 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3831, allocations: 0 / 0.5626 GB, free: 2.547 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.3831, allocations: 0 / 0.5626 GB, free: 2.547 MB / 398.1 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.0004413/0.3835, allocations: 295.9 kB / 0.5628 GB, free: 2.219 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.509e-05/0.3836, allocations: 11.97 kB / 0.5629 GB, free: 2.207 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.955e-05/0.3836, allocations: 0.9375 kB / 0.5629 GB, free: 2.207 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.3838, allocations: 110.5 kB / 0.563 GB, free: 2.074 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/0.3838, allocations: 4.375 kB / 0.563 GB, free: 2.07 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.005e-05/0.3838, allocations: 384 / 0.563 GB, free: 2.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.3839, allocations: 55.97 kB / 0.563 GB, free: 2.004 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.3839, allocations: 192 / 0.563 GB, free: 2.004 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.384, allocations: 7.875 kB / 0.563 GB, free: 1.996 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.384, allocations: 0 / 0.563 GB, free: 1.996 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.255e-05/0.384, allocations: 29.69 kB / 0.5631 GB, free: 1.961 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001541/0.3842, allocations: 109.3 kB / 0.5632 GB, free: 1.824 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.02e-05/0.3842, allocations: 44.31 kB / 0.5632 GB, free: 1.766 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.732e-05/0.3843, allocations: 34.56 kB / 0.5632 GB, free: 1.723 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.37e-06/0.3843, allocations: 4 kB / 0.5632 GB, free: 1.719 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.359e-05/0.3843, allocations: 60.27 kB / 0.5633 GB, free: 1.645 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.3843, allocations: 0 / 0.5633 GB, free: 1.645 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002636/0.3846, allocations: 126.7 kB / 0.5634 GB, free: 1.496 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.795e-05/0.3847, allocations: 77.11 kB / 0.5635 GB, free: 1.402 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.775e-05/0.3847, allocations: 93.8 kB / 0.5636 GB, free: 1.301 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.3848, allocations: 25.7 kB / 0.5636 GB, free: 1.27 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.001e-05/0.3848, allocations: 80.14 kB / 0.5637 GB, free: 1.188 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.968e-05/0.3848, allocations: 4 kB / 0.5637 GB, free: 1.184 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.088e-05/0.3849, allocations: 17.7 kB / 0.5637 GB, free: 1.16 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.385, allocations: 315 kB / 0.564 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.53e-05/0.3851, allocations: 25.7 kB / 0.564 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.458e-05/0.3851, allocations: 29.7 kB / 0.5641 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.129e-05/0.3852, allocations: 64.27 kB / 0.5641 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3852, allocations: 0 / 0.5641 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.521e-05/0.3853, allocations: 89.09 kB / 0.5642 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.877e-05/0.3853, allocations: 29.7 kB / 0.5642 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.84e-06/0.3853, allocations: 0 / 0.5642 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.3853, allocations: 0 / 0.5642 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.627e-06/0.3853, allocations: 7.969 kB / 0.5642 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.3853, allocations: 4 kB / 0.5642 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.909e-05/0.3853, allocations: 4 kB / 0.5642 GB, free: 0.543 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.806e-06/0.3854, allocations: 0 / 0.5642 GB, free: 0.543 MB / 398.1 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.0001098/0.3855, allocations: 143.5 kB / 0.5644 GB, free: 396 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.22e-05/0.3855, allocations: 4 kB / 0.5644 GB, free: 392 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.333e-05/0.3855, allocations: 3 kB / 0.5644 GB, free: 388 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/0.3855, allocations: 7.922 kB / 0.5644 GB, free: 380 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3855, allocations: 0 / 0.5644 GB, free: 380 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.3855, allocations: 0 / 0.5644 GB, free: 380 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.24e-05/0.3856, allocations: 97.33 kB / 0.5645 GB, free: 252 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.3856, allocations: 4 kB / 0.5645 GB, free: 248 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.41e-07/0.3856, allocations: 0 / 0.5645 GB, free: 248 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.3856, allocations: 3.984 kB / 0.5645 GB, free: 244 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.3856, allocations: 0 / 0.5645 GB, free: 244 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.3856, allocations: 0 / 0.5645 GB, free: 244 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.3856, allocations: 3.938 kB / 0.5645 GB, free: 240 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001182/0.3857, allocations: 120.5 kB / 0.5646 GB, free: 88 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.629e-06/0.3857, allocations: 7.938 kB / 0.5646 GB, free: 80 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.3857, allocations: 0 / 0.5646 GB, free: 80 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.306e-06/0.3858, allocations: 0 / 0.5646 GB, free: 80 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.265e-05/0.3858, allocations: 7.969 kB / 0.5646 GB, free: 72 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.926e-06/0.3858, allocations: 8 kB / 0.5646 GB, free: 64 kB / 398.1 MB Notification: Performance of sorting global known variables: time 5.109e-05/0.3858, allocations: 75.28 kB / 0.5647 GB, free: 15.99 MB / 414.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3858, allocations: 0 / 0.5647 GB, free: 15.99 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002864/0.3861, allocations: 55.86 kB / 0.5648 GB, free: 15.93 MB / 414.1 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.0004435/0.3866, allocations: 178.4 kB / 0.5649 GB, free: 15.75 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001396/0.3867, allocations: 114.8 kB / 0.565 GB, free: 15.62 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3867, allocations: 4.062 kB / 0.565 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.786e-05/0.3868, allocations: 81.11 kB / 0.5651 GB, free: 15.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001326/0.3869, allocations: 9.484 kB / 0.5651 GB, free: 15.51 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000236/0.3871, allocations: 118.6 kB / 0.5652 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.709e-05/0.3872, allocations: 51.36 kB / 0.5653 GB, free: 15.29 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.296e-06/0.3872, allocations: 4 kB / 0.5653 GB, free: 15.29 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.344e-05/0.3872, allocations: 7.438 kB / 0.5653 GB, free: 15.28 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3872, allocations: 0 / 0.5653 GB, free: 15.28 MB / 414.1 MB Notification: Performance of Templates: time 0.004634/0.3918, allocations: 1.512 MB / 0.5668 GB, free: 13.77 MB / 414.1 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: 5.333955999463797]