Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.IntegratorForceState,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_IntegratorForceState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.IntegratorForceState,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_IntegratorForceState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001597/0.001597, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002021/0.002021, allocations: 200.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.409/1.409, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2101/0.2101, allocations: 46.09 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001587/0.001587, allocations: 79.88 kB / 480.8 MB, free: 4.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3354/0.337, allocations: 62.43 MB / 0.5305 GB, free: 13.44 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002799/0.3398, allocations: 1.556 MB / 0.532 GB, free: 12.22 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002751/0.3401, allocations: 82.11 kB / 0.5321 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.546e-05/0.3402, allocations: 1.781 kB / 0.5321 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001004/0.3403, allocations: 3.938 kB / 0.5321 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.278e-05/0.3403, allocations: 3.938 kB / 0.5321 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001438/0.3405, allocations: 28.81 kB / 0.5321 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001298/0.3407, allocations: 34.17 kB / 0.5322 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.386e-05/0.3408, allocations: 13.98 kB / 0.5322 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.001e-05/0.3408, allocations: 12.47 kB / 0.5322 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.523e-05/0.3409, allocations: 14.8 kB / 0.5322 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.3409, allocations: 2.938 kB / 0.5322 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.159e-05/0.3409, allocations: 3.562 kB / 0.5322 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.827e-05/0.3409, allocations: 5.234 kB / 0.5322 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.186e-05/0.341, allocations: 22.88 kB / 0.5322 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001089/0.3411, allocations: 34.88 kB / 0.5323 GB, free: 12.03 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3411, allocations: 1.5 kB / 0.5323 GB, free: 12.03 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3411, allocations: 0 / 0.5323 GB, free: 12.03 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.169e-06/0.3411, allocations: 0 / 0.5323 GB, free: 12.03 MB / 398.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.000451/0.3416, allocations: 352.6 kB / 0.5326 GB, free: 11.65 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.3416, allocations: 9.312 kB / 0.5326 GB, free: 11.65 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.287e-05/0.3416, allocations: 40.19 kB / 0.5327 GB, free: 11.6 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.942e-05/0.3417, allocations: 8.172 kB / 0.5327 GB, free: 11.6 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002315/0.3419, allocations: 182.1 kB / 0.5328 GB, free: 11.39 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.3419, allocations: 5.906 kB / 0.5328 GB, free: 11.38 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.138e-05/0.342, allocations: 7.438 kB / 0.5329 GB, free: 11.38 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/0.3421, allocations: 73.69 kB / 0.5329 GB, free: 11.3 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.3422, allocations: 5.344 kB / 0.5329 GB, free: 11.3 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-06/0.3422, allocations: 3.938 kB / 0.5329 GB, free: 11.3 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.3422, allocations: 0.9375 kB / 0.5329 GB, free: 11.3 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.612e-05/0.3423, allocations: 29.75 kB / 0.533 GB, free: 11.28 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005292/0.3428, allocations: 448.7 kB / 0.5334 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001569/0.343, allocations: 42.69 kB / 0.5334 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.864e-05/0.343, allocations: 16.02 kB / 0.5334 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/0.3431, allocations: 0 / 0.5334 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.3431, allocations: 32.34 kB / 0.5335 GB, free: 10.72 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.3431, allocations: 0 / 0.5335 GB, free: 10.72 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004534/0.3436, allocations: 112.3 kB / 0.5336 GB, free: 10.65 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.635e-05/0.3436, allocations: 55.41 kB / 0.5336 GB, free: 10.58 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.796e-05/0.3437, allocations: 110.1 kB / 0.5337 GB, free: 10.48 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.3437, allocations: 28.92 kB / 0.5338 GB, free: 10.45 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.575e-05/0.3438, allocations: 96.02 kB / 0.5339 GB, free: 10.35 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.249e-05/0.3438, allocations: 15.03 kB / 0.5339 GB, free: 10.34 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-05/0.3439, allocations: 27.55 kB / 0.5339 GB, free: 10.31 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.344, allocations: 318.8 kB / 0.5342 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.51e-05/0.344, allocations: 12.8 kB / 0.5342 GB, free: 9.984 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.297e-05/0.3441, allocations: 59.23 kB / 0.5343 GB, free: 9.926 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001054/0.3442, allocations: 56.36 kB / 0.5343 GB, free: 9.879 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.3442, allocations: 0 / 0.5343 GB, free: 9.879 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001708/0.3444, allocations: 88.31 kB / 0.5344 GB, free: 9.816 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.3444, allocations: 5.5 kB / 0.5344 GB, free: 9.816 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.3445, allocations: 0 / 0.5344 GB, free: 9.816 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.3445, allocations: 2.75 kB / 0.5344 GB, free: 9.816 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.698e-05/0.3446, allocations: 13.61 kB / 0.5344 GB, free: 9.812 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.3446, allocations: 5.312 kB / 0.5344 GB, free: 9.809 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.147e-05/0.3446, allocations: 2.75 kB / 0.5344 GB, free: 9.809 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.884e-06/0.3446, allocations: 2.75 kB / 0.5344 GB, free: 9.809 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.692e-05/0.3447, allocations: 120.6 kB / 0.5346 GB, free: 9.684 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.89e-05/0.3447, allocations: 7.078 kB / 0.5346 GB, free: 9.68 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.763e-05/0.3448, allocations: 13.27 kB / 0.5346 GB, free: 9.664 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.3448, allocations: 0 / 0.5346 GB, free: 9.664 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.3448, allocations: 0 / 0.5346 GB, free: 9.664 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.3448, allocations: 5.312 kB / 0.5346 GB, free: 9.66 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000175/0.345, allocations: 169.8 kB / 0.5347 GB, free: 9.453 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.345, allocations: 1.375 kB / 0.5347 GB, free: 9.453 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.409e-05/0.3451, allocations: 8.25 kB / 0.5348 GB, free: 9.453 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.3451, allocations: 4 kB / 0.5348 GB, free: 9.449 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.3451, allocations: 1.375 kB / 0.5348 GB, free: 9.449 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3451, allocations: 0 / 0.5348 GB, free: 9.449 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.3451, allocations: 5.359 kB / 0.5348 GB, free: 9.445 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002405/0.3454, allocations: 186 kB / 0.5349 GB, free: 9.277 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.802e-05/0.3454, allocations: 82.44 kB / 0.535 GB, free: 9.18 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.3454, allocations: 1.375 kB / 0.535 GB, free: 9.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.518e-05/0.3455, allocations: 9.422 kB / 0.535 GB, free: 9.172 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.139e-05/0.3455, allocations: 1.375 kB / 0.535 GB, free: 9.172 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/0.3455, allocations: 1.375 kB / 0.535 GB, free: 9.172 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.887e-05/0.3456, allocations: 91.52 kB / 0.5351 GB, free: 9.09 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3456, allocations: 0 / 0.5351 GB, free: 9.09 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002371/0.3458, allocations: 13.44 kB / 0.5351 GB, free: 9.082 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.0005569/0.3464, allocations: 0.7046 MB / 0.5358 GB, free: 8.395 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00017/0.3466, allocations: 39.3 kB / 0.5359 GB, free: 8.379 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.3466, allocations: 0 / 0.5359 GB, free: 8.379 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.768e-05/0.3466, allocations: 22.92 kB / 0.5359 GB, free: 8.367 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002794/0.3469, allocations: 10.47 kB / 0.5359 GB, free: 8.363 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001488/0.3484, allocations: 1.362 MB / 0.5372 GB, free: 7.039 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000369/0.3488, allocations: 0.6856 MB / 0.5379 GB, free: 6.336 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.815e-05/0.3489, allocations: 6.406 kB / 0.5379 GB, free: 6.332 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.365e-05/0.3489, allocations: 14.06 kB / 0.5379 GB, free: 6.32 MB / 398.1 MB Notification: Performance of SimCode: time 2.134e-06/0.3489, allocations: 5.219 kB / 0.5379 GB, free: 6.316 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01993/0.3689, allocations: 1.504 MB / 0.5394 GB, free: 5.469 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.698/8.067, allocations: 6.062 kB / 0.5394 GB, free: 5.465 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Blocks_IntegratorForceState.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Blocks.IntegratorForceState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches