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) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 91.61 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7174/0.7174, allocations: 132.3 MB / 423.4 MB, free: 2.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003103/0.0003103, allocations: 12.59 kB / 0.5035 GB, free: 4.129 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3772/0.3776, allocations: 81.57 MB / 0.5831 GB, free: 3.969 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Diagnostics.Validation.CheckEquality): time 0.001325/0.3789, allocations: 1.23 MB / 0.5843 GB, free: 3.074 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005065/0.3794, allocations: 411.5 kB / 0.5847 GB, free: 2.789 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.297e-05/0.3795, allocations: 0 / 0.5847 GB, free: 2.789 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.422e-05/0.3795, allocations: 5.734 kB / 0.5847 GB, free: 2.785 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.866e-05/0.3796, allocations: 5.219 kB / 0.5847 GB, free: 2.781 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001566/0.3797, allocations: 12.64 kB / 0.5848 GB, free: 2.777 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.596e-05/0.3798, allocations: 44.8 kB / 0.5848 GB, free: 2.754 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.746e-05/0.3799, allocations: 12.7 kB / 0.5848 GB, free: 2.75 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.589e-05/0.38, allocations: 26.45 kB / 0.5848 GB, free: 2.734 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.147e-05/0.3801, allocations: 16.91 kB / 0.5849 GB, free: 2.727 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.422e-05/0.3801, allocations: 1.781 kB / 0.5849 GB, free: 2.727 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.015e-05/0.3801, allocations: 2 kB / 0.5849 GB, free: 2.727 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.431e-05/0.3801, allocations: 10.5 kB / 0.5849 GB, free: 2.719 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.925e-05/0.3801, allocations: 32.34 kB / 0.5849 GB, free: 2.684 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 6.325e-05/0.3802, allocations: 23.75 kB / 0.5849 GB, free: 2.68 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3802, allocations: 0 / 0.5849 GB, free: 2.68 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3802, allocations: 1.344 kB / 0.5849 GB, free: 2.68 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.056e-06/0.3802, allocations: 0 / 0.5849 GB, free: 2.68 MB / 430.1 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.000364/0.3806, allocations: 366.7 kB / 0.5853 GB, free: 2.309 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.3806, allocations: 13.19 kB / 0.5853 GB, free: 2.305 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.305e-05/0.3807, allocations: 32.53 kB / 0.5853 GB, free: 2.266 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.337e-05/0.3807, allocations: 11.88 kB / 0.5853 GB, free: 2.258 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.503e-05/0.3808, allocations: 170.4 kB / 0.5855 GB, free: 2.055 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.3808, allocations: 5.844 kB / 0.5855 GB, free: 2.051 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.467e-06/0.3808, allocations: 3.125 kB / 0.5855 GB, free: 2.051 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/0.381, allocations: 68.97 kB / 0.5856 GB, free: 2.008 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.712e-06/0.381, allocations: 0 / 0.5856 GB, free: 2.008 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.335e-06/0.381, allocations: 4 kB / 0.5856 GB, free: 2.004 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.381, allocations: 1.938 kB / 0.5856 GB, free: 2.004 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001743/0.3812, allocations: 50.17 kB / 0.5856 GB, free: 1.992 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000338/0.3816, allocations: 297.3 kB / 0.5859 GB, free: 1.699 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002857/0.3819, allocations: 81.81 kB / 0.586 GB, free: 1.656 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.632e-05/0.382, allocations: 26.28 kB / 0.586 GB, free: 1.645 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.382, allocations: 5.641 kB / 0.586 GB, free: 1.641 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.033e-05/0.382, allocations: 32.09 kB / 0.586 GB, free: 1.602 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.382, allocations: 4 kB / 0.586 GB, free: 1.598 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003359/0.3823, allocations: 99.52 kB / 0.5861 GB, free: 1.551 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.739e-05/0.3824, allocations: 52.02 kB / 0.5862 GB, free: 1.488 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.693e-05/0.3824, allocations: 123.2 kB / 0.5863 GB, free: 1.383 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.282e-06/0.3825, allocations: 29.7 kB / 0.5863 GB, free: 1.348 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.65e-05/0.3825, allocations: 95.73 kB / 0.5864 GB, free: 1.254 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.272e-05/0.3825, allocations: 6.281 kB / 0.5864 GB, free: 1.25 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-06/0.3825, allocations: 0 / 0.5864 GB, free: 1.25 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.659e-05/0.3826, allocations: 318.6 kB / 0.5867 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.377e-05/0.3826, allocations: 21.2 kB / 0.5868 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.375e-05/0.3827, allocations: 21.16 kB / 0.5868 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.14e-05/0.3828, allocations: 21.39 kB / 0.5868 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3828, allocations: 3.938 kB / 0.5868 GB, free: 0.918 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002139/0.383, allocations: 83.05 kB / 0.5869 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.3831, allocations: 10.36 kB / 0.5869 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.3831, allocations: 0 / 0.5869 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.3831, allocations: 9.047 kB / 0.5869 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.428e-05/0.3832, allocations: 11.17 kB / 0.5869 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.3832, allocations: 0 / 0.5869 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.183e-05/0.3832, allocations: 11.78 kB / 0.5869 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.3833, allocations: 2.172 kB / 0.5869 GB, free: 0.8555 MB / 430.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.585e-05/0.3833, allocations: 116.1 kB / 0.587 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.506e-05/0.3833, allocations: 2.75 kB / 0.587 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.814e-05/0.3834, allocations: 11.39 kB / 0.587 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3834, allocations: 3.953 kB / 0.587 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3834, allocations: 0.7969 kB / 0.587 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.3834, allocations: 0.6875 kB / 0.587 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001243/0.3835, allocations: 169.9 kB / 0.5872 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3835, allocations: 0 / 0.5872 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.233e-05/0.3836, allocations: 12.81 kB / 0.5872 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.3836, allocations: 8 kB / 0.5872 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.3836, allocations: 0 / 0.5872 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.3836, allocations: 2 kB / 0.5872 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3836, allocations: 3.953 kB / 0.5872 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002107/0.3839, allocations: 178.9 kB / 0.5874 GB, free: 368 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.888e-05/0.3839, allocations: 83.62 kB / 0.5875 GB, free: 268 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.3839, allocations: 1.438 kB / 0.5875 GB, free: 268 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.36e-05/0.384, allocations: 10.33 kB / 0.5875 GB, free: 264 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.763e-05/0.384, allocations: 3.312 kB / 0.5875 GB, free: 264 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.384, allocations: 5.344 kB / 0.5875 GB, free: 260 kB / 430.1 MB Notification: Performance of sorting global known variables: time 3.66e-05/0.3841, allocations: 93.27 kB / 0.5876 GB, free: 180 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3841, allocations: 0 / 0.5876 GB, free: 180 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002162/0.3843, allocations: 5.594 kB / 0.5876 GB, free: 180 kB / 430.1 MB 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 (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.0004825/0.3848, allocations: 0.7093 MB / 0.5883 GB, free: 15.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002033/0.385, allocations: 46.95 kB / 0.5883 GB, free: 15.49 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.385, allocations: 0 / 0.5883 GB, free: 15.49 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.033e-05/0.3851, allocations: 24.8 kB / 0.5884 GB, free: 15.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000254/0.3854, allocations: 6.359 kB / 0.5884 GB, free: 15.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008929/0.3863, allocations: 0.5128 MB / 0.5889 GB, free: 15.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/0.3866, allocations: 0.6843 MB / 0.5895 GB, free: 14.39 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.322e-05/0.3866, allocations: 6.078 kB / 0.5895 GB, free: 14.39 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.847e-05/0.3867, allocations: 15.53 kB / 0.5896 GB, free: 14.38 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3867, allocations: 4 kB / 0.5896 GB, free: 14.37 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01145/0.3981, allocations: 1.25 MB / 0.5908 GB, free: 14.23 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000158/0.3983, allocations: 177.3 kB / 0.591 GB, free: 14 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.539/1.938, allocations: 0 / 0.591 GB, free: 14 MB / 446.1 MB (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) Environment - environmentSimulation: