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.00133/0.00133, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001436/0.001436, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.179/2.179, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.285/1.285, allocations: 132.2 MB / 423.2 MB, free: 2.195 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005075/0.0005076, allocations: 12 kB / 0.5033 GB, free: 4.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7769/0.7774, allocations: 81.57 MB / 0.583 GB, free: 4 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Diagnostics.Validation.CheckEquality): time 0.002627/0.7801, allocations: 1.226 MB / 0.5842 GB, free: 3.113 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009895/0.7811, allocations: 404 kB / 0.5845 GB, free: 2.836 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.479e-05/0.7812, allocations: 4 kB / 0.5845 GB, free: 2.832 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.211e-05/0.7812, allocations: 5.344 kB / 0.5846 GB, free: 2.828 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 8.367e-05/0.7813, allocations: 9.453 kB / 0.5846 GB, free: 2.82 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000245/0.7816, allocations: 12.61 kB / 0.5846 GB, free: 2.816 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.7817, allocations: 32.38 kB / 0.5846 GB, free: 2.797 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.7818, allocations: 17.36 kB / 0.5846 GB, free: 2.789 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001397/0.782, allocations: 14.52 kB / 0.5846 GB, free: 2.785 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.871e-05/0.7821, allocations: 21.05 kB / 0.5847 GB, free: 2.773 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.924e-05/0.7821, allocations: 1.969 kB / 0.5847 GB, free: 2.773 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.601e-05/0.7821, allocations: 1.406 kB / 0.5847 GB, free: 2.773 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.092e-05/0.7822, allocations: 6.875 kB / 0.5847 GB, free: 2.77 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.151e-05/0.7822, allocations: 32.11 kB / 0.5847 GB, free: 2.734 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 9.922e-05/0.7823, allocations: 31.75 kB / 0.5847 GB, free: 2.723 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.7823, allocations: 0 / 0.5847 GB, free: 2.723 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.7824, allocations: 0.625 kB / 0.5847 GB, free: 2.723 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.389e-06/0.7824, allocations: 0 / 0.5847 GB, free: 2.723 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.0005769/0.783, allocations: 366.6 kB / 0.5851 GB, free: 2.352 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.324e-05/0.783, allocations: 9.625 kB / 0.5851 GB, free: 2.352 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.362e-05/0.7831, allocations: 32.39 kB / 0.5851 GB, free: 2.312 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.553e-05/0.7831, allocations: 3.625 kB / 0.5851 GB, free: 2.312 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.7832, allocations: 175 kB / 0.5853 GB, free: 2.105 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.026e-05/0.7833, allocations: 10 kB / 0.5853 GB, free: 2.098 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.44e-05/0.7833, allocations: 6.25 kB / 0.5853 GB, free: 2.094 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002972/0.7836, allocations: 68.22 kB / 0.5854 GB, free: 2.051 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.7836, allocations: 0 / 0.5854 GB, free: 2.051 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.7837, allocations: 0.7969 kB / 0.5854 GB, free: 2.051 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.7837, allocations: 1.875 kB / 0.5854 GB, free: 2.051 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003309/0.784, allocations: 51.34 kB / 0.5854 GB, free: 2.039 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006018/0.7846, allocations: 300.7 kB / 0.5857 GB, free: 1.742 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005228/0.7852, allocations: 73.61 kB / 0.5858 GB, free: 1.707 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/0.7852, allocations: 0 / 0.5858 GB, free: 1.707 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.7853, allocations: 36.47 kB / 0.5858 GB, free: 1.664 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.362e-06/0.7853, allocations: 3.938 kB / 0.5858 GB, free: 1.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0006351/0.7859, allocations: 104 kB / 0.5859 GB, free: 1.609 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.383e-05/0.786, allocations: 52.11 kB / 0.586 GB, free: 1.547 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.7861, allocations: 119 kB / 0.5861 GB, free: 1.441 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.7861, allocations: 26.55 kB / 0.5861 GB, free: 1.41 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.829e-05/0.7862, allocations: 96.03 kB / 0.5862 GB, free: 1.316 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.672e-05/0.7862, allocations: 5.406 kB / 0.5862 GB, free: 1.312 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-06/0.7862, allocations: 0 / 0.5862 GB, free: 1.312 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.133e-05/0.7863, allocations: 323 kB / 0.5865 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001643/0.7865, allocations: 21.72 kB / 0.5865 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001715/0.7867, allocations: 16.78 kB / 0.5865 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001607/0.7869, allocations: 25.25 kB / 0.5866 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.7869, allocations: 0 / 0.5866 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003994/0.7873, allocations: 87.97 kB / 0.5867 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/0.7873, allocations: 4.781 kB / 0.5867 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.7874, allocations: 0.7812 kB / 0.5867 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.7874, allocations: 1.062 kB / 0.5867 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001464/0.7875, allocations: 15.53 kB / 0.5867 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.7876, allocations: 4.469 kB / 0.5867 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001076/0.7877, allocations: 11.48 kB / 0.5867 GB, free: 0.918 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/0.7877, allocations: 0.8125 kB / 0.5867 GB, free: 0.918 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 9.126e-05/0.7878, allocations: 113.3 kB / 0.5868 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.775e-05/0.7879, allocations: 2.609 kB / 0.5868 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.041e-05/0.7879, allocations: 6.703 kB / 0.5868 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.7879, allocations: 0.75 kB / 0.5868 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.788, allocations: 4.891 kB / 0.5868 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.788, allocations: 4.703 kB / 0.5868 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002498/0.7882, allocations: 173.1 kB / 0.587 GB, free: 0.582 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.7883, allocations: 0 / 0.587 GB, free: 0.582 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001223/0.7884, allocations: 12.77 kB / 0.587 GB, free: 0.582 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.7884, allocations: 0 / 0.587 GB, free: 0.582 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.7884, allocations: 1.984 kB / 0.587 GB, free: 0.582 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.439e-06/0.7884, allocations: 7.938 kB / 0.587 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.7884, allocations: 3.938 kB / 0.587 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004103/0.7889, allocations: 188 kB / 0.5872 GB, free: 424 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.349e-05/0.7889, allocations: 82.59 kB / 0.5873 GB, free: 324 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.625e-05/0.789, allocations: 2.438 kB / 0.5873 GB, free: 324 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001587/0.7891, allocations: 9.969 kB / 0.5873 GB, free: 320 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.86e-05/0.7892, allocations: 2.156 kB / 0.5873 GB, free: 320 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.458e-06/0.7892, allocations: 5.656 kB / 0.5873 GB, free: 316 kB / 430.1 MB Notification: Performance of sorting global known variables: time 6.823e-05/0.7893, allocations: 93.31 kB / 0.5874 GB, free: 236 kB / 430.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.7893, allocations: 0 / 0.5874 GB, free: 236 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004492/0.7898, allocations: 6.25 kB / 0.5874 GB, free: 236 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.0008176/0.7906, allocations: 0.7079 MB / 0.5881 GB, free: 15.55 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000371/0.791, allocations: 47.05 kB / 0.5881 GB, free: 15.54 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.791, allocations: 0 / 0.5881 GB, free: 15.54 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001656/0.7912, allocations: 24.75 kB / 0.5881 GB, free: 15.54 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003244/0.7915, allocations: 9.938 kB / 0.5881 GB, free: 15.54 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00167/0.7932, allocations: 0.4962 MB / 0.5886 GB, free: 15.16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003459/0.7936, allocations: 0.6914 MB / 0.5893 GB, free: 14.46 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.472e-05/0.7936, allocations: 5.828 kB / 0.5893 GB, free: 14.45 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.647e-05/0.7937, allocations: 19.91 kB / 0.5893 GB, free: 14.44 MB / 446.1 MB Notification: Performance of SimCode: time 4.41e-07/0.7937, allocations: 3.938 kB / 0.5893 GB, free: 14.43 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01857/0.8123, allocations: 1.236 MB / 0.5905 GB, free: 14.29 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003166/0.8127, allocations: 173.2 kB / 0.5907 GB, free: 14.06 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.735/3.547, allocations: 0 / 0.5907 GB, free: 14.06 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: