Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008345/0.0008345, allocations: 109.9 kB / 18.93 MB, free: 1.27 MB / 13.93 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.001331/0.001331, allocations: 217.7 kB / 22.26 MB, free: 3.703 MB / 13.93 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 0.9618/0.9618, allocations: 230.6 MB / 256 MB, free: 9.816 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8353/0.8353, allocations: 203.8 MB / 0.5042 GB, free: 10.73 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS_Utilities_Diagnostics_Validation_CheckEquality",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Diagnostics.Validation.CheckEquality,fileNamePrefix="IDEAS_dev_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.001003/0.001003, allocations: 66.3 kB / 0.7182 GB, free: 4.395 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5192/0.5202, allocations: 102 MB / 0.8178 GB, free: 1.25 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Diagnostics.Validation.CheckEquality): time 0.001953/0.5221, allocations: 1.566 MB / 0.8194 GB, free: 160 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006911/0.5228, allocations: 0.512 MB / 0.8199 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.028e-05/0.5229, allocations: 1.625 kB / 0.8199 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.755e-05/0.5229, allocations: 4.594 kB / 0.8199 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.639e-05/0.5229, allocations: 8.453 kB / 0.8199 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002492/0.5232, allocations: 33.97 kB / 0.8199 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001116/0.5233, allocations: 54.36 kB / 0.82 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.5234, allocations: 16.75 kB / 0.82 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001428/0.5235, allocations: 25.58 kB / 0.82 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.588e-05/0.5236, allocations: 19.02 kB / 0.82 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.5236, allocations: 10.42 kB / 0.82 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.794e-05/0.5236, allocations: 5.328 kB / 0.82 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.439e-05/0.5237, allocations: 13.77 kB / 0.82 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.941e-05/0.5237, allocations: 18.92 kB / 0.8201 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001224/0.5238, allocations: 61.78 kB / 0.8201 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.5238, allocations: 0 / 0.8201 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5238, allocations: 0 / 0.8201 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.5238, allocations: 0 / 0.8201 GB, free: 15.66 MB / 0.6198 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.00041/0.5242, allocations: 286 kB / 0.8204 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.5243, allocations: 9.469 kB / 0.8204 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.777e-05/0.5243, allocations: 37.77 kB / 0.8204 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001091/0.5244, allocations: 15.75 kB / 0.8205 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001766/0.5246, allocations: 134.1 kB / 0.8206 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/0.5246, allocations: 384 / 0.8206 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/0.5246, allocations: 4.25 kB / 0.8206 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.5248, allocations: 71.59 kB / 0.8207 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.5248, allocations: 0 / 0.8207 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.776e-06/0.5248, allocations: 0.7031 kB / 0.8207 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.788e-06/0.5248, allocations: 3.594 kB / 0.8207 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.677e-05/0.5249, allocations: 38.09 kB / 0.8207 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003369/0.5252, allocations: 269.6 kB / 0.821 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002102/0.5254, allocations: 63.72 kB / 0.821 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.609e-05/0.5255, allocations: 22.45 kB / 0.821 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.364e-05/0.5255, allocations: 4.688 kB / 0.821 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.545e-05/0.5255, allocations: 34.36 kB / 0.8211 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 8.91e-07/0.5255, allocations: 0 / 0.8211 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0002369/0.5257, allocations: 92.72 kB / 0.8212 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/0.5258, allocations: 52.11 kB / 0.8212 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.065e-05/0.5259, allocations: 123.2 kB / 0.8213 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.5259, allocations: 31.14 kB / 0.8214 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.032e-05/0.5259, allocations: 87.36 kB / 0.8214 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.112e-05/0.5259, allocations: 18.31 kB / 0.8215 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.736e-05/0.526, allocations: 16.81 kB / 0.8215 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.268e-05/0.526, allocations: 320.4 kB / 0.8218 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.404e-05/0.5261, allocations: 16.58 kB / 0.8218 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.017e-05/0.5261, allocations: 14.08 kB / 0.8218 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.866e-05/0.5262, allocations: 48.58 kB / 0.8219 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.5262, allocations: 3.938 kB / 0.8219 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001299/0.5264, allocations: 72.03 kB / 0.8219 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.5264, allocations: 6.875 kB / 0.8219 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.5264, allocations: 0.6562 kB / 0.8219 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.5264, allocations: 1.375 kB / 0.8219 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.386e-05/0.5264, allocations: 8.344 kB / 0.8219 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.5264, allocations: 5.984 kB / 0.8219 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.807e-05/0.5265, allocations: 9.609 kB / 0.822 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.924e-06/0.5265, allocations: 4.5 kB / 0.822 GB, free: 14 MB / 0.6198 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 5.993e-05/0.5265, allocations: 114.4 kB / 0.8221 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.443e-05/0.5265, allocations: 3.422 kB / 0.8221 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.766e-05/0.5266, allocations: 5.219 kB / 0.8221 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.5266, allocations: 3.5 kB / 0.8221 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.5266, allocations: 3.938 kB / 0.8221 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.5266, allocations: 0.7031 kB / 0.8221 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001201/0.5267, allocations: 153.1 kB / 0.8222 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.5267, allocations: 0 / 0.8222 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.494e-05/0.5267, allocations: 10.09 kB / 0.8222 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.5267, allocations: 0.6094 kB / 0.8222 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.573e-06/0.5267, allocations: 0 / 0.8222 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.5267, allocations: 4.609 kB / 0.8222 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.5267, allocations: 0 / 0.8222 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001552/0.5269, allocations: 176.1 kB / 0.8224 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.142e-05/0.5269, allocations: 7.609 kB / 0.8224 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.042e-05/0.5269, allocations: 0.5156 kB / 0.8224 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.096e-05/0.527, allocations: 4.25 kB / 0.8224 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.101e-05/0.527, allocations: 8.781 kB / 0.8224 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.527, allocations: 0.6094 kB / 0.8224 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.342e-05/0.527, allocations: 98.89 kB / 0.8225 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.527, allocations: 0 / 0.8225 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000156/0.5272, allocations: 4.469 kB / 0.8225 GB, free: 13.45 MB / 0.6198 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.0003397/0.5275, allocations: 0.7053 MB / 0.8232 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001445/0.5277, allocations: 39.02 kB / 0.8233 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.5277, allocations: 5.594 kB / 0.8233 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.854e-05/0.5277, allocations: 15.39 kB / 0.8233 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001996/0.5279, allocations: 6.906 kB / 0.8233 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.5291, allocations: 1.373 MB / 0.8246 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002102/0.5293, allocations: 0.6883 MB / 0.8253 GB, free: 10.81 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.418e-05/0.5293, allocations: 7.672 kB / 0.8253 GB, free: 10.81 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.766e-05/0.5294, allocations: 21.11 kB / 0.8253 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of SimCode: time 7.72e-07/0.5294, allocations: 0 / 0.8253 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01791/0.5473, allocations: 1.646 MB / 0.8269 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.576/7.124, allocations: 4.953 kB / 0.8269 GB, free: 10.36 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Diagnostics_Validation_CheckEquality_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Diagnostics_Validation_CheckEquality.fmu > IDEAS_dev_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.090546048013493] Failed to read output from testmodel.py, exit status != 0: 7.201858538901433 7.212019423 6.686108025 Calling exit ...