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.001358/0.001358, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.001414/0.001414, allocations: 213.1 kB / 23.75 MB, free: 4.668 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.411/1.411, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.2242/0.2242, allocations: 46.94 MB / 360.9 MB, free: 4.348 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestBooleanFunctions,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestBooleanFunctions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002569/0.002569, allocations: 67.91 kB / 0.4961 GB, free: 7.926 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.3344, allocations: 66.04 MB / 0.5606 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.00159/0.336, allocations: 497.1 kB / 0.5611 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008619/0.3369, allocations: 381.3 kB / 0.5615 GB, free: 3.617 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.881e-05/0.3369, allocations: 0 / 0.5615 GB, free: 3.617 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.129e-05/0.3369, allocations: 0 / 0.5615 GB, free: 3.617 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.8e-06/0.3369, allocations: 0 / 0.5615 GB, free: 3.617 MB / 398.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.000854/0.3378, allocations: 207.5 kB / 0.5617 GB, free: 3.414 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.673e-05/0.3378, allocations: 3.938 kB / 0.5617 GB, free: 3.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.317e-05/0.3379, allocations: 3.984 kB / 0.5617 GB, free: 3.406 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.201e-05/0.3379, allocations: 4 kB / 0.5617 GB, free: 3.402 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.905e-05/0.3379, allocations: 7.938 kB / 0.5617 GB, free: 3.395 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.362e-06/0.3379, allocations: 0 / 0.5617 GB, free: 3.395 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004481/0.3384, allocations: 235.6 kB / 0.5619 GB, free: 3.164 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.953e-06/0.3384, allocations: 3.938 kB / 0.5619 GB, free: 3.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.087e-05/0.3384, allocations: 0 / 0.5619 GB, free: 3.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002595/0.3387, allocations: 161.5 kB / 0.5621 GB, free: 3.004 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3387, allocations: 0 / 0.5621 GB, free: 3.004 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3387, allocations: 0 / 0.5621 GB, free: 3.004 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.3387, allocations: 0 / 0.5621 GB, free: 3.004 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.0003535/0.339, allocations: 299.9 kB / 0.5624 GB, free: 2.672 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.3391, allocations: 12.03 kB / 0.5624 GB, free: 2.66 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.348e-05/0.3391, allocations: 30.75 kB / 0.5624 GB, free: 2.621 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.085e-05/0.3391, allocations: 4.875 kB / 0.5624 GB, free: 2.617 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.154e-05/0.3392, allocations: 106.5 kB / 0.5625 GB, free: 2.488 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.3392, allocations: 384 / 0.5625 GB, free: 2.488 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.003e-06/0.3392, allocations: 384 / 0.5625 GB, free: 2.488 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.254e-05/0.3393, allocations: 38.25 kB / 0.5625 GB, free: 2.445 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.3393, allocations: 3.938 kB / 0.5625 GB, free: 2.441 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.332e-06/0.3393, allocations: 0 / 0.5625 GB, free: 2.441 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.3393, allocations: 3.984 kB / 0.5626 GB, free: 2.438 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.415e-05/0.3394, allocations: 4 kB / 0.5626 GB, free: 2.434 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001314/0.3395, allocations: 116.8 kB / 0.5627 GB, free: 2.277 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.059e-05/0.3395, allocations: 18.52 kB / 0.5627 GB, free: 2.25 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.388e-05/0.3395, allocations: 4.859 kB / 0.5627 GB, free: 2.242 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.227e-05/0.3396, allocations: 8.078 kB / 0.5627 GB, free: 2.234 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.211e-05/0.3396, allocations: 60.27 kB / 0.5628 GB, free: 2.16 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.3396, allocations: 7.938 kB / 0.5628 GB, free: 2.152 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001578/0.3398, allocations: 67.3 kB / 0.5628 GB, free: 2.074 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.663e-05/0.3398, allocations: 81.05 kB / 0.5629 GB, free: 1.977 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.204e-05/0.3399, allocations: 89.86 kB / 0.563 GB, free: 1.879 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.3399, allocations: 29.69 kB / 0.563 GB, free: 1.844 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.849e-05/0.34, allocations: 80.14 kB / 0.5631 GB, free: 1.762 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.339e-05/0.34, allocations: 0 / 0.5631 GB, free: 1.762 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.806e-05/0.34, allocations: 17.72 kB / 0.5631 GB, free: 1.738 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001834/0.3402, allocations: 315 kB / 0.5634 GB, free: 1.422 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.237e-06/0.3402, allocations: 0 / 0.5634 GB, free: 1.422 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.963e-06/0.3402, allocations: 4 kB / 0.5634 GB, free: 1.418 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.327e-05/0.3403, allocations: 60.27 kB / 0.5635 GB, free: 1.344 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.3403, allocations: 4 kB / 0.5635 GB, free: 1.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.248e-05/0.3403, allocations: 63.39 kB / 0.5635 GB, free: 1.266 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.159e-05/0.3404, allocations: 33.7 kB / 0.5636 GB, free: 1.227 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.3404, allocations: 3.938 kB / 0.5636 GB, free: 1.223 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.3404, allocations: 11.97 kB / 0.5636 GB, free: 1.211 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.61e-07/0.3404, allocations: 0 / 0.5636 GB, free: 1.211 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.067e-06/0.3404, allocations: 0 / 0.5636 GB, free: 1.211 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.315e-05/0.3404, allocations: 0 / 0.5636 GB, free: 1.211 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.3404, allocations: 4 kB / 0.5636 GB, free: 1.207 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 9.428e-05/0.3405, allocations: 135.5 kB / 0.5637 GB, free: 1.059 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.053e-06/0.3405, allocations: 0 / 0.5637 GB, free: 1.059 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.17e-05/0.3405, allocations: 6.938 kB / 0.5637 GB, free: 1.051 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-06/0.3405, allocations: 4 kB / 0.5637 GB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.3405, allocations: 4 kB / 0.5637 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.724e-06/0.3405, allocations: 0 / 0.5637 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001029/0.3406, allocations: 116.8 kB / 0.5638 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3406, allocations: 0 / 0.5638 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.324e-06/0.3406, allocations: 3.984 kB / 0.5638 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.3406, allocations: 4 kB / 0.5639 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.3406, allocations: 3.938 kB / 0.5639 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.3407, allocations: 0 / 0.5639 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3407, allocations: 0 / 0.5639 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001099/0.3408, allocations: 94.78 kB / 0.5639 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.54e-06/0.3408, allocations: 3.984 kB / 0.5639 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/0.3408, allocations: 7.875 kB / 0.564 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.185e-06/0.3408, allocations: 0 / 0.564 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.211e-05/0.3408, allocations: 4 kB / 0.564 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.3408, allocations: 0 / 0.564 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.161e-05/0.3408, allocations: 75.28 kB / 0.564 GB, free: 0.668 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3408, allocations: 0 / 0.564 GB, free: 0.668 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002696/0.3411, allocations: 55.86 kB / 0.5641 GB, free: 0.6133 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.0007426/0.3418, allocations: 0.7121 MB / 0.5648 GB, free: 15.87 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001299/0.342, allocations: 63.34 kB / 0.5648 GB, free: 15.8 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.342, allocations: 8.031 kB / 0.5648 GB, free: 15.79 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.041e-05/0.342, allocations: 59.39 kB / 0.5649 GB, free: 15.72 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001185/0.3421, allocations: 4 kB / 0.5649 GB, free: 15.71 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003198/0.3425, allocations: 122.6 kB / 0.565 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000365/0.3428, allocations: 0.669 MB / 0.5657 GB, free: 14.86 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.23e-06/0.3428, allocations: 0 / 0.5657 GB, free: 14.86 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.719e-05/0.3428, allocations: 7.438 kB / 0.5657 GB, free: 14.85 MB / 414.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3428, allocations: 3.938 kB / 0.5657 GB, free: 14.85 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02891/0.3718, allocations: 2.579 MB / 0.5682 GB, free: 12.4 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.38, allocations: 11.12 kB / 0.5682 GB, free: 12.39 MB / 414.1 MB " [Timeout remaining time 649] (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: 14.065235276008025]