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.001113/0.001113, allocations: 106.3 kB / 16.92 MB, free: 6.109 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.001285/0.001285, allocations: 191.3 kB / 17.85 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.273/1.273, allocations: 222.9 MB / 241.5 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009284/0.0009285, allocations: 51.58 kB / 300.7 MB, free: 5.789 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08685/0.0878, allocations: 49.44 MB / 350.2 MB, free: 4.344 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.00331/0.09114, allocations: 2.084 MB / 352.2 MB, free: 2.238 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003447/0.09151, allocations: 171.4 kB / 352.4 MB, free: 2.07 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.273e-05/0.09161, allocations: 4 kB / 352.4 MB, free: 2.066 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001278/0.09175, allocations: 31.66 kB / 352.4 MB, free: 2.035 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.53e-05/0.09186, allocations: 47.56 kB / 352.5 MB, free: 1.988 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001555/0.09202, allocations: 43.94 kB / 352.5 MB, free: 1.945 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000202/0.09223, allocations: 179.2 kB / 352.7 MB, free: 1.77 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000144/0.09238, allocations: 54.27 kB / 352.8 MB, free: 1.711 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.969e-05/0.09246, allocations: 71.78 kB / 352.8 MB, free: 1.641 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.09257, allocations: 71.64 kB / 352.9 MB, free: 1.57 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.849e-05/0.09261, allocations: 16 kB / 352.9 MB, free: 1.555 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.869e-05/0.09264, allocations: 12 kB / 352.9 MB, free: 1.543 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.285e-05/0.09268, allocations: 35.84 kB / 353 MB, free: 1.508 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.277e-05/0.09276, allocations: 83.59 kB / 353 MB, free: 1.426 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001798/0.09295, allocations: 175.6 kB / 353.2 MB, free: 1.254 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.09296, allocations: 0 / 353.2 MB, free: 1.254 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.09297, allocations: 0 / 353.2 MB, free: 1.254 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.09298, allocations: 0 / 353.2 MB, free: 1.254 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.0005762/0.09356, allocations: 474.7 kB / 353.7 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.09362, allocations: 15.89 kB / 353.7 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.97e-05/0.09369, allocations: 46.73 kB / 353.7 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.027e-05/0.09374, allocations: 16.75 kB / 353.8 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000204/0.09395, allocations: 216.1 kB / 354 MB, free: 416 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.09397, allocations: 12.38 kB / 354 MB, free: 404 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.126e-05/0.09401, allocations: 16.38 kB / 354 MB, free: 388 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002675/0.09428, allocations: 193.7 kB / 354.2 MB, free: 172 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.205e-05/0.09431, allocations: 11.91 kB / 354.2 MB, free: 160 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.09433, allocations: 4 kB / 354.2 MB, free: 156 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.09434, allocations: 4 kB / 354.2 MB, free: 152 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001661/0.09452, allocations: 107.1 kB / 354.3 MB, free: 48 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001134/0.09566, allocations: 0.9623 MB / 355.3 MB, free: 15 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/0.0958, allocations: 99.73 kB / 355.4 MB, free: 14.88 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.294e-05/0.09586, allocations: 42.75 kB / 355.4 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.168e-06/0.09588, allocations: 0 / 355.4 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.09591, allocations: 42.56 kB / 355.5 MB, free: 14.77 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.052e-06/0.09592, allocations: 0 / 355.5 MB, free: 14.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002902/0.09621, allocations: 129.9 kB / 355.6 MB, free: 14.64 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.574e-05/0.09627, allocations: 106.8 kB / 355.7 MB, free: 14.51 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002083/0.09649, allocations: 207.7 kB / 355.9 MB, free: 14.3 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.09651, allocations: 29.64 kB / 355.9 MB, free: 14.26 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.103e-05/0.09661, allocations: 143.8 kB / 356.1 MB, free: 14.12 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.808e-05/0.09665, allocations: 51.27 kB / 356.1 MB, free: 14.07 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.976e-05/0.09672, allocations: 49.94 kB / 356.2 MB, free: 14.01 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.09685, allocations: 326.8 kB / 356.5 MB, free: 13.68 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.357e-05/0.09692, allocations: 36.45 kB / 356.5 MB, free: 13.64 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001293/0.09706, allocations: 146.9 kB / 356.7 MB, free: 13.46 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002065/0.09727, allocations: 197.5 kB / 356.8 MB, free: 13.21 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.09729, allocations: 8 kB / 356.9 MB, free: 13.21 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002868/0.09759, allocations: 209.1 kB / 357.1 MB, free: 13 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.09761, allocations: 8 kB / 357.1 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.09762, allocations: 4.406 kB / 357.1 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.09764, allocations: 8 kB / 357.1 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000151/0.0978, allocations: 51.86 kB / 357.1 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.09782, allocations: 7.984 kB / 357.1 MB, free: 12.92 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.09793, allocations: 31.62 kB / 357.2 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.09795, allocations: 12 kB / 357.2 MB, free: 12.88 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.0001098/0.09807, allocations: 137.7 kB / 357.3 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.672e-05/0.09814, allocations: 15.81 kB / 357.3 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.753e-05/0.09819, allocations: 16.94 kB / 357.3 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.0982, allocations: 4 kB / 357.3 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.09822, allocations: 4 kB / 357.4 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.09823, allocations: 11.92 kB / 357.4 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004036/0.09864, allocations: 237.5 kB / 357.6 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.09865, allocations: 0 / 357.6 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001409/0.09879, allocations: 31.92 kB / 357.6 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.09881, allocations: 7.984 kB / 357.6 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.09882, allocations: 0 / 357.6 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.307e-06/0.09883, allocations: 4 kB / 357.6 MB, free: 12.35 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.09884, allocations: 0 / 357.6 MB, free: 12.35 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003012/0.09914, allocations: 385.9 kB / 358 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.071e-05/0.09922, allocations: 108.8 kB / 358.1 MB, free: 11.83 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.692e-05/0.09926, allocations: 7.938 kB / 358.1 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.0994, allocations: 7.938 kB / 358.1 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.169e-05/0.09943, allocations: 11.92 kB / 358.1 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.974e-06/0.09944, allocations: 4 kB / 358.2 MB, free: 11.8 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001102/0.09956, allocations: 153.5 kB / 358.3 MB, free: 11.65 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.09956, allocations: 0 / 358.3 MB, free: 11.65 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003573/0.09992, allocations: 40 kB / 358.3 MB, free: 11.61 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.0005243/0.1005, allocations: 0.914 MB / 359.3 MB, free: 10.67 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002093/0.1007, allocations: 116.1 kB / 359.4 MB, free: 10.55 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.1007, allocations: 0 / 359.4 MB, free: 10.55 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.097e-05/0.1007, allocations: 39.92 kB / 359.4 MB, free: 10.52 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005622/0.1013, allocations: 23.94 kB / 359.4 MB, free: 10.49 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002596/0.1039, allocations: 2.62 MB / 362.1 MB, free: 7.699 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002729/0.1042, allocations: 0.7242 MB / 362.8 MB, free: 6.949 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.463e-05/0.1043, allocations: 21.95 kB / 362.8 MB, free: 6.93 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.384e-05/0.1044, allocations: 51.42 kB / 362.8 MB, free: 6.879 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1044, allocations: 0 / 362.8 MB, free: 6.879 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02099/0.1254, allocations: 3.388 MB / 366.2 MB, free: 3.574 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.455/7.581, allocations: 10.45 kB / 366.2 MB, free: 3.566 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_SignConvention_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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