Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Diagnostics.Validation.CheckEquality.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.07981/0.07981, allocations: 9.126 MB / 28.99 MB, free: 0.8086 MB / 18.57 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] 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.0008033/0.0008033, allocations: 87.28 kB / 35.32 MB, free: 1.074 MB / 24.77 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.0009753/0.0009753, allocations: 164.9 kB / 38.73 MB, free: 2.508 MB / 24.77 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.9911/0.9911, allocations: 177.1 MB / 219.2 MB, free: 10.09 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo): time 0.003918/0.003918, allocations: 0.8261 MB / 276.5 MB, free: 0.7109 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo): time 1.617/1.617, allocations: 274.9 MB / 0.5419 GB, free: 0.6406 MB / 0.4949 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo) Using package SDF with version 0.4.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/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) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Running command: translateModel(AixLib.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Diagnostics.Validation.CheckEquality") translateModel(AixLib.Utilities.Diagnostics.Validation.CheckEquality,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Diagnostics.Validation.CheckEquality") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 0.6378 GB, free: 14.2 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.629e-05/1.741e-05, allocations: 2.312 kB / 0.6378 GB, free: 14.2 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Diagnostics.Validation.CheckEquality): time 0.001875/0.001893, allocations: 1.597 MB / 0.6394 GB, free: 12.59 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0006442/0.002537, allocations: 0.4907 MB / 0.6398 GB, free: 12.09 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.654e-05/0.002593, allocations: 0 / 0.6398 GB, free: 12.09 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.839e-05/0.002622, allocations: 3.938 kB / 0.6398 GB, free: 12.09 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 5.159e-05/0.002673, allocations: 7.875 kB / 0.6399 GB, free: 12.08 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002427/0.002916, allocations: 47.83 kB / 0.6399 GB, free: 12.04 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 9.795e-05/0.003014, allocations: 43.84 kB / 0.6399 GB, free: 11.99 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 8.198e-05/0.003096, allocations: 11.98 kB / 0.64 GB, free: 11.98 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001407/0.003237, allocations: 39.84 kB / 0.64 GB, free: 11.94 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 2.974e-05/0.003267, allocations: 15.97 kB / 0.64 GB, free: 11.93 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.003282, allocations: 4 kB / 0.64 GB, free: 11.92 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 4.134e-05/0.003323, allocations: 15.92 kB / 0.64 GB, free: 11.91 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.133e-05/0.003334, allocations: 4 kB / 0.64 GB, free: 11.9 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.949e-05/0.003354, allocations: 11.94 kB / 0.64 GB, free: 11.89 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001012/0.003455, allocations: 51.86 kB / 0.6401 GB, free: 11.84 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.003457, allocations: 0 / 0.6401 GB, free: 11.84 MB / 0.6043 GB Notification: Performance of FrontEnd: time 6.01e-07/0.003458, allocations: 0 / 0.6401 GB, free: 11.84 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.547e-06/0.003461, allocations: 0 / 0.6401 GB, free: 11.84 MB / 0.6043 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.0003198/0.003781, allocations: 260.7 kB / 0.6403 GB, free: 11.56 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.003812, allocations: 19.92 kB / 0.6404 GB, free: 11.54 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.949e-05/0.003902, allocations: 16.92 kB / 0.6404 GB, free: 11.53 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.004014, allocations: 113.8 kB / 0.6405 GB, free: 11.39 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.00403, allocations: 8.312 kB / 0.6405 GB, free: 11.38 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.008e-05/0.00404, allocations: 8.375 kB / 0.6405 GB, free: 11.38 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.674e-05/0.004137, allocations: 70.91 kB / 0.6406 GB, free: 11.3 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.192e-06/0.004143, allocations: 192 / 0.6406 GB, free: 11.3 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.953e-06/0.00415, allocations: 384 / 0.6406 GB, free: 11.3 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.004157, allocations: 7.938 kB / 0.6406 GB, free: 11.29 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.906e-05/0.004176, allocations: 4 kB / 0.6406 GB, free: 11.29 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002055/0.004382, allocations: 176.2 kB / 0.6407 GB, free: 11.1 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/0.00449, allocations: 30.56 kB / 0.6408 GB, free: 11.06 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.677e-05/0.004507, allocations: 8.859 kB / 0.6408 GB, free: 11.05 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.055e-05/0.004518, allocations: 8 kB / 0.6408 GB, free: 11.04 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.004537, allocations: 38.5 kB / 0.6408 GB, free: 10.99 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=3): time 7.62e-07/0.004538, allocations: 0 / 0.6408 GB, free: 10.99 MB / 0.6043 GB Notification: Performance of matching and sorting (n=3): time 0.0001001/0.004638, allocations: 45.62 kB / 0.6409 GB, free: 10.94 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.085e-05/0.004669, allocations: 55.39 kB / 0.6409 GB, free: 10.88 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.029e-05/0.004719, allocations: 114.8 kB / 0.641 GB, free: 10.75 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 8.807e-06/0.004728, allocations: 25.7 kB / 0.6411 GB, free: 10.72 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 2.891e-05/0.004757, allocations: 92.08 kB / 0.6411 GB, free: 10.62 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.574e-05/0.004773, allocations: 7.953 kB / 0.6412 GB, free: 10.62 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.99e-05/0.004803, allocations: 17.7 kB / 0.6412 GB, free: 10.59 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.926e-05/0.004872, allocations: 314.8 kB / 0.6415 GB, free: 10.28 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.065e-05/0.004883, allocations: 8 kB / 0.6415 GB, free: 10.27 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.077e-06/0.004892, allocations: 3.984 kB / 0.6415 GB, free: 10.27 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.626e-05/0.004918, allocations: 17.12 kB / 0.6415 GB, free: 10.25 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.00492, allocations: 0 / 0.6415 GB, free: 10.25 MB / 0.6043 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.799e-05/0.004968, allocations: 45.56 kB / 0.6415 GB, free: 10.2 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.004979, allocations: 8 kB / 0.6415 GB, free: 10.19 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/0.004982, allocations: 0 / 0.6415 GB, free: 10.19 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.004994, allocations: 0 / 0.6415 GB, free: 10.19 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.986e-05/0.005034, allocations: 7.984 kB / 0.6416 GB, free: 10.18 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-06/0.005036, allocations: 0 / 0.6416 GB, free: 10.18 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.124e-05/0.005058, allocations: 19.89 kB / 0.6416 GB, free: 10.16 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.005063, allocations: 0 / 0.6416 GB, free: 10.16 MB / 0.6043 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.182e-05/0.005115, allocations: 109.8 kB / 0.6417 GB, free: 10.04 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.38e-05/0.005129, allocations: 7.922 kB / 0.6417 GB, free: 10.04 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.47e-05/0.005153, allocations: 12 kB / 0.6417 GB, free: 10.02 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.005155, allocations: 0 / 0.6417 GB, free: 10.02 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.005156, allocations: 0 / 0.6417 GB, free: 10.02 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.005159, allocations: 0 / 0.6417 GB, free: 10.02 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.815e-05/0.005237, allocations: 73.88 kB / 0.6418 GB, free: 9.934 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.51e-07/0.005237, allocations: 0 / 0.6418 GB, free: 9.934 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.406e-05/0.005261, allocations: 23.92 kB / 0.6418 GB, free: 9.91 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.32e-07/0.005262, allocations: 0 / 0.6418 GB, free: 9.91 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.787e-06/0.005266, allocations: 0 / 0.6418 GB, free: 9.91 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.005267, allocations: 3.938 kB / 0.6418 GB, free: 9.906 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.005268, allocations: 0 / 0.6418 GB, free: 9.906 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.349e-05/0.005331, allocations: 131.5 kB / 0.6419 GB, free: 9.762 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 6.642e-06/0.005338, allocations: 7.938 kB / 0.6419 GB, free: 9.754 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.676e-06/0.005347, allocations: 4 kB / 0.6419 GB, free: 9.75 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.377e-05/0.005381, allocations: 7.922 kB / 0.6419 GB, free: 9.742 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.086e-05/0.005401, allocations: 4 kB / 0.6419 GB, free: 9.738 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-06/0.005403, allocations: 0 / 0.6419 GB, free: 9.738 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.436e-05/0.005418, allocations: 29.14 kB / 0.642 GB, free: 9.707 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.005418, allocations: 0 / 0.642 GB, free: 9.707 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.000118/0.005536, allocations: 4 kB / 0.642 GB, free: 9.703 MB / 0.6043 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 6.804e-05/0.005604, allocations: 80.36 kB / 0.6421 GB, free: 9.613 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 5.471e-05/0.005659, allocations: 20.84 kB / 0.6421 GB, free: 9.59 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.005661, allocations: 0 / 0.6421 GB, free: 9.59 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.453e-05/0.005675, allocations: 8.859 kB / 0.6421 GB, free: 9.578 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000121/0.005796, allocations: 7.938 kB / 0.6421 GB, free: 9.57 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003362/0.006132, allocations: 156.3 kB / 0.6422 GB, free: 9.391 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.399e-05/0.006166, allocations: 59.34 kB / 0.6423 GB, free: 9.312 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.955e-05/0.006186, allocations: 0 / 0.6423 GB, free: 9.312 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.198e-05/0.006228, allocations: 51.38 kB / 0.6423 GB, free: 9.262 MB / 0.6043 GB Notification: Performance of SimCode: time 2.9e-07/0.006228, allocations: 0 / 0.6423 GB, free: 9.262 MB / 0.6043 GB Notification: Performance of Templates: time 0.001948/0.008176, allocations: 469.2 kB / 0.6428 GB, free: 8.805 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Utilities.Diagnostics.Validation.CheckEquality.makefile [Timeout 660] (rm -f AixLib_AixLib.Utilities.Diagnostics.Validation.CheckEquality.pipe ; mkfifo AixLib_AixLib.Utilities.Diagnostics.Validation.CheckEquality.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Diagnostics.Validation.CheckEquality.pipe >> ../files/AixLib_AixLib.Utilities.Diagnostics.Validation.CheckEquality.sim & ./AixLib_AixLib.Utilities.Diagnostics.Validation.CheckEquality -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.329409516882151]