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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 104.6 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.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.8594/0.8594, allocations: 133.9 MB / 436.6 MB, free: 13.8 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 71.88 kB / 0.6051 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4002/0.4022, allocations: 84.66 MB / 0.6878 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Diagnostics.Validation.CheckEquality): time 0.002223/0.4044, allocations: 1.533 MB / 0.6893 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005684/0.405, allocations: 448.4 kB / 0.6897 GB, free: 248 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.92e-05/0.405, allocations: 1.094 kB / 0.6897 GB, free: 248 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.872e-05/0.405, allocations: 3.938 kB / 0.6897 GB, free: 244 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.28e-05/0.4051, allocations: 5.062 kB / 0.6897 GB, free: 240 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000179/0.4053, allocations: 37.84 kB / 0.6897 GB, free: 208 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.073e-05/0.4053, allocations: 40.59 kB / 0.6898 GB, free: 184 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.936e-05/0.4054, allocations: 13.39 kB / 0.6898 GB, free: 176 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.975e-05/0.4055, allocations: 24.03 kB / 0.6898 GB, free: 160 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.884e-05/0.4056, allocations: 29.05 kB / 0.6898 GB, free: 136 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/0.4056, allocations: 3.938 kB / 0.6898 GB, free: 136 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.049e-05/0.4056, allocations: 4.031 kB / 0.6898 GB, free: 136 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.476e-05/0.4056, allocations: 5.125 kB / 0.6898 GB, free: 132 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.136e-05/0.4057, allocations: 25.11 kB / 0.6899 GB, free: 112 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.323e-05/0.4057, allocations: 47.44 kB / 0.6899 GB, free: 76 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.4057, allocations: 1.312 kB / 0.6899 GB, free: 76 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.332e-06/0.4057, allocations: 0 / 0.6899 GB, free: 76 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.197e-06/0.4058, allocations: 0 / 0.6899 GB, free: 76 kB / 0.4981 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.0005235/0.4063, allocations: 360.5 kB / 0.6903 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.4063, allocations: 13.81 kB / 0.6903 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.806e-05/0.4064, allocations: 36.02 kB / 0.6903 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.574e-05/0.4064, allocations: 7.547 kB / 0.6903 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001557/0.4065, allocations: 171.1 kB / 0.6905 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.344e-05/0.4066, allocations: 6.688 kB / 0.6905 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.416e-05/0.4066, allocations: 2.5 kB / 0.6905 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002003/0.4068, allocations: 67.03 kB / 0.6905 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.4068, allocations: 1.219 kB / 0.6905 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.4068, allocations: 4 kB / 0.6906 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.4068, allocations: 1.062 kB / 0.6906 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001747/0.407, allocations: 39.31 kB / 0.6906 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004869/0.4075, allocations: 298.2 kB / 0.6909 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003276/0.4078, allocations: 62.19 kB / 0.6909 GB, free: 15 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.351e-05/0.4079, allocations: 24.66 kB / 0.691 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.4079, allocations: 4.062 kB / 0.691 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.4079, allocations: 39.72 kB / 0.691 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.4079, allocations: 0 / 0.691 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0003594/0.4083, allocations: 87.52 kB / 0.6911 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.4083, allocations: 52.53 kB / 0.6911 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.4085, allocations: 124.7 kB / 0.6913 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.4085, allocations: 25.7 kB / 0.6913 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.043e-05/0.4085, allocations: 98.45 kB / 0.6914 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.946e-05/0.4086, allocations: 8.906 kB / 0.6914 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.215e-05/0.4086, allocations: 21.3 kB / 0.6914 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.4087, allocations: 315.9 kB / 0.6917 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.84e-05/0.4088, allocations: 17.64 kB / 0.6917 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.381e-05/0.4089, allocations: 18.14 kB / 0.6917 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001543/0.4091, allocations: 44.48 kB / 0.6918 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.4091, allocations: 0 / 0.6918 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001984/0.4093, allocations: 75.06 kB / 0.6918 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.4093, allocations: 4.438 kB / 0.6919 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.4093, allocations: 0.9688 kB / 0.6919 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.4093, allocations: 0 / 0.6919 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.141e-05/0.4094, allocations: 10.89 kB / 0.6919 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.331e-06/0.4094, allocations: 1.312 kB / 0.6919 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.942e-05/0.4094, allocations: 15.25 kB / 0.6919 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.4095, allocations: 5.188 kB / 0.6919 GB, free: 14.11 MB / 0.5137 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 8.343e-05/0.4095, allocations: 112.2 kB / 0.692 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.518e-05/0.4096, allocations: 6.312 kB / 0.692 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.849e-05/0.4096, allocations: 9.156 kB / 0.692 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.4096, allocations: 1.188 kB / 0.692 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.4096, allocations: 0 / 0.692 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.4096, allocations: 3.938 kB / 0.692 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001959/0.4098, allocations: 179.4 kB / 0.6922 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4098, allocations: 4 kB / 0.6922 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.407e-05/0.4099, allocations: 11.61 kB / 0.6922 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.634e-06/0.4099, allocations: 0 / 0.6922 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.4099, allocations: 1.25 kB / 0.6922 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.4099, allocations: 0 / 0.6922 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.4099, allocations: 0 / 0.6922 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002722/0.4102, allocations: 169.9 kB / 0.6924 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.228e-05/0.4102, allocations: 86.19 kB / 0.6924 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.803e-05/0.4102, allocations: 5.156 kB / 0.6924 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.143e-05/0.4103, allocations: 3.125 kB / 0.6925 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.659e-05/0.4104, allocations: 5.234 kB / 0.6925 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.4104, allocations: 1.156 kB / 0.6925 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.595e-05/0.4104, allocations: 102 kB / 0.6926 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.4104, allocations: 0 / 0.6926 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002218/0.4107, allocations: 9.562 kB / 0.6926 GB, free: 13.38 MB / 0.5137 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.0006933/0.4114, allocations: 0.6981 MB / 0.6932 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002426/0.4116, allocations: 38.41 kB / 0.6933 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.4116, allocations: 0 / 0.6933 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001121/0.4117, allocations: 23.83 kB / 0.6933 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003286/0.412, allocations: 9.594 kB / 0.6933 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001697/0.4137, allocations: 1.353 MB / 0.6946 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000391/0.4141, allocations: 0.6813 MB / 0.6953 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.314e-05/0.4142, allocations: 6.578 kB / 0.6953 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.323e-05/0.4142, allocations: 17.67 kB / 0.6953 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of SimCode: time 3.91e-07/0.4142, allocations: 0 / 0.6953 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02826/0.4425, allocations: 1.52 MB / 0.6968 GB, free: 9.852 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.653/8.095, allocations: 7.312 kB / 0.6968 GB, free: 9.848 MB / 0.5137 GB " [Timeout remaining time 652] (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: 11.579460605047643] Failed to read output from testmodel.py, exit status != 0: 8.165224967058748 8.189768601 7.780248085 Calling exit ...