Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.SignConvention.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009436/0.0009436, allocations: 175.3 kB / 16.72 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.191/1.191, allocations: 205.4 MB / 222.9 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00075/0.00075, allocations: 94.28 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000322/0.0003222, allocations: 8 kB / 327.6 MB, free: 15.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.1814, allocations: 47.58 MB / 375.2 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.001496/0.1829, allocations: 1.735 MB / 376.9 MB, free: 44.06 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002424/0.1831, allocations: 173.4 kB / 377.1 MB, free: 43.91 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.685e-05/0.1832, allocations: 3.031 kB / 377.1 MB, free: 43.91 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.776e-05/0.1833, allocations: 15.23 kB / 377.1 MB, free: 43.9 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.709e-05/0.1834, allocations: 36.91 kB / 377.1 MB, free: 43.87 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001214/0.1835, allocations: 38.31 kB / 377.2 MB, free: 43.84 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001556/0.1837, allocations: 167 kB / 377.3 MB, free: 43.74 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.1838, allocations: 53.02 kB / 377.4 MB, free: 43.71 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.087e-05/0.1839, allocations: 59.36 kB / 377.5 MB, free: 43.68 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.708e-05/0.184, allocations: 65.38 kB / 377.5 MB, free: 43.63 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.061e-05/0.184, allocations: 6.906 kB / 377.5 MB, free: 43.63 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.351e-05/0.184, allocations: 7.906 kB / 377.5 MB, free: 43.63 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.988e-05/0.184, allocations: 24.48 kB / 377.6 MB, free: 43.61 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.278e-05/0.1841, allocations: 100.2 kB / 377.7 MB, free: 43.54 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000108/0.1842, allocations: 124.7 kB / 377.8 MB, free: 43.45 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1842, allocations: 0 / 377.8 MB, free: 43.45 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1842, allocations: 0 / 377.8 MB, free: 43.45 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.117e-06/0.1843, allocations: 1.125 kB / 377.8 MB, free: 43.45 MB / 298.7 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.0003962/0.1847, allocations: 451 kB / 378.2 MB, free: 43 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.1847, allocations: 9.438 kB / 378.2 MB, free: 43 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.868e-05/0.1847, allocations: 47.14 kB / 378.3 MB, free: 42.95 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.301e-05/0.1848, allocations: 23.91 kB / 378.3 MB, free: 42.94 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.1849, allocations: 214.1 kB / 378.5 MB, free: 42.71 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.1849, allocations: 11.53 kB / 378.5 MB, free: 42.7 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.9e-05/0.185, allocations: 24.38 kB / 378.5 MB, free: 42.69 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002336/0.1852, allocations: 182.4 kB / 378.7 MB, free: 42.55 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.1852, allocations: 12.91 kB / 378.7 MB, free: 42.54 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.1853, allocations: 6.031 kB / 378.7 MB, free: 42.53 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.1853, allocations: 5.219 kB / 378.7 MB, free: 42.53 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001458/0.1854, allocations: 98.84 kB / 378.8 MB, free: 42.48 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009598/0.1864, allocations: 0.9599 MB / 379.8 MB, free: 41.57 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.1865, allocations: 103.3 kB / 379.9 MB, free: 41.47 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.73e-05/0.1866, allocations: 39.38 kB / 379.9 MB, free: 41.43 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.748e-06/0.1866, allocations: 2.25 kB / 379.9 MB, free: 41.43 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.231e-05/0.1866, allocations: 40.66 kB / 380 MB, free: 41.39 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.162e-06/0.1866, allocations: 0 / 380 MB, free: 41.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002482/0.1869, allocations: 125.6 kB / 380.1 MB, free: 41.31 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.401e-05/0.1869, allocations: 109.2 kB / 380.2 MB, free: 41.18 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.187, allocations: 207.3 kB / 380.4 MB, free: 41.02 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.436e-06/0.187, allocations: 26.92 kB / 380.4 MB, free: 40.99 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.986e-05/0.1871, allocations: 143.7 kB / 380.6 MB, free: 40.86 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.431e-05/0.1871, allocations: 50.14 kB / 380.6 MB, free: 40.81 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.644e-06/0.1871, allocations: 9.156 kB / 380.6 MB, free: 40.8 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.993e-05/0.1872, allocations: 327.1 kB / 381 MB, free: 40.48 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.657e-05/0.1873, allocations: 35.89 kB / 381 MB, free: 40.46 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.679e-05/0.1873, allocations: 140.9 kB / 381.1 MB, free: 40.31 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001938/0.1875, allocations: 199.2 kB / 381.3 MB, free: 40.12 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1876, allocations: 1.281 kB / 381.3 MB, free: 40.12 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002554/0.1878, allocations: 210.7 kB / 381.5 MB, free: 40 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.1878, allocations: 6.375 kB / 381.5 MB, free: 40 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.1878, allocations: 3.5 kB / 381.5 MB, free: 40 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.1879, allocations: 9.656 kB / 381.6 MB, free: 40 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.188, allocations: 46.8 kB / 381.6 MB, free: 39.99 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.188, allocations: 8.438 kB / 381.6 MB, free: 39.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.833e-05/0.1881, allocations: 36.48 kB / 381.6 MB, free: 39.96 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.454e-05/0.1882, allocations: 12.94 kB / 381.7 MB, free: 39.95 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.935e-05/0.1882, allocations: 136 kB / 381.8 MB, free: 39.82 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.408e-05/0.1883, allocations: 17.25 kB / 381.8 MB, free: 39.81 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.75e-05/0.1883, allocations: 21.39 kB / 381.8 MB, free: 39.79 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.1884, allocations: 10.64 kB / 381.8 MB, free: 39.79 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.1884, allocations: 1.156 kB / 381.8 MB, free: 39.79 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.1884, allocations: 4.969 kB / 381.8 MB, free: 39.78 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003306/0.1887, allocations: 239.6 kB / 382.1 MB, free: 39.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.1887, allocations: 1.188 kB / 382.1 MB, free: 39.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001456/0.1889, allocations: 28.48 kB / 382.1 MB, free: 39.53 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/0.1889, allocations: 5.062 kB / 382.1 MB, free: 39.53 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.1889, allocations: 6.359 kB / 382.1 MB, free: 39.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.1889, allocations: 4.938 kB / 382.1 MB, free: 39.52 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1889, allocations: 1.312 kB / 382.1 MB, free: 39.52 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002074/0.1891, allocations: 386.1 kB / 382.5 MB, free: 39.18 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.187e-05/0.1892, allocations: 93.72 kB / 382.6 MB, free: 39.08 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.295e-05/0.1892, allocations: 2.312 kB / 382.6 MB, free: 39.08 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/0.1893, allocations: 5.094 kB / 382.6 MB, free: 39.07 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.715e-05/0.1894, allocations: 16.14 kB / 382.6 MB, free: 39.06 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.1894, allocations: 2.875 kB / 382.6 MB, free: 39.06 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.245e-05/0.1895, allocations: 148.7 kB / 382.8 MB, free: 38.95 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.92e-07/0.1895, allocations: 0.9375 kB / 382.8 MB, free: 38.95 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003438/0.1898, allocations: 47.97 kB / 382.8 MB, free: 38.94 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003586/0.1902, allocations: 0.9104 MB / 383.7 MB, free: 38.07 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001736/0.1904, allocations: 102.2 kB / 383.8 MB, free: 38.04 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1904, allocations: 0 / 383.8 MB, free: 38.04 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.339e-05/0.1904, allocations: 37.73 kB / 383.9 MB, free: 38.02 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000493/0.1909, allocations: 31.31 kB / 383.9 MB, free: 38 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001525/0.1925, allocations: 1.483 MB / 385.4 MB, free: 36.79 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001279/0.1926, allocations: 0.7302 MB / 386.1 MB, free: 36.07 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.024e-05/0.1927, allocations: 58.58 kB / 386.2 MB, free: 36.02 MB / 298.7 MB Notification: Performance of SimCode: time 2.21e-07/0.1927, allocations: 0 / 386.2 MB, free: 36.02 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.447/2.639, allocations: 2.49 MB / 388.6 MB, free: 34.56 MB / 298.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.SignConvention.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Mechanics_Translational_Examples_SignConvention_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Mechanics_Translational_Examples_SignConvention.fmu > Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/SignConvention/SignConvention.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.SignConvention.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches