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: 105.1 kB / 21.22 MB, free: 0.5117 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.001607/0.001607, allocations: 217.3 kB / 24.54 MB, free: 3.898 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.549/1.549, allocations: 230.3 MB / 258 MB, free: 8.195 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.2417/0.2417, allocations: 46.93 MB / 361.4 MB, free: 4.402 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-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.00245/0.00245, allocations: 83.84 kB / 0.4972 GB, free: 7.531 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4022/0.4047, allocations: 66.04 MB / 0.5616 GB, free: 4.543 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001778/0.4065, allocations: 496.9 kB / 0.5621 GB, free: 4.059 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0009282/0.4074, allocations: 389.2 kB / 0.5625 GB, free: 3.68 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 1.696e-05/0.4074, allocations: 0 / 0.5625 GB, free: 3.68 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 1.496e-05/0.4074, allocations: 0 / 0.5625 GB, free: 3.68 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 6.613e-06/0.4074, allocations: 0 / 0.5625 GB, free: 3.68 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.0008609/0.4083, allocations: 203.5 kB / 0.5627 GB, free: 3.48 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 5.541e-05/0.4084, allocations: 4 kB / 0.5627 GB, free: 3.477 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 4.074e-05/0.4084, allocations: 7.984 kB / 0.5627 GB, free: 3.469 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 1.361e-05/0.4084, allocations: 0 / 0.5627 GB, free: 3.469 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 1.806e-05/0.4084, allocations: 0 / 0.5627 GB, free: 3.469 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 6.042e-06/0.4084, allocations: 0 / 0.5627 GB, free: 3.469 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004168/0.4088, allocations: 235.5 kB / 0.5629 GB, free: 3.238 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 8.136e-06/0.4089, allocations: 0 / 0.5629 GB, free: 3.238 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 1.942e-05/0.4089, allocations: 0 / 0.5629 GB, free: 3.238 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002707/0.4091, allocations: 158.2 kB / 0.5631 GB, free: 3.09 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.4091, allocations: 0 / 0.5631 GB, free: 3.09 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.493e-06/0.4092, allocations: 0 / 0.5631 GB, free: 3.09 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 5.801e-06/0.4092, allocations: 3.938 kB / 0.5631 GB, free: 3.086 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.0003868/0.4095, allocations: 295.9 kB / 0.5634 GB, free: 2.758 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.4096, allocations: 8.031 kB / 0.5634 GB, free: 2.75 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.396e-05/0.4096, allocations: 4.875 kB / 0.5634 GB, free: 2.746 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 8.535e-05/0.4097, allocations: 110.5 kB / 0.5635 GB, free: 2.613 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.4097, allocations: 384 / 0.5635 GB, free: 2.613 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.905e-06/0.4097, allocations: 384 / 0.5635 GB, free: 2.613 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 8.251e-05/0.4098, allocations: 34.25 kB / 0.5635 GB, free: 2.574 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.4098, allocations: 4.188 kB / 0.5635 GB, free: 2.57 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.4098, allocations: 3.938 kB / 0.5635 GB, free: 2.566 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.4098, allocations: 0 / 0.5635 GB, free: 2.566 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 1.499e-05/0.4098, allocations: 0 / 0.5635 GB, free: 2.566 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001306/0.41, allocations: 120.8 kB / 0.5636 GB, free: 2.406 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 4.211e-05/0.41, allocations: 22.52 kB / 0.5636 GB, free: 2.375 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 1.416e-05/0.41, allocations: 4.859 kB / 0.5637 GB, free: 2.367 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 7.675e-06/0.41, allocations: 96 / 0.5637 GB, free: 2.367 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.973e-05/0.4101, allocations: 64.25 kB / 0.5637 GB, free: 2.289 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.4101, allocations: 0 / 0.5637 GB, free: 2.289 MB / 398.1 MB
Notification: Performance of matching and sorting (n=1): time 0.0001776/0.4103, allocations: 75.23 kB / 0.5638 GB, free: 2.203 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.844e-05/0.4103, allocations: 81.23 kB / 0.5639 GB, free: 2.105 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.173e-05/0.4104, allocations: 89.86 kB / 0.5639 GB, free: 2.008 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.4104, allocations: 29.64 kB / 0.564 GB, free: 1.973 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 3.564e-05/0.4104, allocations: 84.12 kB / 0.5641 GB, free: 1.887 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 1.546e-05/0.4104, allocations: 0 / 0.5641 GB, free: 1.887 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 2.85e-05/0.4105, allocations: 17.7 kB / 0.5641 GB, free: 1.863 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001278/0.4106, allocations: 310.8 kB / 0.5644 GB, free: 1.551 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.154e-05/0.4106, allocations: 4 kB / 0.5644 GB, free: 1.547 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 1.139e-05/0.4106, allocations: 8 kB / 0.5644 GB, free: 1.539 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 5.553e-05/0.4107, allocations: 56.27 kB / 0.5644 GB, free: 1.469 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.4107, allocations: 4 kB / 0.5644 GB, free: 1.465 MB / 398.1 MB
Notification: Performance of matching and sorting (n=1) (initialization): time 7.12e-05/0.4108, allocations: 63.33 kB / 0.5645 GB, free: 1.391 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 3.381e-05/0.4108, allocations: 33.7 kB / 0.5645 GB, free: 1.352 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.4108, allocations: 0 / 0.5645 GB, free: 1.352 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.4108, allocations: 3.938 kB / 0.5645 GB, free: 1.348 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.353e-06/0.4108, allocations: 0 / 0.5645 GB, free: 1.348 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/0.4108, allocations: 0 / 0.5645 GB, free: 1.348 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.661e-05/0.4108, allocations: 4.094 kB / 0.5645 GB, free: 1.344 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.4108, allocations: 4 kB / 0.5645 GB, free: 1.34 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 8.799e-05/0.4109, allocations: 135.5 kB / 0.5647 GB, free: 1.191 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.554e-06/0.4109, allocations: 0 / 0.5647 GB, free: 1.191 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.517e-05/0.4109, allocations: 10.92 kB / 0.5647 GB, free: 1.18 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.4109, allocations: 4 kB / 0.5647 GB, free: 1.176 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.411, allocations: 0 / 0.5647 GB, free: 1.176 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.411, allocations: 0 / 0.5647 GB, free: 1.176 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.128e-05/0.411, allocations: 112.8 kB / 0.5648 GB, free: 1.023 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.411, allocations: 3.938 kB / 0.5648 GB, free: 1.02 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-07/0.411, allocations: 4 kB / 0.5648 GB, free: 1.016 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.411, allocations: 4 kB / 0.5648 GB, free: 1.012 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.4111, allocations: 3.938 kB / 0.5648 GB, free: 1.008 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.4111, allocations: 3.984 kB / 0.5648 GB, free: 1.004 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.4111, allocations: 0 / 0.5648 GB, free: 1.004 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 9.956e-05/0.4112, allocations: 90.78 kB / 0.5649 GB, free: 0.8906 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 5.711e-06/0.4112, allocations: 3.984 kB / 0.5649 GB, free: 0.8867 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.4112, allocations: 11.95 kB / 0.5649 GB, free: 0.875 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.006e-05/0.4112, allocations: 4 kB / 0.5649 GB, free: 0.8711 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.087e-05/0.4112, allocations: 4 kB / 0.5649 GB, free: 0.8672 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-06/0.4112, allocations: 4 kB / 0.5649 GB, free: 0.8633 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 3.643e-05/0.4112, allocations: 79.22 kB / 0.565 GB, free: 0.7852 MB / 398.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.4112, allocations: 0 / 0.565 GB, free: 0.7852 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.0002652/0.4115, allocations: 47.88 kB / 0.565 GB, free: 0.7383 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.0004132/0.4119, allocations: 189.8 kB / 0.5652 GB, free: 0.5469 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001056/0.412, allocations: 55.41 kB / 0.5653 GB, free: 492 kB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.412, allocations: 0 / 0.5653 GB, free: 492 kB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 3.613e-05/0.4121, allocations: 59.39 kB / 0.5653 GB, free: 420 kB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000124/0.4122, allocations: 6.5 kB / 0.5653 GB, free: 416 kB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001858/0.4124, allocations: 84.94 kB / 0.5654 GB, free: 304 kB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002965/0.4127, allocations: 0.6729 MB / 0.5661 GB, free: 15.6 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 5.35e-06/0.4127, allocations: 4.125 kB / 0.5661 GB, free: 15.59 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.188e-05/0.4127, allocations: 7.438 kB / 0.5661 GB, free: 15.59 MB / 414.1 MB
Notification: Performance of SimCode: time 3.01e-07/0.4127, allocations: 0 / 0.5661 GB, free: 15.59 MB / 414.1 MB
Notification: Performance of Templates: time 0.004864/0.4176, allocations: 1.531 MB / 0.5676 GB, free: 14.05 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  -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/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-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.354422772303224]