Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.SignConvention.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_trunk_cpp_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.0008715/0.0008716, allocations: 197.4 kB / 17.38 MB, free: 4.316 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.203/1.203, allocations: 226.5 MB / 244.7 MB, free: 6.516 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007159/0.0007159, allocations: 111.1 kB / 296.8 MB, free: 6.699 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001971/0.0001971, allocations: 8 kB / 356.8 MB, free: 10.62 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1664, allocations: 51.3 MB / 408.1 MB, free: 27.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.001435/0.1679, allocations: 1.755 MB / 409.9 MB, free: 25.92 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002408/0.1682, allocations: 167.4 kB / 410 MB, free: 25.76 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.789e-05/0.1683, allocations: 4.562 kB / 410 MB, free: 25.75 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.574e-05/0.1683, allocations: 19.84 kB / 410.1 MB, free: 25.73 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.031e-05/0.1684, allocations: 41.92 kB / 410.1 MB, free: 25.7 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001094/0.1685, allocations: 35.95 kB / 410.1 MB, free: 25.66 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001357/0.1687, allocations: 168.9 kB / 410.3 MB, free: 25.5 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.1688, allocations: 47.5 kB / 410.4 MB, free: 25.44 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.279e-05/0.1688, allocations: 55.78 kB / 410.4 MB, free: 25.39 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.164e-05/0.1689, allocations: 66.73 kB / 410.5 MB, free: 25.32 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.975e-05/0.1689, allocations: 8 kB / 410.5 MB, free: 25.32 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.143e-05/0.169, allocations: 8 kB / 410.5 MB, free: 25.31 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.899e-05/0.169, allocations: 19.92 kB / 410.5 MB, free: 25.29 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.619e-05/0.1691, allocations: 97.38 kB / 410.6 MB, free: 25.19 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001029/0.1692, allocations: 132.9 kB / 410.7 MB, free: 25.06 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1692, allocations: 0 / 410.7 MB, free: 25.06 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1692, allocations: 0 / 410.7 MB, free: 25.06 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.1692, allocations: 1.094 kB / 410.7 MB, free: 25.06 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.0003659/0.1696, allocations: 440.1 kB / 411.2 MB, free: 24.58 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.099e-05/0.1696, allocations: 11.09 kB / 411.2 MB, free: 24.57 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.447e-05/0.1696, allocations: 54.73 kB / 411.2 MB, free: 24.51 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.005e-05/0.1697, allocations: 16.75 kB / 411.2 MB, free: 24.5 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.1698, allocations: 217.9 kB / 411.5 MB, free: 24.25 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.1698, allocations: 12.38 kB / 411.5 MB, free: 24.23 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.397e-05/0.1699, allocations: 16.38 kB / 411.5 MB, free: 24.22 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002136/0.1701, allocations: 192.8 kB / 411.7 MB, free: 24.01 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.1701, allocations: 3.984 kB / 411.7 MB, free: 24.01 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.1701, allocations: 8 kB / 411.7 MB, free: 24 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.1701, allocations: 4 kB / 411.7 MB, free: 24 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001352/0.1703, allocations: 103.9 kB / 411.8 MB, free: 23.89 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008343/0.1711, allocations: 0.9584 MB / 412.8 MB, free: 22.85 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.003e-05/0.1712, allocations: 99.73 kB / 412.8 MB, free: 22.73 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.909e-05/0.1713, allocations: 38.75 kB / 412.9 MB, free: 22.68 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.328e-06/0.1713, allocations: 0 / 412.9 MB, free: 22.68 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.085e-05/0.1713, allocations: 42.56 kB / 412.9 MB, free: 22.63 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 9.51e-07/0.1713, allocations: 0 / 412.9 MB, free: 22.63 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002197/0.1715, allocations: 125.3 kB / 413.1 MB, free: 22.5 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.121e-05/0.1716, allocations: 106.8 kB / 413.2 MB, free: 22.37 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.1717, allocations: 211.6 kB / 413.4 MB, free: 22.15 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.904e-06/0.1717, allocations: 29.7 kB / 413.4 MB, free: 22.12 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.484e-05/0.1718, allocations: 135.9 kB / 413.5 MB, free: 21.98 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.496e-05/0.1718, allocations: 55.3 kB / 413.6 MB, free: 21.93 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.512e-06/0.1718, allocations: 7.938 kB / 413.6 MB, free: 21.92 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.789e-05/0.1718, allocations: 326.8 kB / 413.9 MB, free: 21.59 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.311e-05/0.1719, allocations: 40.44 kB / 413.9 MB, free: 21.55 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.541e-05/0.172, allocations: 142.6 kB / 414.1 MB, free: 21.36 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.1721, allocations: 198.1 kB / 414.3 MB, free: 21.12 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1721, allocations: 0 / 414.3 MB, free: 21.12 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000223/0.1724, allocations: 213.1 kB / 414.5 MB, free: 20.9 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.678e-06/0.1724, allocations: 8.406 kB / 414.5 MB, free: 20.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.1724, allocations: 8 kB / 414.5 MB, free: 20.89 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.1724, allocations: 4 kB / 414.5 MB, free: 20.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.1725, allocations: 47.92 kB / 414.6 MB, free: 20.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.1725, allocations: 7.984 kB / 414.6 MB, free: 20.83 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.329e-05/0.1726, allocations: 31.62 kB / 414.6 MB, free: 20.8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.1727, allocations: 20 kB / 414.6 MB, free: 20.78 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.045e-05/0.1727, allocations: 133.5 kB / 414.7 MB, free: 20.64 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.961e-05/0.1728, allocations: 15.81 kB / 414.8 MB, free: 20.62 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.393e-05/0.1728, allocations: 28.92 kB / 414.8 MB, free: 20.59 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.1728, allocations: 4 kB / 414.8 MB, free: 20.59 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.1728, allocations: 3.938 kB / 414.8 MB, free: 20.58 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.1729, allocations: 3.938 kB / 414.8 MB, free: 20.58 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000311/0.1732, allocations: 245.4 kB / 415 MB, free: 20.29 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1732, allocations: 0 / 415 MB, free: 20.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001338/0.1733, allocations: 31.92 kB / 415.1 MB, free: 20.26 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1733, allocations: 4 kB / 415.1 MB, free: 20.25 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.1733, allocations: 4 kB / 415.1 MB, free: 20.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1733, allocations: 0 / 415.1 MB, free: 20.25 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1734, allocations: 4 kB / 415.1 MB, free: 20.25 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001772/0.1735, allocations: 389.7 kB / 415.5 MB, free: 19.85 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.606e-05/0.1736, allocations: 88.92 kB / 415.5 MB, free: 19.74 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.169e-05/0.1736, allocations: 8.062 kB / 415.6 MB, free: 19.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/0.1737, allocations: 0 / 415.6 MB, free: 19.73 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.726e-05/0.1738, allocations: 11.92 kB / 415.6 MB, free: 19.72 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.1738, allocations: 8 kB / 415.6 MB, free: 19.71 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.572e-05/0.1739, allocations: 153.5 kB / 415.7 MB, free: 19.57 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1739, allocations: 0 / 415.7 MB, free: 19.57 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003148/0.1742, allocations: 39.91 kB / 415.8 MB, free: 19.53 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.0002852/0.1745, allocations: 0.9169 MB / 416.7 MB, free: 18.58 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00014/0.1746, allocations: 112 kB / 416.8 MB, free: 18.47 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1746, allocations: 0 / 416.8 MB, free: 18.47 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.575e-05/0.1747, allocations: 35.92 kB / 416.8 MB, free: 18.44 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004487/0.1751, allocations: 31.7 kB / 416.9 MB, free: 18.41 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001353/0.1765, allocations: 1.471 MB / 418.3 MB, free: 16.84 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001136/0.1766, allocations: 0.74 MB / 419.1 MB, free: 16.08 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.198e-05/0.1767, allocations: 51.42 kB / 419.1 MB, free: 16.03 MB / 298.7 MB Notification: Performance of SimCode: time 2.8e-07/0.1767, allocations: 0 / 419.1 MB, free: 16.03 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.355/2.531, allocations: 2.502 MB / 421.6 MB, free: 13.53 MB / 298.7 MB (rm -f Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.SignConvention.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat --tempDir=temp_Modelica_trunk_cpp_Modelica_Mechanics_Translational_Examples_SignConvention_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_cpp_Modelica_Mechanics_Translational_Examples_SignConvention.fmu > Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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","../files/Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.SignConvention.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches