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.0009962/0.0009962, allocations: 92.31 kB / 20.95 MB, free: 3.602 MB / 18.57 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.0009431/0.0009431, allocations: 164.9 kB / 24.26 MB, free: 296 kB / 18.57 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 0.8884/0.8884, allocations: 177 MB / 204.5 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] 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.2713/0.2713, allocations: 34.25 MB / 295.2 MB, free: 0.6484 MB / 266.7 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestBooleanFunctions,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestBooleanFunctions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 376.7 MB, free: 3.461 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.002e-05/2.182e-05, allocations: 4 kB / 376.7 MB, free: 3.457 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001045/0.001066, allocations: 0.5047 MB / 377.2 MB, free: 2.949 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007938/0.00186, allocations: 371 kB / 377.5 MB, free: 2.586 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.264e-05/0.001883, allocations: 0 / 377.5 MB, free: 2.586 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 2.033e-05/0.001903, allocations: 0 / 377.5 MB, free: 2.586 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 1.074e-05/0.001914, allocations: 4 kB / 377.5 MB, free: 2.582 MB / 346.7 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.001138/0.003052, allocations: 215.2 kB / 377.8 MB, free: 2.371 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.943e-05/0.003111, allocations: 0 / 377.8 MB, free: 2.371 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.952e-05/0.003151, allocations: 0 / 377.8 MB, free: 2.371 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.173e-05/0.003183, allocations: 4 kB / 377.8 MB, free: 2.367 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.566e-05/0.003208, allocations: 3.984 kB / 377.8 MB, free: 2.363 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.658e-06/0.003218, allocations: 4 kB / 377.8 MB, free: 2.359 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003028/0.003521, allocations: 223.5 kB / 378 MB, free: 2.141 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.014e-06/0.003528, allocations: 0 / 378 MB, free: 2.141 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.977e-05/0.003547, allocations: 4 kB / 378 MB, free: 2.137 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002202/0.003768, allocations: 175.5 kB / 378.2 MB, free: 1.965 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.003769, allocations: 0 / 378.2 MB, free: 1.965 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.003771, allocations: 0 / 378.2 MB, free: 1.965 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.245e-06/0.003779, allocations: 0 / 378.2 MB, free: 1.965 MB / 346.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.0002943/0.004074, allocations: 291.9 kB / 378.4 MB, free: 1.641 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.004114, allocations: 12.03 kB / 378.5 MB, free: 1.629 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.544e-05/0.00414, allocations: 30.75 kB / 378.5 MB, free: 1.59 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.085e-05/0.004171, allocations: 4.938 kB / 378.5 MB, free: 1.586 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.6e-05/0.004227, allocations: 101.8 kB / 378.6 MB, free: 1.461 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.004238, allocations: 384 / 378.6 MB, free: 1.461 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.442e-06/0.004244, allocations: 4.375 kB / 378.6 MB, free: 1.457 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.094e-05/0.004335, allocations: 59.95 kB / 378.7 MB, free: 1.387 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.004343, allocations: 4.188 kB / 378.7 MB, free: 1.383 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.734e-06/0.00435, allocations: 384 / 378.7 MB, free: 1.383 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.004359, allocations: 4.125 kB / 378.7 MB, free: 1.379 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.5e-05/0.004384, allocations: 29.64 kB / 378.7 MB, free: 1.344 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000115/0.004499, allocations: 124.7 kB / 378.8 MB, free: 1.18 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.804e-05/0.004557, allocations: 48.27 kB / 378.9 MB, free: 1.117 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.326e-05/0.00459, allocations: 34.66 kB / 378.9 MB, free: 1.074 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.005e-06/0.004598, allocations: 0 / 378.9 MB, free: 1.074 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.61e-05/0.004644, allocations: 60.27 kB / 379 MB, free: 1 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.004645, allocations: 0 / 379 MB, free: 1 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002167/0.004862, allocations: 118.7 kB / 379.1 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.272e-05/0.004914, allocations: 85.05 kB / 379.2 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.108e-05/0.004955, allocations: 93.86 kB / 379.2 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.004968, allocations: 25.7 kB / 379.3 MB, free: 0.625 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.157e-05/0.004989, allocations: 80.14 kB / 379.3 MB, free: 0.543 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.814e-05/0.005008, allocations: 8.078 kB / 379.4 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.573e-05/0.005033, allocations: 13.72 kB / 379.4 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.828e-05/0.005122, allocations: 310.8 kB / 379.7 MB, free: 208 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.972e-05/0.005141, allocations: 25.7 kB / 379.7 MB, free: 176 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.609e-05/0.005157, allocations: 33.69 kB / 379.7 MB, free: 136 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.481e-05/0.005202, allocations: 68.2 kB / 379.8 MB, free: 52 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.005204, allocations: 0 / 379.8 MB, free: 52 kB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.161e-05/0.005276, allocations: 85.11 kB / 379.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.733e-05/0.005303, allocations: 33.69 kB / 379.9 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.005308, allocations: 4.094 kB / 379.9 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.005322, allocations: 3.938 kB / 379.9 MB, free: 15.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.393e-06/0.005324, allocations: 0 / 379.9 MB, free: 15.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.005332, allocations: 7.938 kB / 379.9 MB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.134e-05/0.005343, allocations: 0 / 379.9 MB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.00535, allocations: 0 / 379.9 MB, free: 15.89 MB / 362.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 5.916e-05/0.005409, allocations: 139.5 kB / 380.1 MB, free: 15.74 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.29e-06/0.005414, allocations: 0 / 380.1 MB, free: 15.74 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.065e-06/0.005422, allocations: 3 kB / 380.1 MB, free: 15.74 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.005424, allocations: 0 / 380.1 MB, free: 15.74 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.005429, allocations: 3.938 kB / 380.1 MB, free: 15.74 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.005433, allocations: 7.984 kB / 380.1 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.412e-05/0.005497, allocations: 116.8 kB / 380.2 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.2e-07/0.005498, allocations: 0 / 380.2 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.1e-07/0.005498, allocations: 0 / 380.2 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.0055, allocations: 3.984 kB / 380.2 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.005507, allocations: 7.922 kB / 380.2 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.51e-07/0.005507, allocations: 4 kB / 380.2 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.00551, allocations: 3.938 kB / 380.2 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.481e-05/0.005585, allocations: 116.5 kB / 380.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.907e-06/0.005589, allocations: 0 / 380.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.356e-06/0.005597, allocations: 4.031 kB / 380.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.551e-06/0.005603, allocations: 4 kB / 380.3 MB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.689e-05/0.00562, allocations: 7.922 kB / 380.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.005623, allocations: 4 kB / 380.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of sorting global known variables: time 1.713e-05/0.00564, allocations: 75.28 kB / 380.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.00564, allocations: 0 / 380.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001999/0.00584, allocations: 47.94 kB / 380.5 MB, free: 15.27 MB / 362.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.00047/0.00631, allocations: 0.7585 MB / 381.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.441e-05/0.006395, allocations: 110.8 kB / 381.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.006396, allocations: 0 / 381.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.673e-05/0.006423, allocations: 85.09 kB / 381.4 MB, free: 14.24 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.777e-05/0.006511, allocations: 3.938 kB / 381.4 MB, free: 14.24 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002495/0.00676, allocations: 161.5 kB / 381.6 MB, free: 14.03 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.468e-05/0.006795, allocations: 55.36 kB / 381.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.459e-06/0.006799, allocations: 0 / 381.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.452e-05/0.006814, allocations: 8.5 kB / 381.6 MB, free: 13.95 MB / 362.7 MB Notification: Performance of SimCode: time 5.01e-07/0.006814, allocations: 4.125 kB / 381.6 MB, free: 13.95 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01541/0.02222, allocations: 3.154 MB / 384.8 MB, free: 10.86 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.933/6.955, allocations: 10.23 kB / 384.8 MB, free: 10.85 MB / 362.7 MB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 ModelicaTest_trunk_ModelicaTest_Math_TestBooleanFunctions.fmu > ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestBooleanFunctions/TestBooleanFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Failed to open simulation result ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions_res.csv: Error: Error opening file: ModelicaTest_trunk_ModelicaTest.Math.TestBooleanFunctions_res.csv " [Timeout remaining time 660] "" Variables in the reference:time,result Variables in the result: [Calling sys.exit(0), Time elapsed: 8.872185187414289]