Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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: "" <> buildModelFMU(ModelicaTest.Math.TestBooleanFunctions,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestBooleanFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestBooleanFunctions,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestBooleanFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007544/0.0007543, allocations: 94 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008275/0.0008275, allocations: 200.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.338/1.338, allocations: 227.7 MB / 246.8 MB, free: 9.691 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2172/0.2172, allocations: 46.19 MB / 345.2 MB, free: 11.18 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000248/0.000248, allocations: 11.98 kB / 419.6 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1192, allocations: 63.56 MB / 483.2 MB, free: 4.055 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.0006239/0.1198, allocations: 222.9 kB / 483.4 MB, free: 3.836 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008709/0.1207, allocations: 373.7 kB / 483.7 MB, free: 3.473 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.243e-05/0.1208, allocations: 0 / 483.7 MB, free: 3.473 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.416e-05/0.1208, allocations: 0 / 483.7 MB, free: 3.473 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.059e-06/0.1208, allocations: 4 kB / 483.8 MB, free: 3.469 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.0007254/0.1215, allocations: 163.2 kB / 483.9 MB, free: 3.312 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.076e-05/0.1216, allocations: 4 kB / 483.9 MB, free: 3.309 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.294e-05/0.1216, allocations: 0 / 483.9 MB, free: 3.309 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.526e-05/0.1216, allocations: 3.938 kB / 483.9 MB, free: 3.305 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.942e-05/0.1217, allocations: 4 kB / 483.9 MB, free: 3.301 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.25e-06/0.1217, allocations: 0 / 483.9 MB, free: 3.301 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003084/0.122, allocations: 167.7 kB / 484.1 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.665e-06/0.122, allocations: 0 / 484.1 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.043e-05/0.1221, allocations: 25.7 kB / 484.1 MB, free: 3.105 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002447/0.1223, allocations: 155.7 kB / 484.3 MB, free: 2.953 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.1223, allocations: 0 / 484.3 MB, free: 2.953 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1223, allocations: 0 / 484.3 MB, free: 2.953 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.1223, allocations: 0 / 484.3 MB, free: 2.953 MB / 350.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.0003833/0.1227, allocations: 365.2 kB / 484.6 MB, free: 2.539 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.1228, allocations: 12.88 kB / 484.6 MB, free: 2.527 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.965e-05/0.1228, allocations: 34.75 kB / 484.7 MB, free: 2.484 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.303e-05/0.1229, allocations: 4.938 kB / 484.7 MB, free: 2.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.867e-05/0.123, allocations: 160.4 kB / 484.8 MB, free: 2.285 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.123, allocations: 4.312 kB / 484.8 MB, free: 2.281 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.793e-06/0.123, allocations: 384 / 484.8 MB, free: 2.281 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.507e-05/0.1231, allocations: 34.25 kB / 484.9 MB, free: 2.242 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.1231, allocations: 3.938 kB / 484.9 MB, free: 2.238 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.525e-06/0.1231, allocations: 0 / 484.9 MB, free: 2.238 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.1231, allocations: 0 / 484.9 MB, free: 2.238 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.992e-05/0.1231, allocations: 7.984 kB / 484.9 MB, free: 2.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001257/0.1233, allocations: 153.6 kB / 485 MB, free: 2.031 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.759e-05/0.1233, allocations: 18.61 kB / 485 MB, free: 2.004 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.353e-05/0.1233, allocations: 8.859 kB / 485.1 MB, free: 1.992 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.266e-06/0.1234, allocations: 3.984 kB / 485.1 MB, free: 1.988 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.788e-05/0.1234, allocations: 56.27 kB / 485.1 MB, free: 1.918 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.1234, allocations: 0 / 485.1 MB, free: 1.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001599/0.1236, allocations: 63.44 kB / 485.2 MB, free: 1.844 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/0.1236, allocations: 85.14 kB / 485.3 MB, free: 1.742 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.521e-05/0.1237, allocations: 89.86 kB / 485.3 MB, free: 1.645 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.1237, allocations: 33.69 kB / 485.4 MB, free: 1.605 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.406e-05/0.1237, allocations: 80.14 kB / 485.5 MB, free: 1.523 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.734e-05/0.1238, allocations: 0 / 485.5 MB, free: 1.523 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.304e-05/0.1238, allocations: 9.719 kB / 485.5 MB, free: 1.508 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.1239, allocations: 314.8 kB / 485.8 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.216e-06/0.1239, allocations: 0 / 485.8 MB, free: 1.191 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.532e-06/0.1239, allocations: 8 kB / 485.8 MB, free: 1.184 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.437e-05/0.124, allocations: 64.27 kB / 485.8 MB, free: 1.105 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.124, allocations: 0 / 485.8 MB, free: 1.105 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.805e-05/0.1241, allocations: 63.33 kB / 485.9 MB, free: 1.031 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.16e-05/0.1241, allocations: 33.7 kB / 485.9 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.1241, allocations: 3.938 kB / 485.9 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.1241, allocations: 0 / 485.9 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.32e-07/0.1241, allocations: 0 / 485.9 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.1241, allocations: 0 / 485.9 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.622e-05/0.1242, allocations: 4.094 kB / 485.9 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.012e-06/0.1242, allocations: 3.938 kB / 486 MB, free: 0.9805 MB / 350.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 7.3e-05/0.1243, allocations: 135.5 kB / 486.1 MB, free: 0.832 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.415e-06/0.1243, allocations: 3.984 kB / 486.1 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.174e-05/0.1243, allocations: 11.06 kB / 486.1 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.1243, allocations: 4 kB / 486.1 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1243, allocations: 0 / 486.1 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.1243, allocations: 0 / 486.1 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.515e-05/0.1244, allocations: 141.7 kB / 486.2 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1244, allocations: 4 kB / 486.2 MB, free: 0.625 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.82e-07/0.1244, allocations: 0 / 486.2 MB, free: 0.625 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1244, allocations: 0 / 486.2 MB, free: 0.625 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.1244, allocations: 15.91 kB / 486.3 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1244, allocations: 0 / 486.3 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1244, allocations: 0 / 486.3 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.508e-05/0.1245, allocations: 86.84 kB / 486.3 MB, free: 0.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.939e-05/0.1246, allocations: 85 kB / 486.4 MB, free: 408 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.1246, allocations: 7.969 kB / 486.4 MB, free: 400 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.073e-05/0.1246, allocations: 7.938 kB / 486.4 MB, free: 392 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.426e-05/0.1247, allocations: 3.938 kB / 486.4 MB, free: 388 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.1247, allocations: 4 kB / 486.5 MB, free: 384 kB / 350.1 MB Notification: Performance of sorting global known variables: time 2.634e-05/0.1247, allocations: 75.28 kB / 486.5 MB, free: 308 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1247, allocations: 0 / 486.5 MB, free: 308 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003012/0.125, allocations: 55.98 kB / 486.6 MB, free: 252 kB / 350.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.0006294/0.1256, allocations: 0.7104 MB / 487.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 7.851e-05/0.1257, allocations: 59.41 kB / 487.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1257, allocations: 0 / 487.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.153e-05/0.1258, allocations: 63.33 kB / 487.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000131/0.1259, allocations: 8.094 kB / 487.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003123/0.1262, allocations: 128.4 kB / 487.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002305/0.1265, allocations: 0.6692 MB / 488.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.551e-06/0.1265, allocations: 0 / 488.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.528e-05/0.1265, allocations: 11.44 kB / 488.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1265, allocations: 0 / 488.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01269/0.1392, allocations: 2.247 MB / 490.5 MB, free: 12.34 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001904/0.1394, allocations: 237.5 kB / 490.7 MB, free: 12.08 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.736/1.876, allocations: 3.938 kB / 490.7 MB, free: 12.07 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Math_TestBooleanFunctions_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Math_TestBooleanFunctions.fmu > ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestBooleanFunctions/TestBooleanFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches