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.006019/0.006019, allocations: 101.3 kB / 15.73 MB, free: 6.012 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.00127/0.001271, allocations: 193.7 kB / 16.67 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7942/0.7942, allocations: 132.2 MB / 422.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 70.39 kB / 0.5808 GB, free: 1.137 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.154, allocations: 80.2 MB / 0.6592 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Diagnostics.Validation.CheckEquality): time 0.002578/0.1566, allocations: 1.524 MB / 0.6606 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008036/0.1575, allocations: 446.8 kB / 0.6611 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.629e-05/0.1576, allocations: 4 kB / 0.6611 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.284e-05/0.1576, allocations: 3.938 kB / 0.6611 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.818e-05/0.1577, allocations: 7.938 kB / 0.6611 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002381/0.158, allocations: 23.91 kB / 0.6611 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.978e-05/0.1581, allocations: 43.84 kB / 0.6611 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.1582, allocations: 19.92 kB / 0.6612 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000123/0.1583, allocations: 35.84 kB / 0.6612 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.544e-05/0.1584, allocations: 27.91 kB / 0.6612 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.1584, allocations: 4 kB / 0.6612 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.919e-06/0.1584, allocations: 4 kB / 0.6612 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.819e-05/0.1584, allocations: 7.938 kB / 0.6612 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.796e-05/0.1585, allocations: 23.86 kB / 0.6613 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.899e-05/0.1586, allocations: 35.88 kB / 0.6613 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1586, allocations: 4 kB / 0.6613 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.163e-06/0.1586, allocations: 0 / 0.6613 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.1586, allocations: 0 / 0.6613 GB, free: 11.83 MB / 0.4981 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.0004527/0.1591, allocations: 367 kB / 0.6617 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.1591, allocations: 8.031 kB / 0.6617 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.633e-05/0.1591, allocations: 38.73 kB / 0.6617 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.537e-05/0.1592, allocations: 4.938 kB / 0.6617 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001015/0.1593, allocations: 168.2 kB / 0.6619 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.567e-05/0.1593, allocations: 8.375 kB / 0.6619 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.1593, allocations: 4.312 kB / 0.6619 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001948/0.1595, allocations: 73.78 kB / 0.6619 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.1595, allocations: 0 / 0.6619 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.1596, allocations: 0 / 0.6619 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.1596, allocations: 0 / 0.6619 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001685/0.1597, allocations: 39.97 kB / 0.662 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003963/0.1601, allocations: 300.6 kB / 0.6623 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003087/0.1605, allocations: 62.55 kB / 0.6623 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.564e-05/0.1606, allocations: 24.91 kB / 0.6624 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.1606, allocations: 3.984 kB / 0.6624 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.913e-05/0.1606, allocations: 34.56 kB / 0.6624 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.1606, allocations: 3.938 kB / 0.6624 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003352/0.161, allocations: 89.56 kB / 0.6625 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.161, allocations: 51.41 kB / 0.6625 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.847e-05/0.1611, allocations: 121.1 kB / 0.6626 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.1611, allocations: 29.69 kB / 0.6627 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.864e-05/0.1612, allocations: 92.14 kB / 0.6628 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.832e-05/0.1612, allocations: 3.906 kB / 0.6628 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.544e-05/0.1612, allocations: 13.72 kB / 0.6628 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.1614, allocations: 326.8 kB / 0.6631 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.823e-05/0.1614, allocations: 19.98 kB / 0.6631 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.381e-05/0.1615, allocations: 15.92 kB / 0.6631 GB, free: 9.75 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001589/0.1617, allocations: 44.77 kB / 0.6632 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1617, allocations: 0 / 0.6632 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001987/0.1619, allocations: 73.86 kB / 0.6632 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.1619, allocations: 8 kB / 0.6632 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.1619, allocations: 4 kB / 0.6632 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.162, allocations: 4.031 kB / 0.6633 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.721e-05/0.162, allocations: 11.98 kB / 0.6633 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.1621, allocations: 0 / 0.6633 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.48e-05/0.1621, allocations: 7.984 kB / 0.6633 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.1621, allocations: 3.938 kB / 0.6633 GB, free: 9.586 MB / 0.4981 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 7.133e-05/0.1622, allocations: 113.8 kB / 0.6634 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.733e-05/0.1622, allocations: 11.91 kB / 0.6634 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.132e-05/0.1623, allocations: 3.906 kB / 0.6634 GB, free: 9.438 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.1623, allocations: 4 kB / 0.6634 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1623, allocations: 3.938 kB / 0.6634 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.1623, allocations: 0 / 0.6634 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001673/0.1625, allocations: 181.5 kB / 0.6636 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-06/0.1625, allocations: 0 / 0.6636 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.237e-05/0.1626, allocations: 11.98 kB / 0.6636 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.1626, allocations: 0 / 0.6636 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-06/0.1626, allocations: 0 / 0.6636 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1626, allocations: 4 kB / 0.6636 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1626, allocations: 4 kB / 0.6636 GB, free: 9.184 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002304/0.1628, allocations: 163.5 kB / 0.6638 GB, free: 9.008 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.595e-05/0.1629, allocations: 85.02 kB / 0.6638 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.1629, allocations: 0 / 0.6638 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.947e-05/0.163, allocations: 0 / 0.6638 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.14e-05/0.163, allocations: 15.98 kB / 0.6639 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.163, allocations: 0 / 0.6639 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.807e-05/0.1631, allocations: 99.2 kB / 0.6639 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1631, allocations: 3.938 kB / 0.6639 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002183/0.1633, allocations: 4 kB / 0.664 GB, free: 8.785 MB / 0.4981 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.0005233/0.1639, allocations: 0.6968 MB / 0.6646 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002241/0.1641, allocations: 35.97 kB / 0.6647 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1641, allocations: 0 / 0.6647 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.729e-05/0.1642, allocations: 23.92 kB / 0.6647 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000274/0.1645, allocations: 8 kB / 0.6647 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001494/0.166, allocations: 1.34 MB / 0.666 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002369/0.1662, allocations: 0.6846 MB / 0.6667 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.598e-05/0.1663, allocations: 0 / 0.6667 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.771e-05/0.1663, allocations: 23.36 kB / 0.6667 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1663, allocations: 0 / 0.6667 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01726/0.1836, allocations: 1.513 MB / 0.6682 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.258/7.442, allocations: 23.36 kB / 0.6682 GB, free: 4.434 MB / 0.4981 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/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)