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.001277/0.001277, allocations: 121 kB / 18.5 MB, free: 4.562 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.001342/0.001342, allocations: 213.5 kB / 21.45 MB, free: 1.617 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.397/1.397, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.2275/0.2275, allocations: 46.92 MB / 357.8 MB, free: 10.29 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+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: "" <> buildModelFMU(ModelicaTest.Math.TestBooleanFunctions,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestBooleanFunctions",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestBooleanFunctions,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestBooleanFunctions",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 63.91 kB / 0.4916 GB, free: 7.957 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1145, allocations: 65.98 MB / 0.556 GB, free: 5.844 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001844/0.1163, allocations: 0.495 MB / 0.5565 GB, free: 5.348 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009671/0.1173, allocations: 367.6 kB / 0.5569 GB, free: 4.988 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.547e-05/0.1173, allocations: 0 / 0.5569 GB, free: 4.988 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.352e-05/0.1173, allocations: 0 / 0.5569 GB, free: 4.988 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 5.61e-06/0.1173, allocations: 0 / 0.5569 GB, free: 4.988 MB / 414.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.000918/0.1183, allocations: 195.6 kB / 0.5571 GB, free: 4.797 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 4.983e-05/0.1183, allocations: 4 kB / 0.5571 GB, free: 4.793 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.121e-05/0.1183, allocations: 3.938 kB / 0.5571 GB, free: 4.789 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.13e-05/0.1183, allocations: 4 kB / 0.5571 GB, free: 4.785 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.754e-05/0.1184, allocations: 0 / 0.5571 GB, free: 4.785 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.992e-06/0.1184, allocations: 0 / 0.5571 GB, free: 4.785 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003917/0.1188, allocations: 215.6 kB / 0.5573 GB, free: 4.574 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.873e-06/0.1188, allocations: 4 kB / 0.5573 GB, free: 4.57 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.667e-05/0.1188, allocations: 3.938 kB / 0.5573 GB, free: 4.566 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002467/0.119, allocations: 147.6 kB / 0.5574 GB, free: 4.422 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.119, allocations: 3.984 kB / 0.5574 GB, free: 4.418 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.119, allocations: 0 / 0.5574 GB, free: 4.418 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.747e-06/0.119, allocations: 7.938 kB / 0.5574 GB, free: 4.41 MB / 414.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.0004086/0.1195, allocations: 369 kB / 0.5578 GB, free: 3.992 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.1195, allocations: 12.03 kB / 0.5578 GB, free: 3.98 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.445e-05/0.1195, allocations: 4.172 kB / 0.5578 GB, free: 3.977 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.189e-05/0.1195, allocations: 34.69 kB / 0.5578 GB, free: 3.934 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.5e-05/0.1196, allocations: 0.9375 kB / 0.5578 GB, free: 3.934 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.1197, allocations: 160.4 kB / 0.558 GB, free: 3.738 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.1197, allocations: 384 / 0.558 GB, free: 3.738 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.087e-05/0.1197, allocations: 384 / 0.558 GB, free: 3.738 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.419e-05/0.1198, allocations: 38.02 kB / 0.558 GB, free: 3.695 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.1198, allocations: 4 kB / 0.558 GB, free: 3.691 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-06/0.1198, allocations: 3.984 kB / 0.558 GB, free: 3.688 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.1198, allocations: 0 / 0.558 GB, free: 3.688 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.142e-05/0.1198, allocations: 4 kB / 0.558 GB, free: 3.684 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001552/0.12, allocations: 147.3 kB / 0.5582 GB, free: 3.492 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.259e-05/0.1201, allocations: 22.5 kB / 0.5582 GB, free: 3.461 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.653e-05/0.1201, allocations: 8.953 kB / 0.5582 GB, free: 3.449 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.447e-06/0.1201, allocations: 3.938 kB / 0.5582 GB, free: 3.445 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.621e-05/0.1201, allocations: 64.2 kB / 0.5583 GB, free: 3.367 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 1.183e-06/0.1201, allocations: 0 / 0.5583 GB, free: 3.367 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001979/0.1203, allocations: 75.33 kB / 0.5583 GB, free: 3.281 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.332e-05/0.1204, allocations: 81.05 kB / 0.5584 GB, free: 3.184 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.715e-05/0.1205, allocations: 89.86 kB / 0.5585 GB, free: 3.086 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.1205, allocations: 29.7 kB / 0.5585 GB, free: 3.051 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.925e-05/0.1205, allocations: 80.14 kB / 0.5586 GB, free: 2.969 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.637e-05/0.1205, allocations: 4.125 kB / 0.5586 GB, free: 2.965 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.94e-05/0.1206, allocations: 13.7 kB / 0.5586 GB, free: 2.945 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.1207, allocations: 314.8 kB / 0.5589 GB, free: 2.629 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.457e-06/0.1207, allocations: 0 / 0.5589 GB, free: 2.629 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.691e-06/0.1207, allocations: 0 / 0.5589 GB, free: 2.629 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.681e-05/0.1208, allocations: 64.27 kB / 0.559 GB, free: 2.551 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1208, allocations: 0 / 0.559 GB, free: 2.551 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.293e-05/0.1209, allocations: 67.48 kB / 0.5591 GB, free: 2.473 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.743e-05/0.1209, allocations: 37.64 kB / 0.5591 GB, free: 2.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.1209, allocations: 3.938 kB / 0.5591 GB, free: 2.426 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.1209, allocations: 0 / 0.5591 GB, free: 2.426 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.42e-07/0.1209, allocations: 0 / 0.5591 GB, free: 2.426 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.1209, allocations: 0 / 0.5591 GB, free: 2.426 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.59e-05/0.1209, allocations: 4 kB / 0.5591 GB, free: 2.422 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-06/0.1209, allocations: 0 / 0.5591 GB, free: 2.422 MB / 414.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.77e-05/0.121, allocations: 137.7 kB / 0.5592 GB, free: 2.273 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.241e-05/0.1211, allocations: 7.938 kB / 0.5592 GB, free: 2.266 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.999e-06/0.1211, allocations: 15.05 kB / 0.5593 GB, free: 2.254 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.1211, allocations: 0 / 0.5593 GB, free: 2.254 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.1211, allocations: 0 / 0.5593 GB, free: 2.254 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.1211, allocations: 0 / 0.5593 GB, free: 2.254 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001008/0.1212, allocations: 141.7 kB / 0.5594 GB, free: 2.066 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1212, allocations: 4 kB / 0.5594 GB, free: 2.062 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.82e-07/0.1212, allocations: 0 / 0.5594 GB, free: 2.062 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.1212, allocations: 3.938 kB / 0.5594 GB, free: 2.059 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.1212, allocations: 0 / 0.5594 GB, free: 2.059 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.1212, allocations: 3.984 kB / 0.5594 GB, free: 2.055 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1212, allocations: 4 kB / 0.5594 GB, free: 2.051 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.895e-05/0.1213, allocations: 94.72 kB / 0.5595 GB, free: 1.934 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.59e-05/0.1213, allocations: 77.11 kB / 0.5596 GB, free: 1.84 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.1213, allocations: 7.922 kB / 0.5596 GB, free: 1.832 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.16e-05/0.1214, allocations: 4 kB / 0.5596 GB, free: 1.828 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.358e-05/0.1214, allocations: 0 / 0.5596 GB, free: 1.828 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/0.1214, allocations: 0 / 0.5596 GB, free: 1.828 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.484e-05/0.1214, allocations: 79.31 kB / 0.5597 GB, free: 1.75 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1214, allocations: 0 / 0.5597 GB, free: 1.75 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002787/0.1217, allocations: 51.88 kB / 0.5597 GB, free: 1.699 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.0006795/0.1224, allocations: 0.7195 MB / 0.5604 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 9.824e-05/0.1225, allocations: 63.34 kB / 0.5605 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.1225, allocations: 0 / 0.5605 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.879e-05/0.1225, allocations: 51.41 kB / 0.5605 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001258/0.1226, allocations: 7.984 kB / 0.5605 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003205/0.1229, allocations: 126.7 kB / 0.5606 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002956/0.1232, allocations: 0.6768 MB / 0.5613 GB, free: 15.94 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.821e-06/0.1232, allocations: 7.875 kB / 0.5613 GB, free: 15.93 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.401e-05/0.1233, allocations: 11.56 kB / 0.5613 GB, free: 15.92 MB / 430.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1233, allocations: 0 / 0.5613 GB, free: 15.92 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01674/0.14, allocations: 2.486 MB / 0.5638 GB, free: 13.53 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.9/8.04, allocations: 4.062 kB / 0.5638 GB, free: 13.52 MB / 430.1 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Math_TestBooleanFunctions_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Math_TestBooleanFunctions.fmu > ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Math.TestBooleanFunctions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestBooleanFunctions/TestBooleanFunctions.csv","/var/lib/jenkins1/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: 10.830784688994754]