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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001305/0.001305, allocations: 120.1 kB / 18.5 MB, free: 4.535 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.001338/0.001338, allocations: 222.3 kB / 21.46 MB, free: 1.582 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.428/1.428, allocations: 230.4 MB / 254.7 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2188/0.2188, allocations: 46.92 MB / 357.7 MB, free: 10.18 MB / 286.1 MB " [Timeout remaining time 180] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestBooleanFunctions,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestBooleanFunctions",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002169/0.002169, allocations: 72.17 kB / 0.4916 GB, free: 7.723 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1169, allocations: 66.04 MB / 0.5561 GB, free: 5.551 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001557/0.1185, allocations: 0.4947 MB / 0.5566 GB, free: 5.051 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008294/0.1193, allocations: 367.6 kB / 0.557 GB, free: 4.691 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.444e-05/0.1193, allocations: 0 / 0.557 GB, free: 4.691 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.105e-05/0.1193, allocations: 0 / 0.557 GB, free: 4.691 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 5.099e-06/0.1193, allocations: 0 / 0.557 GB, free: 4.691 MB / 414.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.0007383/0.1201, allocations: 203.5 kB / 0.5572 GB, free: 4.492 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 4.442e-05/0.1201, allocations: 0 / 0.5572 GB, free: 4.492 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.04e-05/0.1201, allocations: 7.984 kB / 0.5572 GB, free: 4.484 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.037e-05/0.1201, allocations: 0 / 0.5572 GB, free: 4.484 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.719e-05/0.1202, allocations: 0 / 0.5572 GB, free: 4.484 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.891e-06/0.1202, allocations: 0 / 0.5572 GB, free: 4.484 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003627/0.1205, allocations: 203.6 kB / 0.5574 GB, free: 4.285 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.544e-06/0.1205, allocations: 3.938 kB / 0.5574 GB, free: 4.281 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.991e-05/0.1206, allocations: 4 kB / 0.5574 GB, free: 4.277 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002276/0.1208, allocations: 151.6 kB / 0.5575 GB, free: 4.129 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1208, allocations: 4 kB / 0.5575 GB, free: 4.125 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1208, allocations: 0 / 0.5575 GB, free: 4.125 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.877e-06/0.1208, allocations: 0 / 0.5575 GB, free: 4.125 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.0003835/0.1212, allocations: 369 kB / 0.5579 GB, free: 3.707 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.1212, allocations: 8.031 kB / 0.5579 GB, free: 3.699 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.034e-05/0.1212, allocations: 192 / 0.5579 GB, free: 3.699 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.298e-05/0.1213, allocations: 30.75 kB / 0.5579 GB, free: 3.66 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.168e-05/0.1213, allocations: 8.922 kB / 0.5579 GB, free: 3.652 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.1214, allocations: 160.4 kB / 0.5581 GB, free: 3.457 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.1214, allocations: 4.375 kB / 0.5581 GB, free: 3.453 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.288e-06/0.1214, allocations: 384 / 0.5581 GB, free: 3.453 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.244e-05/0.1215, allocations: 41.95 kB / 0.5581 GB, free: 3.406 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.692e-06/0.1215, allocations: 0 / 0.5581 GB, free: 3.406 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.971e-06/0.1215, allocations: 0 / 0.5581 GB, free: 3.406 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.286e-06/0.1215, allocations: 0 / 0.5581 GB, free: 3.406 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.511e-05/0.1215, allocations: 0 / 0.5581 GB, free: 3.406 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001565/0.1217, allocations: 155.3 kB / 0.5583 GB, free: 3.207 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.063e-05/0.1217, allocations: 18.58 kB / 0.5583 GB, free: 3.18 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.619e-05/0.1218, allocations: 4.859 kB / 0.5583 GB, free: 3.172 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.05e-05/0.1218, allocations: 4.031 kB / 0.5583 GB, free: 3.168 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.998e-05/0.1218, allocations: 68.14 kB / 0.5584 GB, free: 3.086 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.1218, allocations: 0 / 0.5584 GB, free: 3.086 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.000162/0.122, allocations: 71.34 kB / 0.5584 GB, free: 3.004 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/0.122, allocations: 77.11 kB / 0.5585 GB, free: 2.91 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.214e-05/0.1221, allocations: 93.98 kB / 0.5586 GB, free: 2.809 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.1221, allocations: 25.7 kB / 0.5586 GB, free: 2.777 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.276e-05/0.1221, allocations: 84.12 kB / 0.5587 GB, free: 2.691 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.324e-05/0.1222, allocations: 0 / 0.5587 GB, free: 2.691 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.859e-05/0.1222, allocations: 13.72 kB / 0.5587 GB, free: 2.672 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.1223, allocations: 314.8 kB / 0.559 GB, free: 2.355 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.686e-06/0.1223, allocations: 0 / 0.559 GB, free: 2.355 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.077e-05/0.1224, allocations: 11.92 kB / 0.559 GB, free: 2.344 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.37e-05/0.1224, allocations: 60.33 kB / 0.5591 GB, free: 2.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1224, allocations: 4 kB / 0.5591 GB, free: 2.266 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.633e-05/0.1225, allocations: 55.41 kB / 0.5591 GB, free: 2.199 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.174e-05/0.1225, allocations: 37.64 kB / 0.5592 GB, free: 2.156 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.1225, allocations: 0 / 0.5592 GB, free: 2.156 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.1225, allocations: 3.984 kB / 0.5592 GB, free: 2.152 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.91e-07/0.1225, allocations: 0 / 0.5592 GB, free: 2.152 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.1225, allocations: 3.938 kB / 0.5592 GB, free: 2.148 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.393e-05/0.1225, allocations: 0 / 0.5592 GB, free: 2.148 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.1226, allocations: 4 kB / 0.5592 GB, free: 2.145 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 8.818e-05/0.1226, allocations: 139.6 kB / 0.5593 GB, free: 1.992 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.789e-06/0.1227, allocations: 3.938 kB / 0.5593 GB, free: 1.988 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.622e-06/0.1227, allocations: 3.125 kB / 0.5593 GB, free: 1.988 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.1227, allocations: 7.938 kB / 0.5593 GB, free: 1.98 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1227, allocations: 3.984 kB / 0.5593 GB, free: 1.977 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.953e-06/0.1227, allocations: 0 / 0.5593 GB, free: 1.977 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001078/0.1228, allocations: 149.7 kB / 0.5595 GB, free: 1.781 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1228, allocations: 0 / 0.5595 GB, free: 1.781 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.7e-07/0.1228, allocations: 0 / 0.5595 GB, free: 1.781 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.1228, allocations: 7.938 kB / 0.5595 GB, free: 1.773 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.1228, allocations: 4 kB / 0.5595 GB, free: 1.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.1228, allocations: 0 / 0.5595 GB, free: 1.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.1228, allocations: 0 / 0.5595 GB, free: 1.77 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000102/0.1229, allocations: 90.83 kB / 0.5596 GB, free: 1.656 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.757e-05/0.1229, allocations: 81.05 kB / 0.5596 GB, free: 1.559 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.1229, allocations: 3.938 kB / 0.5596 GB, free: 1.555 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.029e-05/0.123, allocations: 4.031 kB / 0.5597 GB, free: 1.551 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.276e-05/0.123, allocations: 0 / 0.5597 GB, free: 1.551 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-06/0.123, allocations: 8 kB / 0.5597 GB, free: 1.543 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.395e-05/0.123, allocations: 79.27 kB / 0.5597 GB, free: 1.465 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.123, allocations: 0 / 0.5597 GB, free: 1.465 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002742/0.1233, allocations: 47.88 kB / 0.5598 GB, free: 1.418 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.0006982/0.124, allocations: 0.7245 MB / 0.5605 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 9.228e-05/0.1241, allocations: 55.41 kB / 0.5605 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1241, allocations: 0 / 0.5605 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.027e-05/0.1241, allocations: 59.34 kB / 0.5606 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001109/0.1242, allocations: 1.719 kB / 0.5606 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003117/0.1245, allocations: 138.8 kB / 0.5607 GB, free: 356 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003037/0.1248, allocations: 0.669 MB / 0.5614 GB, free: 15.65 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.23e-06/0.1249, allocations: 0 / 0.5614 GB, free: 15.65 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.383e-05/0.1249, allocations: 15.38 kB / 0.5614 GB, free: 15.64 MB / 430.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1249, allocations: 0 / 0.5614 GB, free: 15.64 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01729/0.1422, allocations: 2.454 MB / 0.5638 GB, free: 13.26 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.802/7.944, allocations: 10.98 kB / 0.5638 GB, free: 13.25 MB / 430.1 MB " [Timeout remaining time 652] (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) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.759453881008085]