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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008435/0.0008435, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 170.3 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.892/0.892, allocations: 177.1 MB / 204.3 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2249/0.2249, allocations: 32.79 MB / 293.5 MB, free: 1.238 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 3.938 kB / 439.6 MB, free: 4.277 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.164e-05/2.342e-05, allocations: 2.844 kB / 439.6 MB, free: 4.273 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.001944/0.001967, allocations: 1.56 MB / 441.1 MB, free: 2.703 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002341/0.002202, allocations: 67.67 kB / 441.2 MB, free: 2.637 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.048e-05/0.002262, allocations: 4 kB / 441.2 MB, free: 2.633 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001014/0.002363, allocations: 7.922 kB / 441.2 MB, free: 2.625 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.8e-05/0.002391, allocations: 7.938 kB / 441.2 MB, free: 2.617 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002516/0.002643, allocations: 23.91 kB / 441.2 MB, free: 2.594 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.633e-05/0.002739, allocations: 35.92 kB / 441.3 MB, free: 2.559 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.18e-05/0.002831, allocations: 11.98 kB / 441.3 MB, free: 2.547 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.814e-05/0.002869, allocations: 15.92 kB / 441.3 MB, free: 2.531 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.973e-05/0.002919, allocations: 7.984 kB / 441.3 MB, free: 2.523 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.124e-05/0.00294, allocations: 4 kB / 441.3 MB, free: 2.52 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.867e-06/0.002949, allocations: 4 kB / 441.3 MB, free: 2.516 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.792e-05/0.002967, allocations: 11.92 kB / 441.3 MB, free: 2.504 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.834e-05/0.002985, allocations: 4 kB / 441.3 MB, free: 2.5 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 9.531e-05/0.003081, allocations: 35.83 kB / 441.4 MB, free: 2.465 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.814e-06/0.003083, allocations: 4 kB / 441.4 MB, free: 2.461 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.003083, allocations: 3.938 kB / 441.4 MB, free: 2.457 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.003087, allocations: 0 / 441.4 MB, free: 2.457 MB / 410.7 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.000337/0.003424, allocations: 278.2 kB / 441.6 MB, free: 2.152 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.003463, allocations: 8.031 kB / 441.7 MB, free: 2.145 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.6e-05/0.003489, allocations: 34.73 kB / 441.7 MB, free: 2.102 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.31e-05/0.003512, allocations: 12.89 kB / 441.7 MB, free: 2.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.003658, allocations: 113.8 kB / 441.8 MB, free: 1.953 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.506e-06/0.003667, allocations: 384 / 441.8 MB, free: 1.953 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.906e-05/0.003686, allocations: 12.38 kB / 441.8 MB, free: 1.941 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.00381, allocations: 76.75 kB / 441.9 MB, free: 1.852 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.003817, allocations: 4.188 kB / 441.9 MB, free: 1.848 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.003826, allocations: 384 / 441.9 MB, free: 1.848 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.003832, allocations: 8.109 kB / 441.9 MB, free: 1.84 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.453e-05/0.003886, allocations: 19.98 kB / 441.9 MB, free: 1.82 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000346/0.004232, allocations: 416.2 kB / 442.3 MB, free: 1.363 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.004352, allocations: 46.5 kB / 442.4 MB, free: 1.309 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.796e-05/0.00438, allocations: 16.88 kB / 442.4 MB, free: 1.289 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.881e-05/0.004398, allocations: 4 kB / 442.4 MB, free: 1.285 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.763e-05/0.004416, allocations: 38.5 kB / 442.4 MB, free: 1.238 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.004417, allocations: 0 / 442.4 MB, free: 1.238 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003185/0.004736, allocations: 97.56 kB / 442.5 MB, free: 1.137 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.812e-05/0.004764, allocations: 55.41 kB / 442.6 MB, free: 1.07 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.223e-05/0.004826, allocations: 125.7 kB / 442.7 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.997e-06/0.004835, allocations: 29.7 kB / 442.7 MB, free: 0.9023 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.263e-05/0.004878, allocations: 92.09 kB / 442.8 MB, free: 0.8086 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.005e-05/0.004888, allocations: 11.84 kB / 442.8 MB, free: 0.7969 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.06e-05/0.004918, allocations: 25.7 kB / 442.9 MB, free: 0.7656 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.266e-05/0.004991, allocations: 314.8 kB / 443.2 MB, free: 460 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.805e-05/0.005019, allocations: 15.98 kB / 443.2 MB, free: 444 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.524e-05/0.005054, allocations: 39.42 kB / 443.2 MB, free: 392 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.815e-05/0.005122, allocations: 67.3 kB / 443.3 MB, free: 312 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.005123, allocations: 0 / 443.3 MB, free: 312 kB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.356e-05/0.005217, allocations: 81.89 kB / 443.4 MB, free: 224 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.005228, allocations: 8 kB / 443.4 MB, free: 216 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.005233, allocations: 0 / 443.4 MB, free: 216 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.005242, allocations: 0 / 443.4 MB, free: 216 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.698e-05/0.005279, allocations: 19.92 kB / 443.4 MB, free: 196 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.005283, allocations: 0 / 443.4 MB, free: 196 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.097e-05/0.005304, allocations: 8.141 kB / 443.4 MB, free: 188 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.005311, allocations: 11.98 kB / 443.4 MB, free: 176 kB / 410.7 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 6.262e-05/0.005374, allocations: 114.4 kB / 443.5 MB, free: 52 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.383e-05/0.005388, allocations: 11.94 kB / 443.5 MB, free: 40 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.862e-05/0.005406, allocations: 4 kB / 443.6 MB, free: 32 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.005408, allocations: 4 kB / 443.6 MB, free: 28 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.005412, allocations: 0 / 443.6 MB, free: 28 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.005414, allocations: 0 / 443.6 MB, free: 28 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1582/0.1636, allocations: 136.5 kB / 443.7 MB, free: 46.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.1636, allocations: 6.594 kB / 443.7 MB, free: 46.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.857e-05/0.1637, allocations: 10.8 kB / 443.7 MB, free: 46.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.1637, allocations: 4.312 kB / 443.7 MB, free: 46.17 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.1637, allocations: 0 / 443.7 MB, free: 46.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.1637, allocations: 0 / 443.7 MB, free: 46.17 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.1637, allocations: 7 kB / 443.7 MB, free: 46.17 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000171/0.1639, allocations: 181.6 kB / 443.9 MB, free: 46.04 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.345e-06/0.1639, allocations: 6.328 kB / 443.9 MB, free: 46.04 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.158e-05/0.1639, allocations: 0.75 kB / 443.9 MB, free: 46.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.335e-05/0.164, allocations: 3.844 kB / 443.9 MB, free: 46.04 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.174e-05/0.164, allocations: 3.234 kB / 443.9 MB, free: 46.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.097e-06/0.164, allocations: 1.609 kB / 443.9 MB, free: 46.04 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.592e-05/0.164, allocations: 92.86 kB / 444 MB, free: 45.97 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.164, allocations: 0 / 444 MB, free: 45.97 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001556/0.1642, allocations: 7.594 kB / 444 MB, free: 45.97 MB / 410.7 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.0002052/0.1644, allocations: 0.7014 MB / 444.7 MB, free: 45.32 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.978e-05/0.1645, allocations: 42.91 kB / 444.7 MB, free: 45.32 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.1645, allocations: 0 / 444.7 MB, free: 45.32 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.187e-05/0.1645, allocations: 16.56 kB / 444.8 MB, free: 45.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002134/0.1647, allocations: 19.69 kB / 444.8 MB, free: 45.32 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007492/0.1655, allocations: 1.352 MB / 446.1 MB, free: 44.13 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.668e-05/0.1655, allocations: 68.72 kB / 446.2 MB, free: 44.06 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.142e-05/0.1655, allocations: 8.875 kB / 446.2 MB, free: 44.06 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.748e-05/0.1656, allocations: 16.31 kB / 446.2 MB, free: 44.05 MB / 410.7 MB Notification: Performance of SimCode: time 7.22e-07/0.1656, allocations: 4.844 kB / 446.2 MB, free: 44.05 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01312/0.1787, allocations: 2.184 MB / 448.4 MB, free: 43.2 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.922/7.101, allocations: 0.5 kB / 448.4 MB, free: 43.2 MB / 410.7 MB " [Timeout remaining time 653] (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.00019992 ModelicaTest_4_0_0_ModelicaTest_Blocks_IntegratorForceState.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.100360096432269]