Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0007325/0.0007325, allocations: 80.53 kB / 19.92 MB, free: 4.637 MB / 18.57 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.0007719/0.0007719, allocations: 169.9 kB / 23.21 MB, free: 1.355 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9219/0.9219, allocations: 158.6 MB / 185 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1473/0.1473, allocations: 32.37 MB / 269.6 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(ModelicaTest.Math.TestBooleanFunctions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestBooleanFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestBooleanFunctions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestBooleanFunctions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.685e-06/2.685e-06, allocations: 0 / 406.8 MB, free: 2.27 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.705e-05/2.974e-05, allocations: 6.078 kB / 406.8 MB, free: 2.266 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001661/0.001691, allocations: 0.4988 MB / 407.3 MB, free: 1.77 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006348/0.002326, allocations: 349.5 kB / 407.7 MB, free: 1.426 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.576e-05/0.002341, allocations: 0 / 407.7 MB, free: 1.426 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.535e-05/0.002357, allocations: 0 / 407.7 MB, free: 1.426 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 6.252e-06/0.002363, allocations: 0 / 407.7 MB, free: 1.426 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007714/0.003134, allocations: 211.3 kB / 407.9 MB, free: 1.219 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 5.227e-05/0.003187, allocations: 4 kB / 407.9 MB, free: 1.215 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.868e-05/0.003235, allocations: 4 kB / 407.9 MB, free: 1.211 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.954e-05/0.003265, allocations: 0 / 407.9 MB, free: 1.211 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.438e-05/0.003289, allocations: 7.938 kB / 407.9 MB, free: 1.203 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.857e-06/0.003298, allocations: 0 / 407.9 MB, free: 1.203 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002829/0.003581, allocations: 203.6 kB / 408.1 MB, free: 1.004 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.013e-05/0.003591, allocations: 3.938 kB / 408.1 MB, free: 1 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.01e-05/0.003611, allocations: 0 / 408.1 MB, free: 1 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002207/0.003832, allocations: 175.7 kB / 408.3 MB, free: 0.8281 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.003836, allocations: 4 kB / 408.3 MB, free: 0.8242 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.003838, allocations: 0 / 408.3 MB, free: 0.8242 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.003843, allocations: 0 / 408.3 MB, free: 0.8242 MB / 378.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.0002994/0.004142, allocations: 291.9 kB / 408.5 MB, free: 0.5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.004189, allocations: 12.03 kB / 408.6 MB, free: 500 kB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.41e-05/0.004213, allocations: 30.75 kB / 408.6 MB, free: 460 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.058e-05/0.004243, allocations: 4.891 kB / 408.6 MB, free: 456 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.279e-05/0.004296, allocations: 105.7 kB / 408.7 MB, free: 324 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.004306, allocations: 4.312 kB / 408.7 MB, free: 320 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.625e-06/0.004314, allocations: 4.375 kB / 408.7 MB, free: 316 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.97e-05/0.004404, allocations: 63.94 kB / 408.8 MB, free: 240 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.012e-06/0.00441, allocations: 192 / 408.8 MB, free: 240 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.714e-06/0.004417, allocations: 4.312 kB / 408.8 MB, free: 236 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.004424, allocations: 8.125 kB / 408.8 MB, free: 228 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.409e-05/0.004448, allocations: 25.7 kB / 408.8 MB, free: 196 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.821e-05/0.004546, allocations: 120.8 kB / 408.9 MB, free: 32 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.024e-05/0.004607, allocations: 48.27 kB / 409 MB, free: 15.96 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.702e-05/0.004624, allocations: 30.62 kB / 409 MB, free: 15.93 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.632e-06/0.00463, allocations: 4 kB / 409 MB, free: 15.92 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/0.004664, allocations: 56.27 kB / 409.1 MB, free: 15.85 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.743e-06/0.004666, allocations: 4 kB / 409.1 MB, free: 15.85 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001662/0.004832, allocations: 118.7 kB / 409.2 MB, free: 15.71 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.004868, allocations: 81.05 kB / 409.3 MB, free: 15.61 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.132e-05/0.0049, allocations: 93.86 kB / 409.3 MB, free: 15.51 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.158e-06/0.004909, allocations: 25.7 kB / 409.4 MB, free: 15.48 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.776e-05/0.004927, allocations: 80.14 kB / 409.4 MB, free: 15.4 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.636e-05/0.004943, allocations: 3.984 kB / 409.5 MB, free: 15.39 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.429e-05/0.004967, allocations: 17.72 kB / 409.5 MB, free: 15.37 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.703e-05/0.005044, allocations: 310.8 kB / 409.8 MB, free: 15.06 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.984e-05/0.005064, allocations: 29.64 kB / 409.8 MB, free: 15.02 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.557e-05/0.00508, allocations: 37.81 kB / 409.8 MB, free: 14.98 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.106e-05/0.005121, allocations: 60.27 kB / 409.9 MB, free: 14.91 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.005122, allocations: 0 / 409.9 MB, free: 14.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.344e-05/0.005186, allocations: 89.11 kB / 410 MB, free: 14.8 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.384e-05/0.00522, allocations: 37.69 kB / 410 MB, free: 14.76 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.005226, allocations: 0 / 410 MB, free: 14.76 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.005236, allocations: 0 / 410 MB, free: 14.76 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.22e-07/0.005237, allocations: 0 / 410 MB, free: 14.76 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.005243, allocations: 3.938 kB / 410 MB, free: 14.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.499e-05/0.005258, allocations: 0 / 410 MB, free: 14.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.005266, allocations: 8.094 kB / 410 MB, free: 14.75 MB / 394.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 6.606e-05/0.005332, allocations: 135.5 kB / 410.2 MB, free: 14.6 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.368e-06/0.005336, allocations: 0 / 410.2 MB, free: 14.6 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.12e-05/0.005348, allocations: 7 kB / 410.2 MB, free: 14.59 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.005349, allocations: 0 / 410.2 MB, free: 14.59 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.005355, allocations: 3.938 kB / 410.2 MB, free: 14.59 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.005359, allocations: 3.984 kB / 410.2 MB, free: 14.58 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.933e-05/0.005418, allocations: 116.8 kB / 410.3 MB, free: 14.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-07/0.005419, allocations: 3.938 kB / 410.3 MB, free: 14.42 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.61e-07/0.00542, allocations: 7.938 kB / 410.3 MB, free: 14.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-06/0.005421, allocations: 4 kB / 410.3 MB, free: 14.41 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.005427, allocations: 0 / 410.3 MB, free: 14.41 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.21e-07/0.005428, allocations: 0 / 410.3 MB, free: 14.41 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.00543, allocations: 3.938 kB / 410.3 MB, free: 14.41 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.164e-05/0.005511, allocations: 116.5 kB / 410.4 MB, free: 14.26 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.368e-06/0.005516, allocations: 0 / 410.4 MB, free: 14.26 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.149e-05/0.005527, allocations: 4 kB / 410.4 MB, free: 14.26 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.172e-06/0.005533, allocations: 0 / 410.4 MB, free: 14.26 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.428e-05/0.005548, allocations: 7.922 kB / 410.4 MB, free: 14.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.00555, allocations: 3.938 kB / 410.4 MB, free: 14.25 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.485e-05/0.005575, allocations: 79.31 kB / 410.5 MB, free: 14.17 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.005575, allocations: 0 / 410.5 MB, free: 14.17 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002304/0.005806, allocations: 51.88 kB / 410.6 MB, free: 14.12 MB / 394.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.0005227/0.006328, allocations: 0.7287 MB / 411.3 MB, free: 13.35 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.719e-05/0.006425, allocations: 110.8 kB / 411.4 MB, free: 13.22 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.006428, allocations: 4 kB / 411.4 MB, free: 13.21 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.754e-05/0.006456, allocations: 81.05 kB / 411.5 MB, free: 13.12 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000102/0.006558, allocations: 16.08 kB / 411.5 MB, free: 13.1 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002713/0.006829, allocations: 160 kB / 411.7 MB, free: 12.9 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.666e-05/0.006866, allocations: 55.34 kB / 411.7 MB, free: 12.82 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.699e-06/0.00687, allocations: 4 kB / 411.7 MB, free: 12.82 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.549e-05/0.006886, allocations: 8.5 kB / 411.7 MB, free: 12.81 MB / 394.7 MB Notification: Performance of SimCode: time 4.61e-07/0.006886, allocations: 0 / 411.7 MB, free: 12.81 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0154/0.02229, allocations: 3.006 MB / 414.7 MB, free: 9.781 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.422/6.445, allocations: 11 kB / 414.7 MB, free: 9.773 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Math_TestBooleanFunctions_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Math_TestBooleanFunctions.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestBooleanFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestBooleanFunctions/TestBooleanFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 8.490046022459865]