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.001243/0.001243, allocations: 112.8 kB / 17.78 MB, free: 5.281 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.001196/0.001197, allocations: 180.9 kB / 18.71 MB, free: 4.359 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.401/1.401, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2285/0.2285, allocations: 44.19 MB / 336.8 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 75.88 kB / 470 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3867/0.3887, allocations: 60.82 MB / 0.5184 GB, free: 3.273 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002599/0.3913, allocations: 1.541 MB / 0.5199 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001931/0.3915, allocations: 66.05 kB / 0.52 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.267e-05/0.3916, allocations: 1.469 kB / 0.52 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.429e-05/0.3917, allocations: 8.625 kB / 0.52 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.497e-05/0.3917, allocations: 4.734 kB / 0.52 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.213e-05/0.3918, allocations: 27.36 kB / 0.52 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.547e-05/0.3919, allocations: 40.05 kB / 0.5201 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.499e-05/0.392, allocations: 11.11 kB / 0.5201 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.991e-05/0.392, allocations: 12.59 kB / 0.5201 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.779e-05/0.3921, allocations: 19.84 kB / 0.5201 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.3921, allocations: 1.625 kB / 0.5201 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.899e-06/0.3921, allocations: 2.688 kB / 0.5201 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.265e-05/0.3921, allocations: 5.062 kB / 0.5201 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.42e-05/0.3921, allocations: 23.47 kB / 0.5201 GB, free: 2.062 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 8.377e-05/0.3922, allocations: 39.59 kB / 0.5202 GB, free: 2.043 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3922, allocations: 1.859 kB / 0.5202 GB, free: 2.043 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.3922, allocations: 3.938 kB / 0.5202 GB, free: 2.039 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.636e-06/0.3923, allocations: 0 / 0.5202 GB, free: 2.039 MB / 382.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.0002851/0.3925, allocations: 347.2 kB / 0.5205 GB, free: 1.672 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.103e-05/0.3926, allocations: 10.02 kB / 0.5205 GB, free: 1.672 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.814e-05/0.3926, allocations: 36.58 kB / 0.5206 GB, free: 1.629 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.672e-05/0.3926, allocations: 4.344 kB / 0.5206 GB, free: 1.629 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.3928, allocations: 192.7 kB / 0.5207 GB, free: 1.414 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.136e-06/0.3928, allocations: 1.75 kB / 0.5207 GB, free: 1.414 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.317e-05/0.3928, allocations: 2.656 kB / 0.5207 GB, free: 1.414 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/0.3929, allocations: 73.17 kB / 0.5208 GB, free: 1.348 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.3929, allocations: 3.938 kB / 0.5208 GB, free: 1.344 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.311e-06/0.393, allocations: 1.375 kB / 0.5208 GB, free: 1.344 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.905e-06/0.393, allocations: 0 / 0.5208 GB, free: 1.344 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.536e-05/0.3931, allocations: 30.66 kB / 0.5208 GB, free: 1.332 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003364/0.3934, allocations: 445.7 kB / 0.5213 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001439/0.3935, allocations: 46.5 kB / 0.5213 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.534e-05/0.3936, allocations: 14.14 kB / 0.5213 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.201e-05/0.3936, allocations: 5.094 kB / 0.5213 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.095e-05/0.3936, allocations: 32.36 kB / 0.5214 GB, free: 0.793 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.031e-06/0.3936, allocations: 0 / 0.5214 GB, free: 0.793 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004085/0.3941, allocations: 105 kB / 0.5215 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.101e-05/0.3941, allocations: 57.27 kB / 0.5215 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.313e-05/0.3942, allocations: 114.9 kB / 0.5216 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.753e-06/0.3942, allocations: 25.7 kB / 0.5217 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.017e-05/0.3942, allocations: 100.7 kB / 0.5217 GB, free: 448 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.103e-05/0.3942, allocations: 11.34 kB / 0.5218 GB, free: 440 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.228e-05/0.3943, allocations: 20.69 kB / 0.5218 GB, free: 420 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.897e-05/0.3943, allocations: 321.2 kB / 0.5221 GB, free: 92 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.815e-05/0.3944, allocations: 19.92 kB / 0.5221 GB, free: 84 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.589e-05/0.3944, allocations: 42.16 kB / 0.5221 GB, free: 44 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001264/0.3946, allocations: 59.92 kB / 0.5222 GB, free: 15.99 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3946, allocations: 1.031 kB / 0.5222 GB, free: 15.99 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001749/0.3948, allocations: 87.44 kB / 0.5223 GB, free: 15.94 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.3948, allocations: 6.844 kB / 0.5223 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.902e-06/0.3948, allocations: 0.7031 kB / 0.5223 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.036e-06/0.3948, allocations: 5.281 kB / 0.5223 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.683e-05/0.3949, allocations: 11.88 kB / 0.5223 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.3949, allocations: 2.156 kB / 0.5223 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.214e-05/0.3949, allocations: 11.86 kB / 0.5223 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.3949, allocations: 2.156 kB / 0.5223 GB, free: 15.93 MB / 398.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 8.948e-05/0.395, allocations: 122.5 kB / 0.5224 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.325e-05/0.3951, allocations: 2.156 kB / 0.5224 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.11e-05/0.3951, allocations: 5.812 kB / 0.5225 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.864e-06/0.3951, allocations: 5.703 kB / 0.5225 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.3951, allocations: 0 / 0.5225 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.728e-06/0.3951, allocations: 1.984 kB / 0.5225 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002139/0.3953, allocations: 174.6 kB / 0.5226 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.3953, allocations: 0 / 0.5226 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.666e-05/0.3954, allocations: 14.73 kB / 0.5226 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.3954, allocations: 5.156 kB / 0.5226 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.3955, allocations: 0.7031 kB / 0.5226 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3955, allocations: 1.281 kB / 0.5226 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3955, allocations: 0 / 0.5226 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002496/0.3957, allocations: 175.8 kB / 0.5228 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.073e-05/0.3958, allocations: 83.95 kB / 0.5229 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.3958, allocations: 0.6562 kB / 0.5229 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.159e-05/0.3959, allocations: 11.05 kB / 0.5229 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.113e-05/0.3959, allocations: 2.516 kB / 0.5229 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.3959, allocations: 1.156 kB / 0.5229 GB, free: 15.32 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.284e-05/0.396, allocations: 94.62 kB / 0.523 GB, free: 15.24 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.396, allocations: 0 / 0.523 GB, free: 15.24 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002165/0.3962, allocations: 11.06 kB / 0.523 GB, free: 15.24 MB / 398.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.0005498/0.3968, allocations: 0.7038 MB / 0.5237 GB, free: 14.56 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001607/0.3969, allocations: 40.72 kB / 0.5237 GB, free: 14.55 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3969, allocations: 0.875 kB / 0.5237 GB, free: 14.55 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.008e-05/0.397, allocations: 13.11 kB / 0.5237 GB, free: 14.55 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002752/0.3973, allocations: 13 kB / 0.5238 GB, free: 14.55 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001548/0.3988, allocations: 1.378 MB / 0.5251 GB, free: 13.27 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003275/0.3992, allocations: 0.6957 MB / 0.5258 GB, free: 12.56 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.14e-05/0.3992, allocations: 3.75 kB / 0.5258 GB, free: 12.56 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.859e-05/0.3993, allocations: 14.95 kB / 0.5258 GB, free: 12.55 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3993, allocations: 0 / 0.5258 GB, free: 12.55 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02886/0.4281, allocations: 1.575 MB / 0.5273 GB, free: 12.14 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.776/8.204, allocations: 5.641 kB / 0.5273 GB, free: 12.13 MB / 398.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