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.001064/0.001064, allocations: 118.4 kB / 17.79 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.0009904/0.0009904, allocations: 183.8 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.334/1.334, 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.2176/0.2176, allocations: 44.19 MB / 336.8 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 63.89 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.3414, allocations: 60.82 MB / 0.5184 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002316/0.3438, allocations: 1.544 MB / 0.5199 GB, free: 2.223 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002043/0.344, allocations: 65.64 kB / 0.52 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.722e-05/0.3441, allocations: 1.094 kB / 0.52 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.818e-05/0.3442, allocations: 7.094 kB / 0.52 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.45e-05/0.3442, allocations: 7.938 kB / 0.52 GB, free: 2.164 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001126/0.3443, allocations: 22.14 kB / 0.52 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.889e-05/0.3444, allocations: 34.86 kB / 0.5201 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.19e-05/0.3445, allocations: 11.69 kB / 0.5201 GB, free: 2.133 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.674e-05/0.3446, allocations: 14.8 kB / 0.5201 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.68e-05/0.3446, allocations: 18.11 kB / 0.5201 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.3447, allocations: 2.438 kB / 0.5201 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.067e-06/0.3447, allocations: 2.281 kB / 0.5201 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.784e-05/0.3447, allocations: 14.52 kB / 0.5201 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.743e-05/0.3447, allocations: 17.7 kB / 0.5201 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.833e-05/0.3448, allocations: 36.58 kB / 0.5202 GB, free: 2.074 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.3448, allocations: 1.688 kB / 0.5202 GB, free: 2.074 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3448, allocations: 3.938 kB / 0.5202 GB, free: 2.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.3449, allocations: 0 / 0.5202 GB, free: 2.07 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.0003313/0.3452, allocations: 348.1 kB / 0.5205 GB, free: 1.703 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.3452, allocations: 10.5 kB / 0.5205 GB, free: 1.703 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.573e-05/0.3453, allocations: 36.98 kB / 0.5206 GB, free: 1.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.474e-05/0.3453, allocations: 7.281 kB / 0.5206 GB, free: 1.656 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.3455, allocations: 188 kB / 0.5207 GB, free: 1.445 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.906e-06/0.3455, allocations: 6.562 kB / 0.5207 GB, free: 1.441 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/0.3455, allocations: 2.438 kB / 0.5207 GB, free: 1.441 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.3456, allocations: 69.41 kB / 0.5208 GB, free: 1.379 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.515e-06/0.3457, allocations: 3.938 kB / 0.5208 GB, free: 1.375 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.3457, allocations: 1.25 kB / 0.5208 GB, free: 1.375 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.3457, allocations: 4 kB / 0.5208 GB, free: 1.371 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.654e-05/0.3458, allocations: 26.45 kB / 0.5208 GB, free: 1.363 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003554/0.3461, allocations: 442.3 kB / 0.5213 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001433/0.3463, allocations: 51.44 kB / 0.5213 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.536e-05/0.3463, allocations: 13.44 kB / 0.5213 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.822e-06/0.3464, allocations: 0 / 0.5213 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.28e-05/0.3464, allocations: 32.47 kB / 0.5214 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.3464, allocations: 0 / 0.5214 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.000415/0.3468, allocations: 114.1 kB / 0.5215 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.888e-05/0.3468, allocations: 52.16 kB / 0.5215 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.25e-05/0.3469, allocations: 119.3 kB / 0.5216 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.234e-06/0.3469, allocations: 26.41 kB / 0.5217 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.165e-05/0.347, allocations: 97.25 kB / 0.5218 GB, free: 480 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.13e-05/0.347, allocations: 9.891 kB / 0.5218 GB, free: 472 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.091e-05/0.347, allocations: 20.09 kB / 0.5218 GB, free: 452 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.684e-05/0.347, allocations: 323.2 kB / 0.5221 GB, free: 124 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.233e-05/0.3471, allocations: 18.25 kB / 0.5221 GB, free: 116 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.566e-05/0.3472, allocations: 46.39 kB / 0.5221 GB, free: 72 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.541e-05/0.3473, allocations: 56.62 kB / 0.5222 GB, free: 28 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.3473, allocations: 4 kB / 0.5222 GB, free: 24 kB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001742/0.3475, allocations: 88.23 kB / 0.5223 GB, free: 15.97 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.3475, allocations: 6.906 kB / 0.5223 GB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.3475, allocations: 0 / 0.5223 GB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.3475, allocations: 6.156 kB / 0.5223 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.297e-05/0.3476, allocations: 11.44 kB / 0.5223 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/0.3476, allocations: 1.688 kB / 0.5223 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.862e-05/0.3476, allocations: 3.172 kB / 0.5223 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.3477, allocations: 10.92 kB / 0.5223 GB, free: 15.96 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.066e-05/0.3478, allocations: 117.6 kB / 0.5224 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.758e-05/0.3478, allocations: 6.469 kB / 0.5224 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.301e-05/0.3478, allocations: 7.062 kB / 0.5225 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.3478, allocations: 0 / 0.5225 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.3478, allocations: 1.828 kB / 0.5225 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.165e-06/0.3478, allocations: 0 / 0.5225 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001702/0.348, allocations: 175.3 kB / 0.5226 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.348, allocations: 0.6094 kB / 0.5226 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.376e-05/0.3481, allocations: 15 kB / 0.5226 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.3481, allocations: 0 / 0.5226 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.3481, allocations: 9.031 kB / 0.5226 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.3481, allocations: 0.6094 kB / 0.5226 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3481, allocations: 1.344 kB / 0.5226 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002322/0.3484, allocations: 175.4 kB / 0.5228 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.869e-05/0.3484, allocations: 87.81 kB / 0.5229 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.3484, allocations: 4.812 kB / 0.5229 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.431e-05/0.3485, allocations: 3.688 kB / 0.5229 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.813e-05/0.3486, allocations: 2.766 kB / 0.5229 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.3486, allocations: 5.156 kB / 0.5229 GB, free: 15.35 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.731e-05/0.3486, allocations: 94.06 kB / 0.523 GB, free: 15.27 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3486, allocations: 0 / 0.523 GB, free: 15.27 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000231/0.3489, allocations: 10.59 kB / 0.523 GB, free: 15.27 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.0004836/0.3494, allocations: 0.7007 MB / 0.5237 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001475/0.3495, allocations: 36.56 kB / 0.5237 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3495, allocations: 0 / 0.5237 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.334e-05/0.3496, allocations: 22.53 kB / 0.5238 GB, free: 14.58 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002846/0.3499, allocations: 13.39 kB / 0.5238 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001401/0.3513, allocations: 1.365 MB / 0.5251 GB, free: 13.29 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000265/0.3516, allocations: 0.6954 MB / 0.5258 GB, free: 12.59 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.583e-05/0.3516, allocations: 3.516 kB / 0.5258 GB, free: 12.59 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.289e-05/0.3517, allocations: 15.56 kB / 0.5258 GB, free: 12.57 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3517, allocations: 0 / 0.5258 GB, free: 12.57 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01944/0.3711, allocations: 1.569 MB / 0.5273 GB, free: 12.17 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.719/8.09, allocations: 13.56 kB / 0.5273 GB, free: 12.16 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