Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001352/0.001352, allocations: 110.4 kB / 21.17 MB, free: 0.7852 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.001459/0.001459, allocations: 217.4 kB / 24.47 MB, free: 4.359 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.506/1.506, allocations: 230.2 MB / 257.8 MB, free: 8.496 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2422/0.2422, allocations: 46.89 MB / 361.1 MB, free: 4.633 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_ModelicaTest.Math.TestBooleanFunctions") translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestBooleanFunctions") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002332/0.002332, allocations: 79.86 kB / 0.4967 GB, free: 7.828 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3723/0.3746, allocations: 65.98 MB / 0.5612 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001748/0.3763, allocations: 496.5 kB / 0.5616 GB, free: 4.535 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009529/0.3773, allocations: 385.1 kB / 0.562 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.608e-05/0.3773, allocations: 0 / 0.562 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.887e-05/0.3773, allocations: 3.938 kB / 0.562 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.232e-06/0.3773, allocations: 0 / 0.562 GB, free: 4.156 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.000833/0.3782, allocations: 195.5 kB / 0.5622 GB, free: 3.965 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.007e-05/0.3782, allocations: 4 kB / 0.5622 GB, free: 3.961 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.83e-05/0.3783, allocations: 0 / 0.5622 GB, free: 3.961 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.376e-05/0.3783, allocations: 8 kB / 0.5622 GB, free: 3.953 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.992e-05/0.3783, allocations: 0 / 0.5622 GB, free: 3.953 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.392e-06/0.3783, allocations: 0 / 0.5622 GB, free: 3.953 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003902/0.3787, allocations: 207.6 kB / 0.5624 GB, free: 3.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.993e-06/0.3787, allocations: 0 / 0.5624 GB, free: 3.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.683e-05/0.3787, allocations: 0 / 0.5624 GB, free: 3.75 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002448/0.379, allocations: 151.4 kB / 0.5626 GB, free: 3.605 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.379, allocations: 3.938 kB / 0.5626 GB, free: 3.602 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.379, allocations: 0 / 0.5626 GB, free: 3.602 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.379, allocations: 0 / 0.5626 GB, free: 3.602 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.0004173/0.3794, allocations: 369 kB / 0.5629 GB, free: 3.184 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.3794, allocations: 12.03 kB / 0.5629 GB, free: 3.172 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.982e-05/0.3795, allocations: 0.9375 kB / 0.5629 GB, free: 3.172 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.3796, allocations: 168.3 kB / 0.5631 GB, free: 2.969 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.3796, allocations: 384 / 0.5631 GB, free: 2.969 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.3796, allocations: 4.312 kB / 0.5631 GB, free: 2.965 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001099/0.3797, allocations: 38.25 kB / 0.5631 GB, free: 2.922 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.3797, allocations: 192 / 0.5631 GB, free: 2.922 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.759e-06/0.3797, allocations: 3.938 kB / 0.5631 GB, free: 2.918 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.3798, allocations: 0 / 0.5631 GB, free: 2.918 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.919e-05/0.3798, allocations: 8 kB / 0.5631 GB, free: 2.91 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001515/0.3799, allocations: 149.6 kB / 0.5633 GB, free: 2.715 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.877e-05/0.38, allocations: 18.52 kB / 0.5633 GB, free: 2.688 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.551e-05/0.38, allocations: 8.953 kB / 0.5633 GB, free: 2.676 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.636e-06/0.38, allocations: 0 / 0.5633 GB, free: 2.676 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.694e-05/0.3801, allocations: 60.25 kB / 0.5634 GB, free: 2.602 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.3801, allocations: 4 kB / 0.5634 GB, free: 2.598 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002048/0.3803, allocations: 67.34 kB / 0.5634 GB, free: 2.52 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.326e-05/0.3803, allocations: 77.11 kB / 0.5635 GB, free: 2.426 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.966e-05/0.3804, allocations: 93.8 kB / 0.5636 GB, free: 2.324 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.3804, allocations: 29.7 kB / 0.5636 GB, free: 2.289 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.076e-05/0.3804, allocations: 80.14 kB / 0.5637 GB, free: 2.207 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.477e-05/0.3805, allocations: 0 / 0.5637 GB, free: 2.207 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.997e-05/0.3805, allocations: 17.64 kB / 0.5637 GB, free: 2.184 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.3806, allocations: 319 kB / 0.564 GB, free: 1.863 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.006e-05/0.3807, allocations: 4 kB / 0.564 GB, free: 1.859 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.139e-06/0.3807, allocations: 0 / 0.564 GB, free: 1.859 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.969e-05/0.3807, allocations: 60.27 kB / 0.5641 GB, free: 1.785 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3807, allocations: 0 / 0.5641 GB, free: 1.785 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.835e-05/0.3808, allocations: 63.39 kB / 0.5641 GB, free: 1.711 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.276e-05/0.3808, allocations: 29.7 kB / 0.5642 GB, free: 1.676 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.3808, allocations: 4 kB / 0.5642 GB, free: 1.672 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.3809, allocations: 8.031 kB / 0.5642 GB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.002e-06/0.3809, allocations: 3.938 kB / 0.5642 GB, free: 1.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.3809, allocations: 0 / 0.5642 GB, free: 1.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.475e-05/0.3809, allocations: 4 kB / 0.5642 GB, free: 1.656 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.3809, allocations: 0 / 0.5642 GB, free: 1.656 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 9.297e-05/0.381, allocations: 135.5 kB / 0.5643 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.321e-05/0.381, allocations: 7.984 kB / 0.5643 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.852e-05/0.381, allocations: 7.062 kB / 0.5643 GB, free: 1.492 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.381, allocations: 0 / 0.5643 GB, free: 1.492 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.381, allocations: 4 kB / 0.5643 GB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.381, allocations: 0 / 0.5643 GB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000112/0.3811, allocations: 145.7 kB / 0.5645 GB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3811, allocations: 4 kB / 0.5645 GB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.91e-07/0.3811, allocations: 0 / 0.5645 GB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.3811, allocations: 0 / 0.5645 GB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.3811, allocations: 11.86 kB / 0.5645 GB, free: 1.281 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.3811, allocations: 0 / 0.5645 GB, free: 1.281 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.3811, allocations: 0 / 0.5645 GB, free: 1.281 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001122/0.3813, allocations: 90.84 kB / 0.5646 GB, free: 1.168 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.504e-05/0.3813, allocations: 85.03 kB / 0.5647 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/0.3813, allocations: 3.938 kB / 0.5647 GB, free: 1.062 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.064e-05/0.3813, allocations: 4 kB / 0.5647 GB, free: 1.059 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.54e-05/0.3813, allocations: 0 / 0.5647 GB, free: 1.059 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.826e-06/0.3813, allocations: 0 / 0.5647 GB, free: 1.059 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.149e-05/0.3814, allocations: 79.28 kB / 0.5647 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3814, allocations: 0 / 0.5647 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002914/0.3817, allocations: 47.88 kB / 0.5648 GB, free: 0.9336 MB / 398.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.0004289/0.3821, allocations: 198 kB / 0.565 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001131/0.3822, allocations: 63.41 kB / 0.565 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3822, allocations: 0 / 0.565 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.251e-05/0.3823, allocations: 59.39 kB / 0.5651 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001216/0.3824, allocations: 0 / 0.5651 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000226/0.3826, allocations: 97.06 kB / 0.5652 GB, free: 484 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003295/0.3829, allocations: 0.669 MB / 0.5658 GB, free: 15.78 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.24e-06/0.3829, allocations: 0 / 0.5658 GB, free: 15.78 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.566e-05/0.383, allocations: 11.44 kB / 0.5659 GB, free: 15.77 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.383, allocations: 0 / 0.5659 GB, free: 15.77 MB / 414.1 MB Notification: Performance of Templates: time 0.004652/0.3876, allocations: 1.519 MB / 0.5673 GB, free: 14.25 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestBooleanFunctions.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestBooleanFunctions.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestBooleanFunctions.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestBooleanFunctions.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestBooleanFunctions.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestBooleanFunctions -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestBooleanFunctions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestBooleanFunctions/TestBooleanFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.19102691905573]