Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.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) 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(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_SignConvention",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.002224/0.002224, allocations: 99.02 kB / 17.58 MB, free: 5.418 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.003093/0.003094, allocations: 192 kB / 18.51 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.365/2.365, allocations: 205.1 MB / 224.4 MB, free: 12.32 MB / 190.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.001489/0.001489, allocations: 55.92 kB / 280.7 MB, free: 3.086 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1381, allocations: 46.63 MB / 327.4 MB, free: 4.391 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.00661/0.1447, allocations: 2.092 MB / 329.5 MB, free: 2.273 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008532/0.1457, allocations: 167.4 kB / 329.6 MB, free: 2.109 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002506/0.146, allocations: 7.938 kB / 329.6 MB, free: 2.102 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002663/0.1463, allocations: 27.72 kB / 329.7 MB, free: 2.074 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000232/0.1466, allocations: 43.56 kB / 329.7 MB, free: 2.031 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002952/0.1469, allocations: 43.89 kB / 329.8 MB, free: 1.988 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005212/0.1474, allocations: 179.2 kB / 329.9 MB, free: 1.812 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003081/0.1478, allocations: 58.55 kB / 330 MB, free: 1.754 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001621/0.1479, allocations: 59.8 kB / 330 MB, free: 1.695 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002145/0.1482, allocations: 79.62 kB / 330.1 MB, free: 1.617 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.149e-05/0.1482, allocations: 16 kB / 330.1 MB, free: 1.602 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.822e-05/0.1483, allocations: 16 kB / 330.2 MB, free: 1.586 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.294e-05/0.1484, allocations: 31.91 kB / 330.2 MB, free: 1.555 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001518/0.1485, allocations: 83.55 kB / 330.3 MB, free: 1.473 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003722/0.1489, allocations: 179.3 kB / 330.4 MB, free: 1.297 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.646e-06/0.149, allocations: 3.984 kB / 330.4 MB, free: 1.293 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.149, allocations: 0 / 330.4 MB, free: 1.293 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.126e-05/0.149, allocations: 0 / 330.4 MB, free: 1.293 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0009175/0.1499, allocations: 470.6 kB / 330.9 MB, free: 0.7852 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.626e-05/0.15, allocations: 8.031 kB / 330.9 MB, free: 0.7773 MB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001055/0.1502, allocations: 54.73 kB / 331 MB, free: 0.7148 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.583e-05/0.1502, allocations: 20.66 kB / 331 MB, free: 0.6953 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003276/0.1506, allocations: 208.1 kB / 331.2 MB, free: 464 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.77e-05/0.1506, allocations: 12.36 kB / 331.2 MB, free: 452 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.766e-05/0.1507, allocations: 24.36 kB / 331.2 MB, free: 428 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004744/0.1512, allocations: 186 kB / 331.4 MB, free: 220 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.995e-05/0.1512, allocations: 7.922 kB / 331.4 MB, free: 212 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.065e-05/0.1513, allocations: 8 kB / 331.4 MB, free: 204 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.619e-05/0.1513, allocations: 4 kB / 331.4 MB, free: 200 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003297/0.1517, allocations: 95.89 kB / 331.5 MB, free: 104 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002214/0.1539, allocations: 0.9662 MB / 332.5 MB, free: 15.05 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002816/0.1542, allocations: 99.75 kB / 332.6 MB, free: 14.93 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001184/0.1544, allocations: 46.69 kB / 332.6 MB, free: 14.87 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.734e-05/0.1544, allocations: 4 kB / 332.6 MB, free: 14.87 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.1544, allocations: 30.56 kB / 332.7 MB, free: 14.83 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 2.465e-06/0.1545, allocations: 8 kB / 332.7 MB, free: 14.82 MB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005241/0.155, allocations: 125.9 kB / 332.8 MB, free: 14.69 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.648e-05/0.1551, allocations: 110.8 kB / 332.9 MB, free: 14.56 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003606/0.1555, allocations: 199.8 kB / 333.1 MB, free: 14.35 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.017e-05/0.1555, allocations: 33.7 kB / 333.1 MB, free: 14.31 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001538/0.1557, allocations: 139.8 kB / 333.3 MB, free: 14.17 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.665e-05/0.1558, allocations: 43.36 kB / 333.3 MB, free: 14.12 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001166/0.1559, allocations: 49.84 kB / 333.4 MB, free: 14.07 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001866/0.1561, allocations: 334.8 kB / 333.7 MB, free: 13.73 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/0.1563, allocations: 44.39 kB / 333.7 MB, free: 13.69 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000235/0.1565, allocations: 142.6 kB / 333.9 MB, free: 13.5 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004935/0.157, allocations: 197.5 kB / 334.1 MB, free: 13.26 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.1571, allocations: 4 kB / 334.1 MB, free: 13.26 MB / 286.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006225/0.1577, allocations: 213.1 kB / 334.3 MB, free: 13.04 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.243e-05/0.1578, allocations: 8 kB / 334.3 MB, free: 13.04 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/0.1578, allocations: 7.938 kB / 334.3 MB, free: 13.03 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.903e-05/0.1578, allocations: 4.406 kB / 334.3 MB, free: 13.02 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003619/0.1582, allocations: 55.91 kB / 334.3 MB, free: 12.97 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.852e-05/0.1582, allocations: 7.938 kB / 334.4 MB, free: 12.96 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002457/0.1585, allocations: 27.69 kB / 334.4 MB, free: 12.93 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.916e-05/0.1585, allocations: 12 kB / 334.4 MB, free: 12.92 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (28): * Single equations (assignments): 28 * 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.0001925/0.1588, allocations: 137.7 kB / 334.5 MB, free: 12.78 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/0.1589, allocations: 15.81 kB / 334.5 MB, free: 12.76 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.868e-05/0.159, allocations: 20.92 kB / 334.6 MB, free: 12.74 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-06/0.159, allocations: 4 kB / 334.6 MB, free: 12.73 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.159, allocations: 0 / 334.6 MB, free: 12.73 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.1591, allocations: 7.938 kB / 334.6 MB, free: 12.73 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008294/0.1599, allocations: 245.5 kB / 334.8 MB, free: 12.44 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.1599, allocations: 0 / 334.8 MB, free: 12.44 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002995/0.1602, allocations: 27.98 kB / 334.8 MB, free: 12.41 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.1603, allocations: 0 / 334.8 MB, free: 12.41 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.722e-05/0.1603, allocations: 8 kB / 334.8 MB, free: 12.4 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.294e-06/0.1603, allocations: 3.938 kB / 334.9 MB, free: 12.4 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.1603, allocations: 0 / 334.9 MB, free: 12.4 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005692/0.1609, allocations: 389.8 kB / 335.2 MB, free: 12 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.809e-05/0.161, allocations: 92.86 kB / 335.3 MB, free: 11.89 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.444e-05/0.1611, allocations: 8.062 kB / 335.3 MB, free: 11.88 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002964/0.1614, allocations: 0 / 335.3 MB, free: 11.88 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.952e-05/0.1615, allocations: 12.06 kB / 335.3 MB, free: 11.87 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.756e-05/0.1615, allocations: 8 kB / 335.3 MB, free: 11.86 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002111/0.1617, allocations: 149.5 kB / 335.5 MB, free: 11.72 MB / 286.1 MB Notification: Performance of sort global known variables: time 6.72e-07/0.1618, allocations: 4 kB / 335.5 MB, free: 11.71 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0007744/0.1625, allocations: 36 kB / 335.5 MB, free: 11.68 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (mass1.s,mass1.v,mass2.s,mass2.v,mass3.s,mass3.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 (12): * Single equations (assignments): 12 * 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.001067/0.1636, allocations: 0.911 MB / 336.4 MB, free: 10.74 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004002/0.1641, allocations: 119.8 kB / 336.6 MB, free: 10.62 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.1641, allocations: 0 / 336.6 MB, free: 10.62 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 9.938e-05/0.1642, allocations: 35.92 kB / 336.6 MB, free: 10.59 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001126/0.1653, allocations: 39.14 kB / 336.6 MB, free: 10.55 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00514/0.1705, allocations: 2.624 MB / 339.3 MB, free: 7.758 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004929/0.171, allocations: 0.7242 MB / 340 MB, free: 7.004 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001603/0.1712, allocations: 21.95 kB / 340 MB, free: 6.98 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.1713, allocations: 47.42 kB / 340.1 MB, free: 6.938 MB / 286.1 MB Notification: Performance of SimCode: time 4.939e-06/0.1714, allocations: 0 / 340.1 MB, free: 6.938 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0407/0.2121, allocations: 3.388 MB / 343.4 MB, free: 3.488 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.2/12.41, allocations: 7.812 kB / 343.4 MB, free: 3.48 MB / 286.1 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_SignConvention.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches