Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 214.6 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.51/1.51, allocations: 230.6 MB / 257.5 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2503/0.2503, allocations: 46.93 MB / 360.8 MB, free: 4.273 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions") translateModel(ModelicaTest.Math.TestBooleanFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002127/0.002127, allocations: 63.89 kB / 0.4966 GB, free: 7.438 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3851/0.3872, allocations: 66.04 MB / 0.5611 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.002078/0.3893, allocations: 495.5 kB / 0.5616 GB, free: 3.957 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001161/0.3905, allocations: 389.2 kB / 0.5619 GB, free: 3.578 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.965e-05/0.3905, allocations: 3.938 kB / 0.562 GB, free: 3.574 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.088e-05/0.3905, allocations: 0 / 0.562 GB, free: 3.574 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.628e-06/0.3905, allocations: 0 / 0.562 GB, free: 3.574 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.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.001138/0.3917, allocations: 207.5 kB / 0.5622 GB, free: 3.371 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 9.266e-05/0.3917, allocations: 8 kB / 0.5622 GB, free: 3.363 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.345e-05/0.3918, allocations: 0 / 0.5622 GB, free: 3.363 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.098e-05/0.3918, allocations: 0 / 0.5622 GB, free: 3.363 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.801e-05/0.3918, allocations: 0 / 0.5622 GB, free: 3.363 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.528e-06/0.3919, allocations: 0 / 0.5622 GB, free: 3.363 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005478/0.3924, allocations: 247.5 kB / 0.5624 GB, free: 3.121 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.123e-05/0.3924, allocations: 4 kB / 0.5624 GB, free: 3.117 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.489e-05/0.3925, allocations: 4 kB / 0.5624 GB, free: 3.113 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003587/0.3928, allocations: 158 kB / 0.5626 GB, free: 2.965 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.3928, allocations: 0 / 0.5626 GB, free: 2.965 MB / 398.1 MB Notification: Performance of FrontEnd: time 5.54e-06/0.3928, allocations: 3.984 kB / 0.5626 GB, free: 2.961 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.3928, allocations: 4 kB / 0.5626 GB, free: 2.957 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.0004939/0.3933, allocations: 291.9 kB / 0.5628 GB, free: 2.633 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.3934, allocations: 12.03 kB / 0.5629 GB, free: 2.621 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.216e-05/0.3934, allocations: 0.9375 kB / 0.5629 GB, free: 2.621 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.3935, allocations: 106.5 kB / 0.563 GB, free: 2.492 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.3935, allocations: 384 / 0.563 GB, free: 2.492 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.411e-05/0.3935, allocations: 384 / 0.563 GB, free: 2.492 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.3937, allocations: 34.25 kB / 0.563 GB, free: 2.453 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.3937, allocations: 4.125 kB / 0.563 GB, free: 2.449 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.3937, allocations: 3.938 kB / 0.563 GB, free: 2.445 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.3937, allocations: 0 / 0.563 GB, free: 2.445 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.406e-05/0.3937, allocations: 7.938 kB / 0.563 GB, free: 2.438 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001601/0.3939, allocations: 120.8 kB / 0.5631 GB, free: 2.277 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.182e-05/0.3939, allocations: 22.61 kB / 0.5631 GB, free: 2.246 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.756e-05/0.394, allocations: 4.859 kB / 0.5631 GB, free: 2.238 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.27e-06/0.394, allocations: 0 / 0.5631 GB, free: 2.238 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.264e-05/0.394, allocations: 56.27 kB / 0.5632 GB, free: 2.168 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.394, allocations: 0 / 0.5632 GB, free: 2.168 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002275/0.3943, allocations: 79.28 kB / 0.5633 GB, free: 2.078 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.388e-05/0.3943, allocations: 81.23 kB / 0.5633 GB, free: 1.98 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.657e-05/0.3944, allocations: 89.86 kB / 0.5634 GB, free: 1.883 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.3944, allocations: 29.7 kB / 0.5635 GB, free: 1.848 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.255e-05/0.3945, allocations: 80.14 kB / 0.5635 GB, free: 1.766 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.639e-05/0.3945, allocations: 3.938 kB / 0.5635 GB, free: 1.762 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.932e-05/0.3945, allocations: 9.719 kB / 0.5636 GB, free: 1.746 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.3947, allocations: 318.8 kB / 0.5639 GB, free: 1.426 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.069e-05/0.3947, allocations: 0 / 0.5639 GB, free: 1.426 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.047e-05/0.3947, allocations: 7.984 kB / 0.5639 GB, free: 1.418 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.632e-05/0.3948, allocations: 60.27 kB / 0.5639 GB, free: 1.344 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.3948, allocations: 0 / 0.5639 GB, free: 1.344 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.056e-05/0.3948, allocations: 63.34 kB / 0.564 GB, free: 1.27 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.666e-05/0.3949, allocations: 29.7 kB / 0.564 GB, free: 1.234 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.3949, allocations: 3.984 kB / 0.564 GB, free: 1.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/0.3949, allocations: 3.938 kB / 0.564 GB, free: 1.227 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.032e-06/0.3949, allocations: 0 / 0.564 GB, free: 1.227 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/0.3949, allocations: 4 kB / 0.564 GB, free: 1.223 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.893e-05/0.3949, allocations: 4.094 kB / 0.564 GB, free: 1.219 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.3949, allocations: 0 / 0.564 GB, free: 1.219 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.0001059/0.395, allocations: 143.5 kB / 0.5642 GB, free: 1.062 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.233e-06/0.395, allocations: 0 / 0.5642 GB, free: 1.062 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.397e-05/0.3951, allocations: 6.938 kB / 0.5642 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-06/0.3951, allocations: 0 / 0.5642 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3951, allocations: 0 / 0.5642 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-06/0.3951, allocations: 0 / 0.5642 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001147/0.3952, allocations: 120.8 kB / 0.5643 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.3952, allocations: 0 / 0.5643 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/0.3952, allocations: 4 kB / 0.5643 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.3952, allocations: 0 / 0.5643 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.3952, allocations: 7.938 kB / 0.5643 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.52e-07/0.3952, allocations: 0 / 0.5643 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3952, allocations: 3.938 kB / 0.5643 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001131/0.3953, allocations: 94.77 kB / 0.5644 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.668e-06/0.3953, allocations: 0 / 0.5644 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.3953, allocations: 11.97 kB / 0.5644 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.707e-06/0.3953, allocations: 0 / 0.5644 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.497e-05/0.3954, allocations: 3.984 kB / 0.5644 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.3954, allocations: 4 kB / 0.5644 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.646e-05/0.3954, allocations: 75.28 kB / 0.5645 GB, free: 0.668 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3954, allocations: 0 / 0.5645 GB, free: 0.668 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002918/0.3957, allocations: 55.8 kB / 0.5645 GB, free: 0.6133 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.0004657/0.3962, allocations: 199.9 kB / 0.5647 GB, free: 424 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001104/0.3963, allocations: 59.34 kB / 0.5648 GB, free: 352 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3963, allocations: 0 / 0.5648 GB, free: 352 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.771e-05/0.3963, allocations: 55.41 kB / 0.5648 GB, free: 284 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001207/0.3964, allocations: 0 / 0.5648 GB, free: 284 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002058/0.3966, allocations: 88.98 kB / 0.5649 GB, free: 168 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003464/0.397, allocations: 0.669 MB / 0.5656 GB, free: 15.47 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.343e-06/0.397, allocations: 4.125 kB / 0.5656 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.56e-05/0.397, allocations: 11.44 kB / 0.5656 GB, free: 15.45 MB / 414.1 MB Notification: Performance of SimCode: time 3.7e-07/0.397, allocations: 0 / 0.5656 GB, free: 15.45 MB / 414.1 MB Notification: Performance of Templates: time 0.004926/0.4019, allocations: 1.547 MB / 0.5671 GB, free: 13.91 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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.364856121130288]