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.001902/0.001902, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 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.002162/0.002162, allocations: 173.6 kB / 22.76 MB, free: 1.664 MB / 18.57 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.556/1.556, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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-535:34: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-535:42: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 1.346/1.346, allocations: 154.8 MB / 414.4 MB, free: 464 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] 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: translateModel(IDEAS.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Diagnostics.Validation.CheckEquality") translateModel(IDEAS.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Diagnostics.Validation.CheckEquality") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.5198 GB, free: 2.348 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.104e-05/3.267e-05, allocations: 8.844 kB / 0.5198 GB, free: 2.344 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Diagnostics.Validation.CheckEquality): time 0.003249/0.003282, allocations: 1.553 MB / 0.5213 GB, free: 0.7969 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001059/0.004341, allocations: 477.3 kB / 0.5218 GB, free: 336 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.987e-05/0.004431, allocations: 0 / 0.5218 GB, free: 336 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.299e-05/0.004464, allocations: 4.562 kB / 0.5218 GB, free: 332 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.813e-05/0.004542, allocations: 17.67 kB / 0.5218 GB, free: 316 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002875/0.004829, allocations: 35.84 kB / 0.5218 GB, free: 280 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001327/0.004962, allocations: 47.83 kB / 0.5219 GB, free: 232 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.005072, allocations: 15.92 kB / 0.5219 GB, free: 216 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001757/0.005248, allocations: 33.61 kB / 0.5219 GB, free: 184 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.324e-05/0.005301, allocations: 27.83 kB / 0.522 GB, free: 156 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.319e-05/0.005324, allocations: 4 kB / 0.522 GB, free: 152 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.475e-05/0.005369, allocations: 8 kB / 0.522 GB, free: 144 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.697e-05/0.005386, allocations: 5.281 kB / 0.522 GB, free: 140 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.352e-05/0.00542, allocations: 15.92 kB / 0.522 GB, free: 124 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001468/0.005567, allocations: 47.81 kB / 0.522 GB, free: 76 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.00557, allocations: 4.625 kB / 0.522 GB, free: 72 kB / 490.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.005571, allocations: 0 / 0.522 GB, free: 72 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.439e-06/0.005576, allocations: 0.75 kB / 0.522 GB, free: 72 kB / 490.7 MB 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.0006378/0.006214, allocations: 389.5 kB / 0.5224 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.006262, allocations: 12.02 kB / 0.5224 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001477/0.00641, allocations: 12.94 kB / 0.5224 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002001/0.00661, allocations: 125.8 kB / 0.5226 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.006633, allocations: 8.312 kB / 0.5226 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.006649, allocations: 8.375 kB / 0.5226 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.006831, allocations: 61.86 kB / 0.5226 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.006845, allocations: 4.188 kB / 0.5226 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.846e-06/0.006854, allocations: 384 / 0.5226 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.006861, allocations: 3.938 kB / 0.5226 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001521/0.007013, allocations: 31.98 kB / 0.5227 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004928/0.007506, allocations: 295.6 kB / 0.523 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003086/0.007814, allocations: 62.98 kB / 0.523 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.631e-05/0.007901, allocations: 24.3 kB / 0.523 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/0.007918, allocations: 0.5625 kB / 0.523 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/0.00795, allocations: 37.39 kB / 0.5231 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.007951, allocations: 0.9688 kB / 0.5231 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.000366/0.008317, allocations: 83.03 kB / 0.5232 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/0.008365, allocations: 51.41 kB / 0.5232 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/0.008519, allocations: 181.9 kB / 0.5234 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.00854, allocations: 25.7 kB / 0.5234 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.12e-05/0.008631, allocations: 135.4 kB / 0.5235 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.766e-05/0.008658, allocations: 11.91 kB / 0.5235 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.782e-05/0.008706, allocations: 23.86 kB / 0.5236 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002809/0.008987, allocations: 496.9 kB / 0.524 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.56e-05/0.009063, allocations: 19.92 kB / 0.5241 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.875e-05/0.009132, allocations: 9.812 kB / 0.5241 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/0.009267, allocations: 35.67 kB / 0.5241 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.009269, allocations: 0 / 0.5241 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001879/0.009457, allocations: 74.11 kB / 0.5242 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.009472, allocations: 4.906 kB / 0.5242 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.009476, allocations: 0 / 0.5242 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.00949, allocations: 336 / 0.5242 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.28e-05/0.009563, allocations: 13.42 kB / 0.5242 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.009567, allocations: 0 / 0.5242 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.22e-05/0.00961, allocations: 4 kB / 0.5242 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.009617, allocations: 2.094 kB / 0.5242 GB, free: 13.68 MB / 0.4948 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 0.0001187/0.009736, allocations: 156.6 kB / 0.5243 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.135e-05/0.009767, allocations: 15.88 kB / 0.5244 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.869e-05/0.009806, allocations: 15.98 kB / 0.5244 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.009808, allocations: 0 / 0.5244 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.009811, allocations: 2.75 kB / 0.5244 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.009813, allocations: 0 / 0.5244 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001877/0.01, allocations: 136.6 kB / 0.5245 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.01, allocations: 0 / 0.5245 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.08e-05/0.01008, allocations: 15.86 kB / 0.5245 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.01009, allocations: 4 kB / 0.5245 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.01009, allocations: 0 / 0.5245 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.0101, allocations: 0 / 0.5245 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.0101, allocations: 1.562 kB / 0.5245 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002873/0.01038, allocations: 211.9 kB / 0.5247 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.065e-05/0.01039, allocations: 3.938 kB / 0.5247 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.01041, allocations: 4.938 kB / 0.5247 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.194e-05/0.01048, allocations: 4 kB / 0.5247 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.778e-05/0.01052, allocations: 7.984 kB / 0.5248 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.01053, allocations: 4.938 kB / 0.5248 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.389e-05/0.01062, allocations: 135.2 kB / 0.5249 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01063, allocations: 0.6562 kB / 0.5249 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002217/0.01085, allocations: 11.89 kB / 0.5249 GB, free: 12.9 MB / 0.4948 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.0001281/0.01097, allocations: 98.81 kB / 0.525 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000203/0.01118, allocations: 39.67 kB / 0.525 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.01118, allocations: 3.938 kB / 0.525 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.672e-05/0.01127, allocations: 27.67 kB / 0.5251 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002325/0.0115, allocations: 2.344 kB / 0.5251 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003982/0.0119, allocations: 165 kB / 0.5252 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.976e-05/0.01199, allocations: 71.33 kB / 0.5253 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.728e-05/0.01201, allocations: 0 / 0.5253 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.338e-05/0.01205, allocations: 8.5 kB / 0.5253 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of SimCode: time 4.61e-07/0.01205, allocations: 4 kB / 0.5253 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of Templates: time 0.003228/0.01528, allocations: 461.4 kB / 0.5257 GB, free: 12 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Utilities.Diagnostics.Validation.CheckEquality -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.036849124007858]