Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.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.001301/0.001301, allocations: 113 kB / 18.94 MB, free: 2.957 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.001531/0.001531, allocations: 214.4 kB / 22.25 MB, free: 5.121 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.448/1.448, allocations: 230.6 MB / 256 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8813/0.8813, allocations: 134 MB / 446.4 MB, free: 10.63 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="IDEAS_IDEAS_Utilities_Diagnostics_Validation_CheckEquality",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="IDEAS_IDEAS_Utilities_Diagnostics_Validation_CheckEquality",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 70 kB / 0.6185 GB, free: 7.246 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1865/0.1885, allocations: 85.91 MB / 0.7024 GB, free: 1.414 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Diagnostics.Validation.CheckEquality): time 0.002846/0.1914, allocations: 1.554 MB / 0.7039 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009089/0.1923, allocations: 0.5103 MB / 0.7044 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.544e-05/0.1923, allocations: 3.938 kB / 0.7044 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.23e-05/0.1924, allocations: 3.938 kB / 0.7044 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.985e-05/0.1924, allocations: 15.88 kB / 0.7045 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002425/0.1926, allocations: 31.91 kB / 0.7045 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001116/0.1928, allocations: 47.89 kB / 0.7045 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.1929, allocations: 16.27 kB / 0.7045 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001324/0.193, allocations: 23.88 kB / 0.7046 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.513e-05/0.193, allocations: 35.83 kB / 0.7046 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.1931, allocations: 4 kB / 0.7046 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 3.733e-05/0.1931, allocations: 4 kB / 0.7046 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.367e-05/0.1931, allocations: 8 kB / 0.7046 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.452e-05/0.1931, allocations: 23.86 kB / 0.7046 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001173/0.1933, allocations: 51.75 kB / 0.7047 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1933, allocations: 0 / 0.7047 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1933, allocations: 0 / 0.7047 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.063e-05/0.1933, allocations: 0 / 0.7047 GB, free: 15.07 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005624/0.1938, allocations: 296.5 kB / 0.705 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.1939, allocations: 8.031 kB / 0.705 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.983e-05/0.1939, allocations: 42.69 kB / 0.705 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001334/0.1941, allocations: 16.88 kB / 0.705 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001887/0.1942, allocations: 122.4 kB / 0.7052 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.643e-05/0.1943, allocations: 8.375 kB / 0.7052 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.215e-05/0.1943, allocations: 384 / 0.7052 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002121/0.1945, allocations: 69.73 kB / 0.7052 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.1945, allocations: 0 / 0.7052 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.1945, allocations: 0 / 0.7052 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.1945, allocations: 0 / 0.7052 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002461/0.1948, allocations: 47.95 kB / 0.7053 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004289/0.1952, allocations: 275.7 kB / 0.7055 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003284/0.1955, allocations: 62.53 kB / 0.7056 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.747e-05/0.1956, allocations: 24.91 kB / 0.7056 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.1956, allocations: 4 kB / 0.7056 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.1957, allocations: 34.56 kB / 0.7057 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.1957, allocations: 0 / 0.7057 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0003734/0.196, allocations: 89.55 kB / 0.7057 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/0.1961, allocations: 51.41 kB / 0.7058 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.1962, allocations: 122.1 kB / 0.7059 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.1962, allocations: 29.7 kB / 0.7059 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.702e-05/0.1963, allocations: 92.14 kB / 0.706 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.157e-05/0.1963, allocations: 11.89 kB / 0.706 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.463e-05/0.1963, allocations: 17.72 kB / 0.7061 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.1965, allocations: 314.8 kB / 0.7064 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.47e-05/0.1966, allocations: 23.98 kB / 0.7064 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.765e-05/0.1966, allocations: 15.98 kB / 0.7064 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00016/0.1968, allocations: 44.77 kB / 0.7064 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1968, allocations: 0 / 0.7064 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000212/0.197, allocations: 69.98 kB / 0.7065 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.197, allocations: 8 kB / 0.7065 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.197, allocations: 0 / 0.7065 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.197, allocations: 0 / 0.7065 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.996e-05/0.1971, allocations: 11.98 kB / 0.7065 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.1971, allocations: 0 / 0.7065 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.469e-05/0.1972, allocations: 11.95 kB / 0.7065 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.1972, allocations: 7.922 kB / 0.7065 GB, free: 12.98 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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.994e-05/0.1973, allocations: 109.8 kB / 0.7066 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.447e-05/0.1973, allocations: 4 kB / 0.7066 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.484e-05/0.1973, allocations: 19.92 kB / 0.7067 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1973, allocations: 0 / 0.7067 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.1973, allocations: 3.938 kB / 0.7067 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.1973, allocations: 0 / 0.7067 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001867/0.1975, allocations: 152.6 kB / 0.7068 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1975, allocations: 3.938 kB / 0.7068 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.177e-05/0.1976, allocations: 7.984 kB / 0.7068 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1976, allocations: 0 / 0.7068 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-06/0.1976, allocations: 4 kB / 0.7068 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.1976, allocations: 0 / 0.7068 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1976, allocations: 0 / 0.7068 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00026/0.1979, allocations: 175.4 kB / 0.707 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.361e-05/0.1979, allocations: 7.953 kB / 0.707 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.1979, allocations: 0 / 0.707 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.738e-05/0.198, allocations: 7.984 kB / 0.707 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.924e-05/0.198, allocations: 0 / 0.707 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-06/0.198, allocations: 0 / 0.707 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.975e-05/0.1981, allocations: 103.2 kB / 0.7071 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1981, allocations: 0 / 0.7071 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002358/0.1983, allocations: 8 kB / 0.7071 GB, free: 12.31 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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.0005596/0.1989, allocations: 0.6968 MB / 0.7078 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002225/0.1991, allocations: 39.95 kB / 0.7078 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1991, allocations: 0 / 0.7078 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.745e-05/0.1992, allocations: 27.92 kB / 0.7079 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002453/0.1994, allocations: 4 kB / 0.7079 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001731/0.2012, allocations: 1.376 MB / 0.7092 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003256/0.2015, allocations: 0.6807 MB / 0.7099 GB, free: 9.355 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.575e-05/0.2015, allocations: 8 kB / 0.7099 GB, free: 9.348 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.026e-05/0.2016, allocations: 15.42 kB / 0.7099 GB, free: 9.332 MB / 0.5294 GB Notification: Performance of SimCode: time 6.71e-07/0.2016, allocations: 0 / 0.7099 GB, free: 9.332 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03012/0.2317, allocations: 1.652 MB / 0.7115 GB, free: 7.816 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.46/10.7, allocations: 11.25 kB / 0.7115 GB, free: 7.809 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo IDEAS_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/IDEAS_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Diagnostics_Validation_CheckEquality_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Diagnostics_Validation_CheckEquality.fmu > IDEAS_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.324776958907023] Failed to read output from testmodel.py, exit status != 0: 10.798936441075057 10.821206799 10.624378160000001 Calling exit ...