Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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 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(ModelicaTest.Blocks.IntegratorForceState,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_IntegratorForceState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.IntegratorForceState,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_IntegratorForceState",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.001121/0.001121, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001177/0.001177, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.339/1.339, allocations: 222.9 MB / 242.3 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2112/0.2112, allocations: 44.18 MB / 336.6 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002355/0.002355, allocations: 67.08 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1582, allocations: 60.82 MB / 469.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.004827/0.1631, allocations: 1.54 MB / 470.9 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003794/0.1635, allocations: 67.78 kB / 471 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.1637, allocations: 0 / 471 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00016/0.1639, allocations: 7.875 kB / 471 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.569e-05/0.164, allocations: 7.938 kB / 471 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001855/0.1642, allocations: 23.97 kB / 471 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00017/0.1643, allocations: 31.92 kB / 471 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001371/0.1645, allocations: 12 kB / 471 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.426e-05/0.1646, allocations: 11.92 kB / 471 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.48e-05/0.1647, allocations: 15.88 kB / 471.1 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.1647, allocations: 0 / 471.1 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.836e-05/0.1647, allocations: 4 kB / 471.1 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.741e-05/0.1648, allocations: 11.97 kB / 471.1 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.796e-05/0.1648, allocations: 15.88 kB / 471.1 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001319/0.165, allocations: 36.12 kB / 471.1 MB, free: 12.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.165, allocations: 7.938 kB / 471.1 MB, free: 12.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.165, allocations: 0 / 471.1 MB, free: 12.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.165, allocations: 0 / 471.1 MB, free: 12.46 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005884/0.1656, allocations: 347.5 kB / 471.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.308e-05/0.1657, allocations: 8.031 kB / 471.5 MB, free: 12.06 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.014e-05/0.1657, allocations: 38.73 kB / 471.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.843e-05/0.1658, allocations: 4.844 kB / 471.5 MB, free: 12.01 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002564/0.1661, allocations: 192.2 kB / 471.7 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.1661, allocations: 4.375 kB / 471.7 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.14e-05/0.1661, allocations: 4.375 kB / 471.7 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002365/0.1664, allocations: 68.77 kB / 471.8 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.1664, allocations: 7.875 kB / 471.8 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.1664, allocations: 0 / 471.8 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/0.1665, allocations: 4 kB / 471.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001468/0.1666, allocations: 27.95 kB / 471.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006706/0.1673, allocations: 449.2 kB / 472.3 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002353/0.1676, allocations: 38.56 kB / 472.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.477e-05/0.1677, allocations: 24.94 kB / 472.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/0.1677, allocations: 3.938 kB / 472.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.1677, allocations: 30.56 kB / 472.4 MB, free: 11.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.563e-06/0.1677, allocations: 3.938 kB / 472.4 MB, free: 11.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0006423/0.1684, allocations: 97.47 kB / 472.5 MB, free: 10.94 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/0.1685, allocations: 59.34 kB / 472.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.1686, allocations: 121.8 kB / 472.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.1686, allocations: 25.7 kB / 472.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.079e-05/0.1687, allocations: 95.98 kB / 472.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.97e-05/0.1688, allocations: 11.81 kB / 472.8 MB, free: 10.6 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.08e-05/0.1688, allocations: 21.7 kB / 472.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.169, allocations: 318.8 kB / 473.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.941e-05/0.1691, allocations: 15.98 kB / 473.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.631e-05/0.1692, allocations: 43.42 kB / 473.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001657/0.1694, allocations: 59.36 kB / 473.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.1694, allocations: 4 kB / 473.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002526/0.1697, allocations: 85.52 kB / 473.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.1697, allocations: 10.5 kB / 473.3 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.1697, allocations: 0 / 473.3 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.1697, allocations: 0 / 473.3 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.232e-05/0.1698, allocations: 15.94 kB / 473.3 MB, free: 9.992 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.1699, allocations: 3.984 kB / 473.3 MB, free: 9.988 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.69e-05/0.1699, allocations: 4 kB / 473.3 MB, free: 9.984 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.17, allocations: 4 kB / 473.3 MB, free: 9.98 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 0.0001054/0.1701, allocations: 117.9 kB / 473.5 MB, free: 9.855 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.854e-05/0.1701, allocations: 4 kB / 473.5 MB, free: 9.852 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.134e-05/0.1702, allocations: 7.906 kB / 473.5 MB, free: 9.844 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.89e-06/0.1702, allocations: 4 kB / 473.5 MB, free: 9.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.1702, allocations: 0 / 473.5 MB, free: 9.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.1702, allocations: 3.938 kB / 473.5 MB, free: 9.836 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002656/0.1705, allocations: 173.6 kB / 473.6 MB, free: 9.617 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.1705, allocations: 3.984 kB / 473.6 MB, free: 9.613 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001103/0.1706, allocations: 8 kB / 473.7 MB, free: 9.605 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.545e-06/0.1706, allocations: 0 / 473.7 MB, free: 9.605 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.1707, allocations: 11.94 kB / 473.7 MB, free: 9.594 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.1707, allocations: 384 / 473.7 MB, free: 9.594 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1707, allocations: 0 / 473.7 MB, free: 9.594 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003568/0.1711, allocations: 179.7 kB / 473.8 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.503e-05/0.1711, allocations: 89.05 kB / 473.9 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.204e-05/0.1712, allocations: 3.938 kB / 473.9 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.1713, allocations: 4.062 kB / 473.9 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.582e-05/0.1714, allocations: 7.984 kB / 473.9 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.079e-06/0.1714, allocations: 0 / 473.9 MB, free: 9.281 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.058e-05/0.1715, allocations: 87.28 kB / 474 MB, free: 9.195 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.1715, allocations: 0 / 474 MB, free: 9.195 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004381/0.1719, allocations: 11.94 kB / 474 MB, free: 9.184 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (gain.y) * 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 (4): * Single equations (assignments): 4 * 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.0008047/0.1728, allocations: 0.7047 MB / 474.7 MB, free: 8.449 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002577/0.173, allocations: 43.91 kB / 474.8 MB, free: 8.406 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1731, allocations: 0 / 474.8 MB, free: 8.406 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.765e-05/0.1731, allocations: 15.98 kB / 474.8 MB, free: 8.391 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005554/0.1737, allocations: 7.938 kB / 474.8 MB, free: 8.383 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002281/0.176, allocations: 1.375 MB / 476.2 MB, free: 6.914 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003963/0.1764, allocations: 0.6846 MB / 476.9 MB, free: 6.203 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.666e-05/0.1765, allocations: 7.984 kB / 476.9 MB, free: 6.195 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.833e-05/0.1766, allocations: 11.44 kB / 476.9 MB, free: 6.184 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1766, allocations: 4 kB / 476.9 MB, free: 6.18 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02512/0.2017, allocations: 1.537 MB / 478.4 MB, free: 4.691 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.659/7.861, allocations: 7.984 kB / 478.4 MB, free: 4.684 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_0_0_ModelicaTest_Blocks_IntegratorForceState.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches