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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7054/0.7054, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.607/1.607, allocations: 221.3 MB / 400.4 MB, free: 5.875 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009595/0.0009595, allocations: 90.08 kB / 483.3 MB, free: 5.918 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.237e-05/5.241e-05, allocations: 6.562 kB / 0.5601 GB, free: 87.87 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.2366, allocations: 82.3 MB / 0.6405 GB, free: 7.766 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6702/0.9069, allocations: 111.9 MB / 0.7498 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002681/0.9073, allocations: 74.8 kB / 0.7499 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.004937/0.9122, allocations: 1.471 MB / 0.7513 GB, free: 27.31 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.537e-06/0.9123, allocations: 0 / 0.7513 GB, free: 27.31 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.407e-05/0.9123, allocations: 0 / 0.7513 GB, free: 27.31 MB / 0.5105 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.0005538/0.9129, allocations: 353.5 kB / 0.7517 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.738e-05/0.9129, allocations: 15.59 kB / 0.7517 GB, free: 26.95 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.513e-05/0.913, allocations: 43.67 kB / 0.7517 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.316e-05/0.9131, allocations: 0 / 0.7517 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001809/0.9133, allocations: 174.7 kB / 0.7519 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.868e-05/0.9133, allocations: 7.281 kB / 0.7519 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.541e-05/0.9133, allocations: 0 / 0.7519 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.9135, allocations: 57.52 kB / 0.7519 GB, free: 26.67 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.9135, allocations: 0 / 0.7519 GB, free: 26.67 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.9135, allocations: 3.938 kB / 0.7519 GB, free: 26.67 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.9135, allocations: 0 / 0.7519 GB, free: 26.67 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.963e-05/0.9136, allocations: 30.11 kB / 0.752 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006659/0.9143, allocations: 303.7 kB / 0.7523 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002323/0.9145, allocations: 55.31 kB / 0.7523 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.411e-05/0.9146, allocations: 12.52 kB / 0.7523 GB, free: 26.35 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.9146, allocations: 2.562 kB / 0.7523 GB, free: 26.35 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/0.9147, allocations: 30.56 kB / 0.7524 GB, free: 26.31 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.382e-06/0.9147, allocations: 0 / 0.7524 GB, free: 26.31 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0002318/0.9149, allocations: 57.27 kB / 0.7524 GB, free: 26.28 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.328e-05/0.915, allocations: 51.41 kB / 0.7525 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.9151, allocations: 114.2 kB / 0.7526 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/0.9152, allocations: 29.7 kB / 0.7526 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.265e-05/0.9153, allocations: 95.11 kB / 0.7527 GB, free: 26 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.34e-05/0.9153, allocations: 10.75 kB / 0.7527 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-06/0.9153, allocations: 0 / 0.7527 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.9155, allocations: 317.9 kB / 0.753 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.374e-05/0.9155, allocations: 11.53 kB / 0.753 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.83e-05/0.9155, allocations: 6.578 kB / 0.753 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.706e-05/0.9155, allocations: 11.56 kB / 0.753 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.9155, allocations: 0 / 0.753 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.262e-05/0.9156, allocations: 58.84 kB / 0.7531 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.9157, allocations: 8.844 kB / 0.7531 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.9157, allocations: 0 / 0.7531 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.9157, allocations: 3 kB / 0.7531 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.008e-05/0.9158, allocations: 7.781 kB / 0.7531 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.9158, allocations: 6.672 kB / 0.7531 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.411e-05/0.9159, allocations: 7.688 kB / 0.7531 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.9159, allocations: 0 / 0.7531 GB, free: 25.63 MB / 0.5105 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.596e-05/0.916, allocations: 109.5 kB / 0.7532 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.344e-05/0.916, allocations: 7.844 kB / 0.7532 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.576e-05/0.9161, allocations: 7.594 kB / 0.7532 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.9161, allocations: 3.812 kB / 0.7532 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.9161, allocations: 0 / 0.7532 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.9161, allocations: 3.953 kB / 0.7532 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001842/0.9163, allocations: 174.5 kB / 0.7534 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.9163, allocations: 1.5 kB / 0.7534 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.185e-05/0.9164, allocations: 14.19 kB / 0.7534 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.9164, allocations: 4 kB / 0.7534 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.9164, allocations: 1.969 kB / 0.7534 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.9164, allocations: 0 / 0.7534 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.9164, allocations: 0 / 0.7534 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001522/0.9166, allocations: 150.8 kB / 0.7536 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.29e-05/0.9166, allocations: 84.73 kB / 0.7537 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.9167, allocations: 0 / 0.7537 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.157e-05/0.9168, allocations: 9.984 kB / 0.7537 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.657e-05/0.9168, allocations: 6.656 kB / 0.7537 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.9168, allocations: 12.06 kB / 0.7537 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 6.458e-05/0.9169, allocations: 92.2 kB / 0.7538 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9169, allocations: 0 / 0.7538 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001924/0.9171, allocations: 7.688 kB / 0.7538 GB, free: 24.99 MB / 0.5105 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004582/0.9176, allocations: 0.6814 MB / 0.7544 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 8.942e-05/0.9177, allocations: 21.59 kB / 0.7545 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.9177, allocations: 3.938 kB / 0.7545 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.516e-05/0.9177, allocations: 11.44 kB / 0.7545 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001795/0.9179, allocations: 3.875 kB / 0.7545 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003779/0.9183, allocations: 112.9 kB / 0.7546 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/0.9186, allocations: 0.6924 MB / 0.7553 GB, free: 23.51 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.66e-05/0.9186, allocations: 0.5781 kB / 0.7553 GB, free: 23.51 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.525e-05/0.9187, allocations: 19.92 kB / 0.7553 GB, free: 23.5 MB / 0.5105 GB Notification: Performance of SimCode: time 4.8e-07/0.9187, allocations: 0 / 0.7553 GB, free: 23.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01229/0.931, allocations: 1.23 MB / 0.7565 GB, free: 23.33 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001651/0.9312, allocations: 145.2 kB / 0.7566 GB, free: 23.11 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.528/2.459, allocations: 0 / 0.7566 GB, free: 23.11 MB / 0.5105 GB (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/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Diagnostics_Validation_CheckEquality_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Diagnostics_Validation_CheckEquality.fmu > IDEAS_IDEAS.Utilities.Diagnostics.Validation.CheckEquality.pipe 2>&1)