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.001158/0.001158, allocations: 117.2 kB / 17.78 MB, free: 5.254 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.001076/0.001076, allocations: 184.2 kB / 18.72 MB, free: 4.332 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.371/1.371, 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.203/0.203, allocations: 44.2 MB / 336.8 MB, free: 2.637 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001648/0.001649, allocations: 67.89 kB / 470 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3339, allocations: 60.82 MB / 0.5184 GB, free: 3.277 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002324/0.3363, allocations: 1.55 MB / 0.5199 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002146/0.3365, allocations: 63.25 kB / 0.52 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.676e-05/0.3366, allocations: 1.25 kB / 0.52 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.645e-05/0.3367, allocations: 3.938 kB / 0.52 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.45e-05/0.3368, allocations: 13.2 kB / 0.52 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001204/0.3369, allocations: 21.67 kB / 0.52 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001029/0.337, allocations: 39.41 kB / 0.5201 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.44e-05/0.3371, allocations: 12.17 kB / 0.5201 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.674e-05/0.3371, allocations: 9.656 kB / 0.5201 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.835e-05/0.3372, allocations: 22.36 kB / 0.5201 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.3372, allocations: 2.969 kB / 0.5201 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.02e-05/0.3372, allocations: 2.781 kB / 0.5201 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.623e-05/0.3372, allocations: 2.234 kB / 0.5201 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.024e-05/0.3373, allocations: 27.64 kB / 0.5201 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001062/0.3374, allocations: 30.88 kB / 0.5202 GB, free: 2.051 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3374, allocations: 0 / 0.5202 GB, free: 2.051 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3374, allocations: 3.938 kB / 0.5202 GB, free: 2.047 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.3374, allocations: 1.094 kB / 0.5202 GB, free: 2.047 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.0003531/0.3378, allocations: 355.9 kB / 0.5205 GB, free: 1.672 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.3378, allocations: 8.719 kB / 0.5205 GB, free: 1.672 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.529e-05/0.3378, allocations: 37.11 kB / 0.5206 GB, free: 1.629 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.574e-05/0.3379, allocations: 8.094 kB / 0.5206 GB, free: 1.625 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001584/0.338, allocations: 180 kB / 0.5207 GB, free: 1.422 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.452e-06/0.3381, allocations: 3.406 kB / 0.5207 GB, free: 1.422 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.358e-05/0.3381, allocations: 5.688 kB / 0.5207 GB, free: 1.418 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.3382, allocations: 72.16 kB / 0.5208 GB, free: 1.352 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.3383, allocations: 9 kB / 0.5208 GB, free: 1.344 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.3383, allocations: 4.75 kB / 0.5208 GB, free: 1.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.3383, allocations: 1.125 kB / 0.5208 GB, free: 1.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.839e-05/0.3384, allocations: 22.31 kB / 0.5208 GB, free: 1.336 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004125/0.3388, allocations: 449.9 kB / 0.5213 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000154/0.339, allocations: 38.22 kB / 0.5213 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.411e-05/0.339, allocations: 18.27 kB / 0.5213 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.347e-06/0.339, allocations: 1.125 kB / 0.5213 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.333e-05/0.3391, allocations: 32.53 kB / 0.5214 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.133e-06/0.3391, allocations: 4 kB / 0.5214 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004296/0.3395, allocations: 105.1 kB / 0.5215 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.347e-05/0.3395, allocations: 57.08 kB / 0.5215 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.577e-05/0.3396, allocations: 111 kB / 0.5216 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.975e-06/0.3396, allocations: 25.7 kB / 0.5217 GB, free: 0.543 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.688e-05/0.3397, allocations: 101.2 kB / 0.5217 GB, free: 456 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.173e-05/0.3397, allocations: 14.3 kB / 0.5218 GB, free: 444 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.38e-05/0.3397, allocations: 24.75 kB / 0.5218 GB, free: 420 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.376e-05/0.3398, allocations: 322 kB / 0.5221 GB, free: 92 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.867e-05/0.3398, allocations: 11.08 kB / 0.5221 GB, free: 92 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.158e-05/0.3399, allocations: 41.8 kB / 0.5221 GB, free: 52 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.772e-05/0.34, allocations: 64.19 kB / 0.5222 GB, free: 0 / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.34, allocations: 1 kB / 0.5222 GB, free: 0 / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001877/0.3402, allocations: 88.67 kB / 0.5223 GB, free: 15.94 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.3402, allocations: 10.09 kB / 0.5223 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.3402, allocations: 1.031 kB / 0.5223 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.3402, allocations: 4.969 kB / 0.5223 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.178e-05/0.3403, allocations: 16.47 kB / 0.5223 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.3403, allocations: 5.641 kB / 0.5223 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.827e-05/0.3404, allocations: 3.922 kB / 0.5223 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-06/0.3404, allocations: 2.438 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 7.384e-05/0.3405, allocations: 117.6 kB / 0.5224 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.455e-05/0.3405, allocations: 2.094 kB / 0.5224 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.579e-05/0.3405, allocations: 11.02 kB / 0.5225 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.3405, allocations: 0 / 0.5225 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-06/0.3405, allocations: 5.859 kB / 0.5225 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.3405, allocations: 0 / 0.5225 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001638/0.3407, allocations: 170.9 kB / 0.5226 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3407, allocations: 0 / 0.5226 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.135e-05/0.3408, allocations: 10.44 kB / 0.5226 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.3408, allocations: 2.062 kB / 0.5226 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.3408, allocations: 0 / 0.5226 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3408, allocations: 1.375 kB / 0.5226 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.3408, allocations: 0.6562 kB / 0.5226 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002403/0.3411, allocations: 187.8 kB / 0.5228 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.639e-05/0.3411, allocations: 82.94 kB / 0.5229 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.3412, allocations: 2.031 kB / 0.5229 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.012e-05/0.3412, allocations: 2.5 kB / 0.5229 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.842e-05/0.3413, allocations: 3.797 kB / 0.5229 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.3413, allocations: 1.188 kB / 0.5229 GB, free: 15.33 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.576e-05/0.3413, allocations: 89.11 kB / 0.523 GB, free: 15.25 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3413, allocations: 0 / 0.523 GB, free: 15.25 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002251/0.3416, allocations: 19 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.0005156/0.3421, allocations: 0.696 MB / 0.5237 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001514/0.3423, allocations: 41.28 kB / 0.5237 GB, free: 14.56 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3423, allocations: 4.344 kB / 0.5237 GB, free: 14.56 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.376e-05/0.3423, allocations: 18.53 kB / 0.5238 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.0002762/0.3426, allocations: 12.78 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.00149/0.3441, allocations: 1.376 MB / 0.5251 GB, free: 13.27 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003202/0.3444, allocations: 0.6957 MB / 0.5258 GB, free: 12.56 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.932e-05/0.3445, allocations: 4.156 kB / 0.5258 GB, free: 12.56 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.103e-05/0.3445, allocations: 15.62 kB / 0.5258 GB, free: 12.55 MB / 398.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3445, allocations: 0 / 0.5258 GB, free: 12.55 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02216/0.3667, allocations: 1.563 MB / 0.5273 GB, free: 12.14 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.783/8.15, allocations: 13.38 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