Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.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) 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(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00157/0.00157, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002006/0.002006, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.434/1.434, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002364/0.002364, allocations: 72.98 kB / 307.1 MB, free: 0.5195 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1129, allocations: 50.53 MB / 357.6 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003982/0.117, allocations: 2.096 MB / 359.7 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000544/0.1176, allocations: 171.4 kB / 359.8 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001989/0.1178, allocations: 4 kB / 359.8 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001739/0.118, allocations: 31.66 kB / 359.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001651/0.1182, allocations: 47.56 kB / 359.9 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001934/0.1184, allocations: 39.95 kB / 360 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002462/0.1187, allocations: 183.2 kB / 360.1 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001896/0.1189, allocations: 62.25 kB / 360.2 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.545e-05/0.119, allocations: 67.78 kB / 360.3 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001165/0.1191, allocations: 67.64 kB / 360.3 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.345e-05/0.1191, allocations: 16 kB / 360.3 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.206e-05/0.1192, allocations: 12 kB / 360.4 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.776e-05/0.1192, allocations: 35.84 kB / 360.4 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.527e-05/0.1193, allocations: 83.59 kB / 360.5 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002107/0.1195, allocations: 179.6 kB / 360.7 MB, free: 10.89 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.1196, allocations: 0 / 360.7 MB, free: 10.89 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1196, allocations: 0 / 360.7 MB, free: 10.89 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.1196, allocations: 0 / 360.7 MB, free: 10.89 MB / 302.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.0006719/0.1202, allocations: 470.8 kB / 361.1 MB, free: 10.39 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.1203, allocations: 12.03 kB / 361.1 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.11e-05/0.1204, allocations: 50.73 kB / 361.2 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.946e-05/0.1204, allocations: 20.75 kB / 361.2 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002034/0.1206, allocations: 212 kB / 361.4 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.1206, allocations: 16.38 kB / 361.4 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.846e-05/0.1207, allocations: 20.28 kB / 361.4 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003155/0.121, allocations: 193.9 kB / 361.6 MB, free: 9.805 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.121, allocations: 0 / 361.6 MB, free: 9.805 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.989e-05/0.1211, allocations: 8 kB / 361.6 MB, free: 9.797 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.1211, allocations: 4 kB / 361.6 MB, free: 9.793 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000189/0.1213, allocations: 99.88 kB / 361.7 MB, free: 9.695 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001366/0.1227, allocations: 0.9585 MB / 362.7 MB, free: 8.652 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001678/0.1228, allocations: 107.8 kB / 362.8 MB, free: 8.52 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.121e-05/0.1229, allocations: 38.66 kB / 362.8 MB, free: 8.473 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.28e-05/0.1229, allocations: 7.938 kB / 362.8 MB, free: 8.465 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.123, allocations: 34.56 kB / 362.9 MB, free: 8.422 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.633e-06/0.123, allocations: 0 / 362.9 MB, free: 8.422 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.000336/0.1233, allocations: 129.3 kB / 363 MB, free: 8.289 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.395e-05/0.1234, allocations: 106.8 kB / 363.1 MB, free: 8.16 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002002/0.1236, allocations: 207.7 kB / 363.3 MB, free: 7.941 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.1236, allocations: 25.7 kB / 363.3 MB, free: 7.91 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.902e-05/0.1237, allocations: 147.8 kB / 363.5 MB, free: 7.762 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.327e-05/0.1238, allocations: 47.36 kB / 363.5 MB, free: 7.715 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.986e-05/0.1239, allocations: 45.94 kB / 363.6 MB, free: 7.66 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.124, allocations: 326.8 kB / 363.9 MB, free: 7.332 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.955e-05/0.1241, allocations: 36.45 kB / 363.9 MB, free: 7.297 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001335/0.1242, allocations: 146.6 kB / 364.1 MB, free: 7.105 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002141/0.1244, allocations: 198.1 kB / 364.3 MB, free: 6.863 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.1244, allocations: 0 / 364.3 MB, free: 6.863 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003323/0.1248, allocations: 221 kB / 364.5 MB, free: 6.641 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.1248, allocations: 4 kB / 364.5 MB, free: 6.637 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.1248, allocations: 4.406 kB / 364.5 MB, free: 6.633 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/0.1249, allocations: 12 kB / 364.5 MB, free: 6.621 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001572/0.125, allocations: 51.86 kB / 364.6 MB, free: 6.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/0.125, allocations: 8 kB / 364.6 MB, free: 6.562 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001305/0.1252, allocations: 31.62 kB / 364.6 MB, free: 6.531 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.1252, allocations: 8 kB / 364.6 MB, free: 6.523 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.0001179/0.1253, allocations: 138.8 kB / 364.7 MB, free: 6.379 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.176e-05/0.1254, allocations: 19.81 kB / 364.8 MB, free: 6.359 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.874e-05/0.1255, allocations: 16.94 kB / 364.8 MB, free: 6.34 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.706e-06/0.1255, allocations: 0 / 364.8 MB, free: 6.34 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.1255, allocations: 4 kB / 364.8 MB, free: 6.336 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.1255, allocations: 11.92 kB / 364.8 MB, free: 6.324 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004591/0.126, allocations: 229.6 kB / 365 MB, free: 6.051 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.126, allocations: 4 kB / 365 MB, free: 6.047 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001672/0.1262, allocations: 39.86 kB / 365.1 MB, free: 6.008 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.1262, allocations: 0 / 365.1 MB, free: 6.008 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.1262, allocations: 3.984 kB / 365.1 MB, free: 6.004 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.1262, allocations: 8 kB / 365.1 MB, free: 5.996 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.1262, allocations: 0 / 365.1 MB, free: 5.996 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003001/0.1265, allocations: 385.8 kB / 365.4 MB, free: 5.602 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.268e-05/0.1266, allocations: 104.9 kB / 365.5 MB, free: 5.48 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.627e-05/0.1266, allocations: 0 / 365.5 MB, free: 5.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/0.1268, allocations: 0 / 365.5 MB, free: 5.48 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.274e-05/0.1268, allocations: 19.86 kB / 365.6 MB, free: 5.461 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.69e-06/0.1268, allocations: 4 kB / 365.6 MB, free: 5.457 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001158/0.1269, allocations: 153.5 kB / 365.7 MB, free: 5.309 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.127, allocations: 0 / 365.7 MB, free: 5.309 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003772/0.1273, allocations: 40 kB / 365.8 MB, free: 5.27 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.0006088/0.128, allocations: 0.9177 MB / 366.7 MB, free: 4.324 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002243/0.1282, allocations: 112.2 kB / 366.8 MB, free: 4.215 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.1282, allocations: 0 / 366.8 MB, free: 4.215 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.128e-05/0.1283, allocations: 39.92 kB / 366.8 MB, free: 4.176 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00059/0.1289, allocations: 31.58 kB / 366.9 MB, free: 4.148 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002923/0.1318, allocations: 2.623 MB / 369.5 MB, free: 1.352 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002838/0.1321, allocations: 0.7203 MB / 370.2 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.197e-05/0.1322, allocations: 29.92 kB / 370.2 MB, free: 0.5742 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.284e-05/0.1323, allocations: 47.42 kB / 370.3 MB, free: 0.5312 MB / 302.1 MB Notification: Performance of SimCode: time 1.032e-06/0.1323, allocations: 0 / 370.3 MB, free: 0.5312 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1876/0.3199, allocations: 3.383 MB / 373.7 MB, free: 20.09 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.74/8.06, allocations: 6.141 kB / 373.7 MB, free: 20.09 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Mechanics_Translational_Examples_SignConvention.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.SignConvention.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches