Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) 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(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_4_0_0_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.002076/0.002076, allocations: 111.5 kB / 16.92 MB, free: 6.332 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.002505/0.002505, allocations: 191.4 kB / 17.85 MB, free: 5.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.469/2.469, allocations: 222.9 MB / 241.5 MB, free: 15.31 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 48.33 kB / 300.7 MB, free: 5.816 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1485, allocations: 49.44 MB / 350.2 MB, free: 4.363 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.004648/0.1532, allocations: 2.088 MB / 352.2 MB, free: 2.254 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008914/0.1542, allocations: 167.4 kB / 352.4 MB, free: 2.09 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002579/0.1544, allocations: 7.938 kB / 352.4 MB, free: 2.082 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002089/0.1547, allocations: 27.72 kB / 352.4 MB, free: 2.055 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001879/0.1549, allocations: 47.56 kB / 352.5 MB, free: 2.008 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002391/0.1552, allocations: 39.95 kB / 352.5 MB, free: 1.969 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003964/0.1556, allocations: 179.2 kB / 352.7 MB, free: 1.793 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002201/0.1558, allocations: 58.28 kB / 352.8 MB, free: 1.73 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.1559, allocations: 63.73 kB / 352.8 MB, free: 1.668 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001538/0.1561, allocations: 75.62 kB / 352.9 MB, free: 1.594 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.801e-05/0.1561, allocations: 12 kB / 352.9 MB, free: 1.582 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.856e-05/0.1562, allocations: 12 kB / 352.9 MB, free: 1.57 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.934e-05/0.1562, allocations: 39.84 kB / 353 MB, free: 1.531 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001234/0.1564, allocations: 83.61 kB / 353 MB, free: 1.449 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002937/0.1567, allocations: 179.6 kB / 353.2 MB, free: 1.273 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1567, allocations: 0 / 353.2 MB, free: 1.273 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.1567, allocations: 0 / 353.2 MB, free: 1.273 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.26e-05/0.1567, allocations: 3.984 kB / 353.2 MB, free: 1.27 MB / 286.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.0008478/0.1576, allocations: 462.8 kB / 353.7 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.953e-05/0.1576, allocations: 12.03 kB / 353.7 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.005e-05/0.1577, allocations: 50.73 kB / 353.7 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.216e-05/0.1578, allocations: 20.75 kB / 353.8 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003061/0.1581, allocations: 215.6 kB / 354 MB, free: 444 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.1581, allocations: 12.38 kB / 354 MB, free: 432 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.98e-05/0.1582, allocations: 24.3 kB / 354 MB, free: 408 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000361/0.1586, allocations: 189.8 kB / 354.2 MB, free: 196 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.414e-05/0.1586, allocations: 7.891 kB / 354.2 MB, free: 188 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.533e-05/0.1586, allocations: 15.98 kB / 354.2 MB, free: 172 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.1586, allocations: 7.938 kB / 354.2 MB, free: 164 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000268/0.1589, allocations: 99.27 kB / 354.3 MB, free: 68 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001517/0.1604, allocations: 0.9584 MB / 355.3 MB, free: 15.02 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001578/0.1606, allocations: 103.8 kB / 355.4 MB, free: 14.89 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.181e-05/0.1607, allocations: 38.75 kB / 355.4 MB, free: 14.85 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.1607, allocations: 4 kB / 355.4 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.1607, allocations: 34.5 kB / 355.4 MB, free: 14.8 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 2.104e-06/0.1607, allocations: 0 / 355.4 MB, free: 14.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004657/0.1612, allocations: 133.4 kB / 355.6 MB, free: 14.66 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.342e-05/0.1613, allocations: 106.8 kB / 355.7 MB, free: 14.54 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002219/0.1615, allocations: 203.8 kB / 355.9 MB, free: 14.32 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.1616, allocations: 29.64 kB / 355.9 MB, free: 14.29 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001729/0.1617, allocations: 147.8 kB / 356.1 MB, free: 14.14 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.356e-05/0.1618, allocations: 51.25 kB / 356.1 MB, free: 14.09 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.239e-05/0.1619, allocations: 41.94 kB / 356.1 MB, free: 14.04 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.162, allocations: 330.8 kB / 356.5 MB, free: 13.71 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.028e-05/0.1621, allocations: 40.39 kB / 356.5 MB, free: 13.67 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000152/0.1623, allocations: 143.8 kB / 356.7 MB, free: 13.48 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000254/0.1626, allocations: 202.1 kB / 356.8 MB, free: 13.23 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.1626, allocations: 0 / 356.8 MB, free: 13.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003449/0.1629, allocations: 217.1 kB / 357.1 MB, free: 13.02 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.1629, allocations: 8 kB / 357.1 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/0.163, allocations: 4 kB / 357.1 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/0.163, allocations: 4 kB / 357.1 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002039/0.1632, allocations: 47.92 kB / 357.1 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.448e-05/0.1632, allocations: 11.98 kB / 357.1 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001339/0.1634, allocations: 32.03 kB / 357.2 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/0.1634, allocations: 12 kB / 357.2 MB, free: 12.9 MB / 302.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.0002224/0.1636, allocations: 141.7 kB / 357.3 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.872e-05/0.1637, allocations: 15.81 kB / 357.3 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.931e-05/0.1638, allocations: 20.92 kB / 357.4 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.1638, allocations: 0 / 357.4 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/0.1638, allocations: 4 kB / 357.4 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.1638, allocations: 3.938 kB / 357.4 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004702/0.1643, allocations: 237.5 kB / 357.6 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.1643, allocations: 0 / 357.6 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001922/0.1645, allocations: 35.98 kB / 357.6 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/0.1645, allocations: 0 / 357.6 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.372e-05/0.1645, allocations: 4 kB / 357.6 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/0.1646, allocations: 0 / 357.6 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.1646, allocations: 0 / 357.6 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006584/0.1652, allocations: 397.7 kB / 358 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/0.1654, allocations: 108.8 kB / 358.1 MB, free: 11.85 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.649e-05/0.1654, allocations: 0 / 358.1 MB, free: 11.85 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002871/0.1657, allocations: 4 kB / 358.1 MB, free: 11.85 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.157e-05/0.1658, allocations: 15.92 kB / 358.1 MB, free: 11.83 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.1658, allocations: 4 kB / 358.1 MB, free: 11.83 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002036/0.166, allocations: 149.5 kB / 358.3 MB, free: 11.68 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1661, allocations: 0 / 358.3 MB, free: 11.68 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007729/0.1668, allocations: 36 kB / 358.3 MB, free: 11.65 MB / 302.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.001072/0.1679, allocations: 0.9207 MB / 359.2 MB, free: 10.7 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003866/0.1683, allocations: 121.2 kB / 359.4 MB, free: 10.58 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.1684, allocations: 4.062 kB / 359.4 MB, free: 10.58 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001052/0.1685, allocations: 35.92 kB / 359.4 MB, free: 10.54 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/0.1696, allocations: 27.92 kB / 359.4 MB, free: 10.52 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005335/0.1749, allocations: 2.623 MB / 362.1 MB, free: 7.719 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007334/0.1757, allocations: 0.7281 MB / 362.8 MB, free: 6.965 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001727/0.1759, allocations: 13.95 kB / 362.8 MB, free: 6.953 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001423/0.1761, allocations: 47.42 kB / 362.8 MB, free: 6.906 MB / 302.1 MB Notification: Performance of SimCode: time 1.563e-06/0.1761, allocations: 0 / 362.8 MB, free: 6.906 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04233/0.2184, allocations: 3.401 MB / 366.2 MB, free: 3.59 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/12.39, allocations: 3.938 kB / 366.2 MB, free: 3.586 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Mechanics_Translational_Examples_SignConvention.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches