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.001142/0.001142, allocations: 80.34 kB / 20.67 MB, free: 3.891 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.001316/0.001316, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 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.9065/0.9065, allocations: 177 MB / 204.1 MB, free: 5.758 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.2902/0.2902, allocations: 34.25 MB / 294.8 MB, free: 0.6719 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 3.436e-06/3.436e-06, allocations: 0 / 442.1 MB, free: 1.598 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.281e-05/3.625e-05, allocations: 6.219 kB / 442.1 MB, free: 1.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestBooleanFunctions): time 0.001756/0.001792, allocations: 0.4893 MB / 442.6 MB, free: 1.102 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008738/0.002666, allocations: 370.9 kB / 443 MB, free: 0.7383 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.767e-05/0.002683, allocations: 4 kB / 443 MB, free: 0.7344 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.763e-05/0.002701, allocations: 0 / 443 MB, free: 0.7344 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.004e-06/0.002708, allocations: 0 / 443 MB, free: 0.7344 MB / 410.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.000965/0.003673, allocations: 207.4 kB / 443.2 MB, free: 0.5312 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.367e-05/0.003737, allocations: 7.984 kB / 443.2 MB, free: 0.5234 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.274e-05/0.003779, allocations: 3.984 kB / 443.2 MB, free: 0.5195 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.32e-05/0.003813, allocations: 4 kB / 443.2 MB, free: 0.5156 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.28e-05/0.003835, allocations: 0 / 443.2 MB, free: 0.5156 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.999e-06/0.003845, allocations: 3.938 kB / 443.2 MB, free: 0.5117 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004267/0.004272, allocations: 215.6 kB / 443.4 MB, free: 308 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.212e-05/0.004284, allocations: 3.938 kB / 443.4 MB, free: 304 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.331e-05/0.004307, allocations: 0 / 443.4 MB, free: 304 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002947/0.004602, allocations: 179.6 kB / 443.6 MB, free: 124 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.004604, allocations: 0 / 443.6 MB, free: 124 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.004606, allocations: 0 / 443.6 MB, free: 124 kB / 410.7 MB Notification: Performance of Transformations before backend: time 4.748e-06/0.004611, allocations: 3.938 kB / 443.6 MB, free: 120 kB / 410.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.2/0.2046, allocations: 285.3 kB / 443.9 MB, free: 44.05 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.2047, allocations: 8.094 kB / 443.9 MB, free: 44.05 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.556e-05/0.2047, allocations: 31.25 kB / 443.9 MB, free: 44.01 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.424e-05/0.2047, allocations: 7.75 kB / 443.9 MB, free: 44.01 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.394e-05/0.2048, allocations: 105.9 kB / 444 MB, free: 43.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.2048, allocations: 1.031 kB / 444 MB, free: 43.89 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.277e-06/0.2048, allocations: 2.688 kB / 444 MB, free: 43.89 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.171e-05/0.2049, allocations: 54.94 kB / 444.1 MB, free: 43.82 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.2049, allocations: 3.188 kB / 444.1 MB, free: 43.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.2049, allocations: 384 / 444.1 MB, free: 43.82 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.2049, allocations: 7.031 kB / 444.1 MB, free: 43.82 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.299e-05/0.2049, allocations: 34.22 kB / 444.1 MB, free: 43.79 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.306e-05/0.205, allocations: 120.9 kB / 444.2 MB, free: 43.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.893e-05/0.2051, allocations: 44.28 kB / 444.3 MB, free: 43.58 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.694e-05/0.2051, allocations: 39.22 kB / 444.3 MB, free: 43.54 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.281e-06/0.2051, allocations: 0 / 444.3 MB, free: 43.54 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.2051, allocations: 59.95 kB / 444.4 MB, free: 43.47 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 9.41e-07/0.2051, allocations: 0 / 444.4 MB, free: 43.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001632/0.2053, allocations: 127.9 kB / 444.5 MB, free: 43.35 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.579e-05/0.2053, allocations: 81.05 kB / 444.6 MB, free: 43.25 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.588e-05/0.2053, allocations: 89.86 kB / 444.7 MB, free: 43.15 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.19e-06/0.2053, allocations: 25.7 kB / 444.7 MB, free: 43.12 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.536e-06/0.2053, allocations: 80.7 kB / 444.8 MB, free: 43.04 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.2053, allocations: 4.75 kB / 444.8 MB, free: 43.04 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.025e-05/0.2054, allocations: 15.47 kB / 444.8 MB, free: 43.02 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.8e-05/0.2054, allocations: 313.9 kB / 445.1 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.242e-05/0.2054, allocations: 32.69 kB / 445.1 MB, free: 42.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.947e-06/0.2054, allocations: 32.58 kB / 445.2 MB, free: 42.65 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.003e-05/0.2055, allocations: 59.89 kB / 445.2 MB, free: 42.58 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.2055, allocations: 1.688 kB / 445.2 MB, free: 42.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.663e-05/0.2055, allocations: 91.05 kB / 445.3 MB, free: 42.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.2055, allocations: 33.11 kB / 445.4 MB, free: 42.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.2055, allocations: 0 / 445.4 MB, free: 42.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.2055, allocations: 2.156 kB / 445.4 MB, free: 42.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.52e-07/0.2055, allocations: 0 / 445.4 MB, free: 42.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.2055, allocations: 6.469 kB / 445.4 MB, free: 42.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.7e-05/0.2056, allocations: 2.906 kB / 445.4 MB, free: 42.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.2056, allocations: 2.688 kB / 445.4 MB, free: 42.45 MB / 410.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 4.439e-05/0.2056, allocations: 138.8 kB / 445.5 MB, free: 42.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.196e-06/0.2056, allocations: 0 / 445.5 MB, free: 42.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.608e-06/0.2056, allocations: 3.625 kB / 445.5 MB, free: 42.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.62e-07/0.2056, allocations: 3.891 kB / 445.5 MB, free: 42.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.2056, allocations: 3.938 kB / 445.5 MB, free: 42.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.2056, allocations: 3.375 kB / 445.5 MB, free: 42.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.918e-05/0.2057, allocations: 120.2 kB / 445.6 MB, free: 42.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.2057, allocations: 0 / 445.6 MB, free: 42.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.11e-07/0.2057, allocations: 0 / 445.6 MB, free: 42.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.01e-07/0.2057, allocations: 0 / 445.6 MB, free: 42.14 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.2057, allocations: 0 / 445.6 MB, free: 42.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.2057, allocations: 2.688 kB / 445.6 MB, free: 42.14 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2057, allocations: 10.28 kB / 445.6 MB, free: 42.14 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.042e-05/0.2057, allocations: 113.6 kB / 445.8 MB, free: 42.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.017e-06/0.2057, allocations: 10.81 kB / 445.8 MB, free: 42.02 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.027e-05/0.2057, allocations: 0 / 445.8 MB, free: 42.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.091e-06/0.2058, allocations: 3.219 kB / 445.8 MB, free: 42.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.465e-05/0.2058, allocations: 7.125 kB / 445.8 MB, free: 42.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-06/0.2058, allocations: 0.75 kB / 445.8 MB, free: 42.01 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.245e-06/0.2058, allocations: 75.28 kB / 445.9 MB, free: 41.94 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2058, allocations: 0 / 445.9 MB, free: 41.94 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002529/0.206, allocations: 49.44 kB / 445.9 MB, free: 41.94 MB / 410.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.0003873/0.2064, allocations: 0.7524 MB / 446.7 MB, free: 41.29 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.929e-05/0.2065, allocations: 120.2 kB / 446.8 MB, free: 41.16 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2065, allocations: 0.75 kB / 446.8 MB, free: 41.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.327e-05/0.2065, allocations: 80.8 kB / 446.9 MB, free: 41.06 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.414e-05/0.2066, allocations: 9.078 kB / 446.9 MB, free: 41.06 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002297/0.2068, allocations: 151.5 kB / 447 MB, free: 40.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.457e-05/0.2069, allocations: 60.12 kB / 447.1 MB, free: 40.83 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.401e-06/0.2069, allocations: 0.6875 kB / 447.1 MB, free: 40.83 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.278e-05/0.2069, allocations: 8.906 kB / 447.1 MB, free: 40.83 MB / 410.7 MB Notification: Performance of SimCode: time 4.61e-07/0.2069, allocations: 4 kB / 447.1 MB, free: 40.82 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01483/0.2217, allocations: 3.103 MB / 450.2 MB, free: 39.82 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.732/6.954, allocations: 7.844 kB / 450.2 MB, free: 39.82 MB / 410.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: 9.09405091125518]