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.001497/0.001497, allocations: 114.4 kB / 17.78 MB, free: 5.266 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.001624/0.001624, allocations: 187.8 kB / 18.71 MB, free: 4.344 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.424/1.424, allocations: 222.9 MB / 242.4 MB, free: 15.04 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.228/0.228, allocations: 44.18 MB / 336.8 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002318/0.002318, allocations: 63.89 kB / 470 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4421/0.4445, allocations: 60.83 MB / 0.5184 GB, free: 3.277 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.004122/0.4486, allocations: 1.541 MB / 0.5199 GB, free: 2.203 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003075/0.449, allocations: 69.61 kB / 0.52 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001062/0.4491, allocations: 5.219 kB / 0.52 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00013/0.4492, allocations: 5.25 kB / 0.52 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.689e-05/0.4493, allocations: 5.922 kB / 0.52 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001662/0.4495, allocations: 16.31 kB / 0.52 GB, free: 2.133 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001555/0.4497, allocations: 40.56 kB / 0.5201 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.4498, allocations: 7.594 kB / 0.5201 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.454e-05/0.4499, allocations: 14.2 kB / 0.5201 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.255e-05/0.4499, allocations: 22.02 kB / 0.5201 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/0.45, allocations: 2.281 kB / 0.5201 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.145e-05/0.45, allocations: 2.281 kB / 0.5201 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.103e-05/0.45, allocations: 6.875 kB / 0.5201 GB, free: 2.086 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.323e-05/0.4501, allocations: 20.8 kB / 0.5201 GB, free: 2.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001393/0.4502, allocations: 33.8 kB / 0.5202 GB, free: 2.059 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.794e-06/0.4502, allocations: 0 / 0.5202 GB, free: 2.059 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.026e-06/0.4502, allocations: 3.938 kB / 0.5202 GB, free: 2.055 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.288e-05/0.4502, allocations: 0 / 0.5202 GB, free: 2.055 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.0004902/0.4507, allocations: 356.1 kB / 0.5205 GB, free: 1.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.669e-05/0.4508, allocations: 9.406 kB / 0.5205 GB, free: 1.68 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.966e-05/0.4508, allocations: 36.7 kB / 0.5205 GB, free: 1.637 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.869e-05/0.4509, allocations: 7.844 kB / 0.5206 GB, free: 1.633 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002821/0.4512, allocations: 176.8 kB / 0.5207 GB, free: 1.434 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.4512, allocations: 6.625 kB / 0.5207 GB, free: 1.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.091e-05/0.4512, allocations: 2.562 kB / 0.5207 GB, free: 1.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002249/0.4515, allocations: 76.73 kB / 0.5208 GB, free: 1.359 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.4515, allocations: 3.938 kB / 0.5208 GB, free: 1.355 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.4515, allocations: 0.6562 kB / 0.5208 GB, free: 1.355 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.4515, allocations: 1.188 kB / 0.5208 GB, free: 1.355 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001173/0.4517, allocations: 27.08 kB / 0.5208 GB, free: 1.348 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005862/0.4522, allocations: 441.3 kB / 0.5213 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001972/0.4525, allocations: 47.42 kB / 0.5213 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.487e-05/0.4525, allocations: 17.67 kB / 0.5213 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.4525, allocations: 0 / 0.5213 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.673e-05/0.4526, allocations: 36.33 kB / 0.5214 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.4526, allocations: 4 kB / 0.5214 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005177/0.4531, allocations: 109.2 kB / 0.5215 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/0.4531, allocations: 53.48 kB / 0.5215 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.689e-05/0.4532, allocations: 118.8 kB / 0.5216 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/0.4533, allocations: 25.7 kB / 0.5216 GB, free: 0.543 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.908e-05/0.4533, allocations: 92.33 kB / 0.5217 GB, free: 464 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.834e-05/0.4533, allocations: 15.3 kB / 0.5218 GB, free: 452 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.843e-05/0.4534, allocations: 27.34 kB / 0.5218 GB, free: 424 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.04e-05/0.4535, allocations: 323.6 kB / 0.5221 GB, free: 96 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.507e-05/0.4535, allocations: 15.23 kB / 0.5221 GB, free: 92 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.433e-05/0.4536, allocations: 37.36 kB / 0.5221 GB, free: 56 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001219/0.4537, allocations: 64.23 kB / 0.5222 GB, free: 4 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.4537, allocations: 0 / 0.5222 GB, free: 4 kB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000212/0.454, allocations: 86.27 kB / 0.5223 GB, free: 15.95 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.454, allocations: 8.094 kB / 0.5223 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.968e-06/0.454, allocations: 3.984 kB / 0.5223 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.454, allocations: 7.156 kB / 0.5223 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.452e-05/0.4541, allocations: 14.41 kB / 0.5223 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.4541, allocations: 2.922 kB / 0.5223 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.515e-05/0.4542, allocations: 6.938 kB / 0.5223 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.737e-06/0.4542, allocations: 2.922 kB / 0.5223 GB, free: 15.94 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 9.492e-05/0.4543, allocations: 117.1 kB / 0.5224 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.278e-05/0.4543, allocations: 2.984 kB / 0.5224 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.212e-05/0.4543, allocations: 5.812 kB / 0.5224 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.4544, allocations: 1.688 kB / 0.5224 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.4544, allocations: 4 kB / 0.5224 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.4544, allocations: 1.781 kB / 0.5225 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002003/0.4546, allocations: 174.6 kB / 0.5226 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.4546, allocations: 0 / 0.5226 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.009e-05/0.4547, allocations: 14.53 kB / 0.5226 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.4547, allocations: 1.75 kB / 0.5226 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.4547, allocations: 0 / 0.5226 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.4547, allocations: 1 kB / 0.5226 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4547, allocations: 0.6094 kB / 0.5226 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002697/0.455, allocations: 179.7 kB / 0.5228 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.224e-05/0.455, allocations: 79.8 kB / 0.5229 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.4551, allocations: 1.625 kB / 0.5229 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.929e-05/0.4551, allocations: 1.938 kB / 0.5229 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.916e-05/0.4552, allocations: 8.062 kB / 0.5229 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.4552, allocations: 5.188 kB / 0.5229 GB, free: 15.34 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.896e-05/0.4552, allocations: 98.62 kB / 0.523 GB, free: 15.26 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4553, allocations: 0 / 0.523 GB, free: 15.26 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002344/0.4555, allocations: 13.25 kB / 0.523 GB, free: 15.25 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.0005739/0.4561, allocations: 0.7003 MB / 0.5237 GB, free: 14.58 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001809/0.4563, allocations: 41.64 kB / 0.5237 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.4563, allocations: 4.062 kB / 0.5237 GB, free: 14.56 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.085e-05/0.4564, allocations: 12.97 kB / 0.5237 GB, free: 14.56 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002898/0.4566, allocations: 14.89 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.001618/0.4583, allocations: 1.381 MB / 0.5251 GB, free: 13.27 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002773/0.4586, allocations: 0.688 MB / 0.5258 GB, free: 12.57 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.771e-05/0.4586, allocations: 3.516 kB / 0.5258 GB, free: 12.57 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.292e-05/0.4587, allocations: 14.27 kB / 0.5258 GB, free: 12.55 MB / 398.1 MB Notification: Performance of SimCode: time 2.01e-07/0.4587, allocations: 1.312 kB / 0.5258 GB, free: 12.55 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02031/0.479, allocations: 1.583 MB / 0.5273 GB, free: 12.14 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.5/7.979, allocations: 12.78 kB / 0.5274 GB, free: 12.14 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_IntegratorForceState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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