Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.FluxTubes.Shapes.Force,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Force",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.Force,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Force",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.001632/0.001632, allocations: 106.6 kB / 16.27 MB, free: 5.98 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.001819/0.001819, allocations: 191.9 kB / 17.2 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.541/1.541, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2327/0.2327, allocations: 43.52 MB / 313.9 MB, free: 0.543 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 73.14 kB / 382.8 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1419, allocations: 57.78 MB / 440.6 MB, free: 6.832 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Force): time 0.003705/0.1456, allocations: 2.974 MB / 443.6 MB, free: 3.832 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001309/0.1469, allocations: 0.7682 MB / 444.4 MB, free: 3.055 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001669/0.1471, allocations: 8 kB / 444.4 MB, free: 3.047 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002096/0.1473, allocations: 55.39 kB / 444.4 MB, free: 2.992 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001992/0.1476, allocations: 103 kB / 444.5 MB, free: 2.891 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002982/0.1479, allocations: 115.8 kB / 444.6 MB, free: 2.777 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003788/0.1483, allocations: 470.6 kB / 445.1 MB, free: 2.316 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002765/0.1486, allocations: 148 kB / 445.2 MB, free: 2.168 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002228/0.1488, allocations: 183.4 kB / 445.4 MB, free: 1.988 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002167/0.149, allocations: 215 kB / 445.6 MB, free: 1.777 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.435e-05/0.1491, allocations: 43.88 kB / 445.7 MB, free: 1.734 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.845e-05/0.1492, allocations: 44 kB / 445.7 MB, free: 1.691 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.467e-05/0.1492, allocations: 87.73 kB / 445.8 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001463/0.1494, allocations: 199 kB / 446 MB, free: 1.41 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003558/0.1497, allocations: 466.3 kB / 446.5 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.1497, allocations: 0 / 446.5 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1498, allocations: 0 / 446.5 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.998e-06/0.1498, allocations: 0 / 446.5 MB, free: 0.9531 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.00131/0.1511, allocations: 0.7058 MB / 447.2 MB, free: 204 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.1511, allocations: 11.89 kB / 447.2 MB, free: 192 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.998e-05/0.1512, allocations: 78.7 kB / 447.2 MB, free: 104 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.218e-05/0.1513, allocations: 40.47 kB / 447.3 MB, free: 64 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003788/0.1517, allocations: 287.1 kB / 447.6 MB, free: 15.74 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.441e-05/0.1517, allocations: 29.38 kB / 447.6 MB, free: 15.71 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.127e-05/0.1518, allocations: 44.38 kB / 447.6 MB, free: 15.67 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006434/0.1524, allocations: 346.6 kB / 448 MB, free: 15.33 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.1525, allocations: 4 kB / 448 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.797e-05/0.1525, allocations: 16 kB / 448 MB, free: 15.31 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/0.1525, allocations: 8 kB / 448 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006333/0.1532, allocations: 307.8 kB / 448.3 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002219/0.1554, allocations: 1.345 MB / 449.7 MB, free: 13.56 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004915/0.1559, allocations: 286.2 kB / 449.9 MB, free: 13.28 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000296/0.1562, allocations: 153.4 kB / 450.1 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.608e-05/0.1563, allocations: 4.281 kB / 450.1 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.1563, allocations: 38.83 kB / 450.1 MB, free: 13.07 MB / 334.1 MB Notification: Performance of pre-optimization done (n=34): time 2.054e-06/0.1563, allocations: 4 kB / 450.1 MB, free: 13.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=34): time 0.0008977/0.1572, allocations: 382.4 kB / 450.5 MB, free: 12.69 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.411e-05/0.1573, allocations: 55.41 kB / 450.6 MB, free: 12.62 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003195/0.1576, allocations: 262.6 kB / 450.8 MB, free: 12.36 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.403e-05/0.1576, allocations: 37.7 kB / 450.8 MB, free: 12.32 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001521/0.1578, allocations: 196 kB / 451 MB, free: 12.12 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.094e-05/0.1579, allocations: 130.1 kB / 451.2 MB, free: 11.99 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/0.158, allocations: 70.12 kB / 451.2 MB, free: 11.91 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001898/0.1582, allocations: 338.8 kB / 451.6 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002546/0.1585, allocations: 104.8 kB / 451.7 MB, free: 11.47 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000273/0.1588, allocations: 171.5 kB / 451.8 MB, free: 11.29 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005516/0.1593, allocations: 288.6 kB / 452.1 MB, free: 10.98 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.1594, allocations: 3.938 kB / 452.1 MB, free: 10.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000655/0.16, allocations: 369.9 kB / 452.5 MB, free: 10.61 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.1601, allocations: 8 kB / 452.5 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.1601, allocations: 0 / 452.5 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.1601, allocations: 4 kB / 452.5 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000497/0.1606, allocations: 108 kB / 452.6 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.346e-05/0.1606, allocations: 11.98 kB / 452.6 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002873/0.1609, allocations: 39.53 kB / 452.6 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.433e-05/0.161, allocations: 19.98 kB / 452.7 MB, free: 10.42 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 47 * 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 0.0001996/0.1612, allocations: 149.7 kB / 452.8 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.198e-05/0.1613, allocations: 27.72 kB / 452.8 MB, free: 10.24 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009656/0.1622, allocations: 328.2 kB / 453.2 MB, free: 9.91 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.1623, allocations: 4 kB / 453.2 MB, free: 9.906 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.1623, allocations: 0 / 453.2 MB, free: 9.906 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/0.1623, allocations: 3.984 kB / 453.2 MB, free: 9.902 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007459/0.1631, allocations: 405.1 kB / 453.6 MB, free: 9.457 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.1631, allocations: 0 / 453.6 MB, free: 9.457 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006749/0.1638, allocations: 79.88 kB / 453.6 MB, free: 9.379 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.1638, allocations: 0 / 453.6 MB, free: 9.379 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.932e-05/0.1638, allocations: 8 kB / 453.7 MB, free: 9.371 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.793e-06/0.1639, allocations: 4 kB / 453.7 MB, free: 9.367 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.1639, allocations: 4 kB / 453.7 MB, free: 9.363 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001515/0.1654, allocations: 0.5184 MB / 454.2 MB, free: 8.828 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002335/0.1656, allocations: 124.6 kB / 454.3 MB, free: 8.688 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.227e-05/0.1657, allocations: 11.94 kB / 454.3 MB, free: 8.676 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003599/0.1661, allocations: 8 kB / 454.3 MB, free: 8.668 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/0.1662, allocations: 28.03 kB / 454.3 MB, free: 8.641 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.641e-05/0.1663, allocations: 11.98 kB / 454.4 MB, free: 8.629 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003392/0.1666, allocations: 186 kB / 454.5 MB, free: 8.445 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.1667, allocations: 0 / 454.5 MB, free: 8.445 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006398/0.1673, allocations: 87.84 kB / 454.6 MB, free: 8.359 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (position.s,position.v) * 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 (35): * Single equations (assignments): 35 * 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.00199/0.1693, allocations: 1.059 MB / 455.7 MB, free: 7.27 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009834/0.1703, allocations: 283.5 kB / 456 MB, free: 6.992 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.1703, allocations: 0 / 456 MB, free: 6.992 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002913/0.1706, allocations: 140.9 kB / 456.1 MB, free: 6.855 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004722/0.1711, allocations: 29.34 kB / 456.1 MB, free: 6.828 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004965/0.1761, allocations: 3.165 MB / 459.3 MB, free: 3.535 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004401/0.1766, allocations: 0.7835 MB / 460.1 MB, free: 2.727 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002118/0.1768, allocations: 42.94 kB / 460.1 MB, free: 2.684 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000194/0.177, allocations: 103.4 kB / 460.2 MB, free: 2.582 MB / 334.1 MB Notification: Performance of SimCode: time 1.442e-06/0.177, allocations: 0 / 460.2 MB, free: 2.582 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02846/0.2055, allocations: 5.586 MB / 465.8 MB, free: 13 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.617/7.822, allocations: 7.219 kB / 465.8 MB, free: 13 MB / 350.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Force.fmu > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Shapes/Force/Force.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches