Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) 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 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_3_2_3_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.SignConvention,fileNamePrefix="Modelica_3_2_3_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.001211/0.001212, allocations: 114 kB / 17.28 MB, free: 6.219 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.001137/0.001137, allocations: 189.3 kB / 18.2 MB, free: 5.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.206/1.206, allocations: 205.1 MB / 224.1 MB, free: 12.45 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 51.94 kB / 280.3 MB, free: 3.395 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08378/0.08495, allocations: 46.62 MB / 326.9 MB, free: 4.711 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.003045/0.08803, allocations: 2.145 MB / 329 MB, free: 2.543 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003124/0.08837, allocations: 159.4 kB / 329.2 MB, free: 2.387 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.845e-05/0.08847, allocations: 7.938 kB / 329.2 MB, free: 2.379 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001327/0.08862, allocations: 19.84 kB / 329.2 MB, free: 2.359 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.495e-05/0.08871, allocations: 43.62 kB / 329.2 MB, free: 2.316 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000158/0.08888, allocations: 43.97 kB / 329.3 MB, free: 2.273 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001897/0.08907, allocations: 179.2 kB / 329.5 MB, free: 2.098 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001499/0.08923, allocations: 62.55 kB / 329.5 MB, free: 2.035 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.562e-05/0.0893, allocations: 63.73 kB / 329.6 MB, free: 1.973 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.279e-05/0.0894, allocations: 75.62 kB / 329.7 MB, free: 1.898 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.343e-05/0.08943, allocations: 15.98 kB / 329.7 MB, free: 1.883 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.758e-05/0.08946, allocations: 16 kB / 329.7 MB, free: 1.867 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.702e-05/0.0895, allocations: 27.92 kB / 329.7 MB, free: 1.84 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.069e-05/0.08957, allocations: 83.55 kB / 329.8 MB, free: 1.758 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.08974, allocations: 183.3 kB / 330 MB, free: 1.578 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.08975, allocations: 0 / 330 MB, free: 1.578 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.08976, allocations: 0 / 330 MB, free: 1.578 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.08977, allocations: 4 kB / 330 MB, free: 1.574 MB / 270.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.0005211/0.0903, allocations: 466.6 kB / 330.4 MB, free: 1.07 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.09034, allocations: 8.031 kB / 330.4 MB, free: 1.062 MB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.271e-05/0.09039, allocations: 54.73 kB / 330.5 MB, free: 1 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.579e-05/0.09043, allocations: 20.66 kB / 330.5 MB, free: 0.9805 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001773/0.09061, allocations: 212.1 kB / 330.7 MB, free: 0.7344 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.09064, allocations: 16.38 kB / 330.7 MB, free: 0.7188 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.758e-05/0.09067, allocations: 16.38 kB / 330.8 MB, free: 0.7031 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002524/0.09093, allocations: 186 kB / 330.9 MB, free: 0.5 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.09095, allocations: 3.938 kB / 330.9 MB, free: 0.4961 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.09097, allocations: 8 kB / 330.9 MB, free: 500 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.09098, allocations: 4 kB / 331 MB, free: 496 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001587/0.09115, allocations: 99.88 kB / 331.1 MB, free: 396 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001103/0.09226, allocations: 0.9624 MB / 332 MB, free: 15.34 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.0924, allocations: 107.8 kB / 332.1 MB, free: 15.21 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.905e-05/0.09246, allocations: 42.52 kB / 332.2 MB, free: 15.16 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.114e-05/0.09248, allocations: 0 / 332.2 MB, free: 15.16 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.09251, allocations: 42.64 kB / 332.2 MB, free: 15.11 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 9.92e-07/0.09251, allocations: 0 / 332.2 MB, free: 15.11 MB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002676/0.09279, allocations: 125.4 kB / 332.3 MB, free: 14.98 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.249e-05/0.09285, allocations: 106.8 kB / 332.4 MB, free: 14.85 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000173/0.09303, allocations: 211.7 kB / 332.6 MB, free: 14.62 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.09305, allocations: 25.7 kB / 332.7 MB, free: 14.59 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.38e-05/0.09313, allocations: 135.9 kB / 332.8 MB, free: 14.46 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.738e-05/0.09317, allocations: 55.34 kB / 332.8 MB, free: 14.4 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.582e-05/0.09323, allocations: 41.86 kB / 332.9 MB, free: 14.36 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.09335, allocations: 334.8 kB / 333.2 MB, free: 14.02 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.312e-05/0.09342, allocations: 36.45 kB / 333.3 MB, free: 13.98 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.09354, allocations: 146.6 kB / 333.4 MB, free: 13.79 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001973/0.09375, allocations: 205.4 kB / 333.6 MB, free: 13.54 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.09376, allocations: 0 / 333.6 MB, free: 13.54 MB / 286.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002849/0.09405, allocations: 209.8 kB / 333.8 MB, free: 13.33 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.09407, allocations: 12.34 kB / 333.8 MB, free: 13.32 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.09409, allocations: 8 kB / 333.8 MB, free: 13.31 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.09411, allocations: 4 kB / 333.8 MB, free: 13.31 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001483/0.09426, allocations: 55.91 kB / 333.9 MB, free: 13.25 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.09428, allocations: 7.938 kB / 333.9 MB, free: 13.25 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.09439, allocations: 23.69 kB / 333.9 MB, free: 13.22 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.64e-05/0.09441, allocations: 16.09 kB / 333.9 MB, free: 13.21 MB / 286.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 9.938e-05/0.09452, allocations: 133.7 kB / 334.1 MB, free: 13.07 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.505e-05/0.09459, allocations: 19.8 kB / 334.1 MB, free: 13.05 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.435e-05/0.09464, allocations: 24.92 kB / 334.1 MB, free: 13.02 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.09464, allocations: 4 kB / 334.1 MB, free: 13.02 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.09465, allocations: 0 / 334.1 MB, free: 13.02 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.09466, allocations: 3.938 kB / 334.1 MB, free: 13.01 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003854/0.09505, allocations: 241.5 kB / 334.3 MB, free: 12.73 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.09507, allocations: 0 / 334.3 MB, free: 12.73 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001438/0.09522, allocations: 31.98 kB / 334.4 MB, free: 12.7 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.09523, allocations: 4 kB / 334.4 MB, free: 12.69 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.09524, allocations: 4 kB / 334.4 MB, free: 12.69 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.09525, allocations: 0 / 334.4 MB, free: 12.69 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.09526, allocations: 7.938 kB / 334.4 MB, free: 12.68 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002706/0.09554, allocations: 389.8 kB / 334.8 MB, free: 12.28 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.915e-05/0.09561, allocations: 92.86 kB / 334.9 MB, free: 12.17 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.888e-05/0.09564, allocations: 8.062 kB / 334.9 MB, free: 12.16 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001533/0.0958, allocations: 0 / 334.9 MB, free: 12.16 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.32e-05/0.09583, allocations: 15.92 kB / 334.9 MB, free: 12.15 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-06/0.09584, allocations: 4 kB / 334.9 MB, free: 12.14 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001065/0.09596, allocations: 149.5 kB / 335 MB, free: 12 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09596, allocations: 3.938 kB / 335 MB, free: 12 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003582/0.09633, allocations: 36 kB / 335.1 MB, free: 11.96 MB / 286.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.0005214/0.09685, allocations: 0.914 MB / 336 MB, free: 11.02 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001917/0.09706, allocations: 115.8 kB / 336.1 MB, free: 10.91 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.09707, allocations: 4 kB / 336.1 MB, free: 10.91 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 4.852e-05/0.09712, allocations: 35.92 kB / 336.1 MB, free: 10.87 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005234/0.09765, allocations: 32.89 kB / 336.2 MB, free: 10.84 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00254/0.1002, allocations: 2.658 MB / 338.8 MB, free: 8.012 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002716/0.1005, allocations: 0.7281 MB / 339.6 MB, free: 7.258 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 7.548e-05/0.1006, allocations: 17.95 kB / 339.6 MB, free: 7.238 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.3e-05/0.1006, allocations: 51.41 kB / 339.6 MB, free: 7.191 MB / 286.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1007, allocations: 0 / 339.6 MB, free: 7.191 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1099/0.2106, allocations: 3.32 MB / 342.9 MB, free: 3.855 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002262/0.2109, allocations: 202.8 kB / 343.1 MB, free: 3.605 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.064/2.275, allocations: 0 / 343.1 MB, free: 3.605 MB / 286.1 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_SignConvention_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_SignConvention.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.SignConvention.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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_Modelica.Mechanics.Translational.Examples.SignConvention.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches