Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001311/0.001311, allocations: 118.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00134/0.00134, allocations: 198 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.394/1.394, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2167/0.2167, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001601/0.001601, allocations: 75.88 kB / 480.8 MB, free: 4.582 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3531/0.3548, allocations: 62.44 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.01143/0.3662, allocations: 10.35 MB / 0.5406 GB, free: 5.312 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008836/0.3751, allocations: 3.887 MB / 0.5444 GB, free: 2.285 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002229/0.3774, allocations: 61.62 kB / 0.5445 GB, free: 2.273 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004544/0.382, allocations: 2.073 MB / 0.5465 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005203/0.3873, allocations: 1.67 MB / 0.5481 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001978/0.3893, allocations: 0.6952 MB / 0.5488 GB, free: 15.03 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006247/0.3955, allocations: 3.996 MB / 0.5527 GB, free: 11.02 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003227/0.3988, allocations: 2.598 MB / 0.5552 GB, free: 8.375 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002249/0.4011, allocations: 1.296 MB / 0.5565 GB, free: 7.074 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002658/0.4038, allocations: 1.85 MB / 0.5583 GB, free: 5.219 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008197/0.4046, allocations: 264 kB / 0.5586 GB, free: 4.961 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002756/0.4074, allocations: 1.178 MB / 0.5597 GB, free: 3.781 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001909/0.4093, allocations: 1.671 MB / 0.5614 GB, free: 2.105 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002536/0.4119, allocations: 1.945 MB / 0.5633 GB, free: 152 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007598/0.4195, allocations: 6.318 MB / 0.5694 GB, free: 9.809 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.4196, allocations: 0 / 0.5694 GB, free: 9.809 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4196, allocations: 0 / 0.5694 GB, free: 9.809 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001828/0.4198, allocations: 4 kB / 0.5694 GB, free: 9.805 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1319 * Number of variables: 1319 Notification: Performance of Generate backend data structure: time 0.01102/0.4308, allocations: 4.335 MB / 0.5737 GB, free: 5.402 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.4309, allocations: 8.031 kB / 0.5737 GB, free: 5.395 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001285/0.4322, allocations: 0.621 MB / 0.5743 GB, free: 4.762 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09144/0.5236, allocations: 7.029 MB / 0.5811 GB, free: 13.72 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006554/0.5302, allocations: 2.624 MB / 0.5837 GB, free: 11.03 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001479/0.5304, allocations: 197.2 kB / 0.5839 GB, free: 10.84 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008695/0.5313, allocations: 279.6 kB / 0.5842 GB, free: 10.56 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01377/0.5451, allocations: 8.525 MB / 0.5925 GB, free: 1.406 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001109/0.5452, allocations: 47.58 kB / 0.5925 GB, free: 1.359 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00037/0.5456, allocations: 127.9 kB / 0.5927 GB, free: 1.234 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002626/0.5482, allocations: 1.731 MB / 0.5943 GB, free: 15.5 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01302/0.5613, allocations: 7.171 MB / 0.6013 GB, free: 8.316 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04025/0.6016, allocations: 33.8 MB / 0.6343 GB, free: 5.434 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008486/0.6101, allocations: 3.422 MB / 0.6377 GB, free: 1.867 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002173/0.6123, allocations: 1.655 MB / 0.6393 GB, free: 208 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01248/0.6248, allocations: 7.296 MB / 0.6464 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.69e-05/0.6249, allocations: 55.48 kB / 0.6465 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=151): time 4.689e-06/0.6249, allocations: 0 / 0.6465 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of matching and sorting (n=188): time 0.06442/0.6894, allocations: 19.03 MB / 0.6651 GB, free: 5.363 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/0.6895, allocations: 197.2 kB / 0.6653 GB, free: 5.129 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006272/0.6958, allocations: 3.736 MB / 0.6689 GB, free: 1.402 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003526/0.6962, allocations: 57.97 kB / 0.669 GB, free: 1.34 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002451/0.6986, allocations: 2.822 MB / 0.6717 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001088/0.6998, allocations: 0.7173 MB / 0.6724 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002717/0.7025, allocations: 1.166 MB / 0.6736 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.7026, allocations: 305.1 kB / 0.6739 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00351/0.7062, allocations: 2.096 MB / 0.6759 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006164/0.7123, allocations: 5.663 MB / 0.6814 GB, free: 2.727 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01021/0.7226, allocations: 8.412 MB / 0.6896 GB, free: 8.562 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001209/0.7228, allocations: 43.94 kB / 0.6897 GB, free: 8.52 MB / 0.545 GB Notification: Performance of matching and sorting (n=763) (initialization): time 0.01948/0.7423, allocations: 8.697 MB / 0.6982 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001453/0.7424, allocations: 60 kB / 0.6982 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002165/0.7427, allocations: 124 kB / 0.6984 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005288/0.748, allocations: 1.388 MB / 0.6997 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004494/0.7525, allocations: 1.298 MB / 0.701 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01388/0.7664, allocations: 9.206 MB / 0.71 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004269/0.7707, allocations: 303.6 kB / 0.7103 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009971/0.7718, allocations: 360 kB / 0.7106 GB, free: 2.938 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 570 * Number of states: 0 () * Number of discrete variables: 36 (FixedTranslation2.color[3],FixedTranslation2.color[2],FixedTranslation2.color[1],force.massColor[3],force.massColor[2],force.massColor[1],force.color_b[3],force.color_b[2],force.color_b[1],force.color_a[3],force.color_a[2],force.color_a[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (695): * Single equations (assignments): 691 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,44,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003558/0.7754, allocations: 1.888 MB / 0.7124 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008228/0.7762, allocations: 335.6 kB / 0.7128 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009055/0.7853, allocations: 3.782 MB / 0.7165 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.031e-05/0.7853, allocations: 23.98 kB / 0.7165 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.393e-05/0.7854, allocations: 8 kB / 0.7165 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.721e-05/0.7854, allocations: 7.969 kB / 0.7165 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0183/0.8037, allocations: 8.16 MB / 0.7245 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-05/0.8038, allocations: 4 kB / 0.7245 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001367/0.8052, allocations: 251.6 kB / 0.7247 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004597/0.8098, allocations: 1.175 MB / 0.7259 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002798/0.8101, allocations: 28 kB / 0.7259 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2936/1.104, allocations: 8.461 MB / 0.7341 GB, free: 175.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/1.104, allocations: 0 / 0.7341 GB, free: 175.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01175/1.116, allocations: 6.291 MB / 0.7403 GB, free: 173.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001258/1.117, allocations: 372.7 kB / 0.7406 GB, free: 173.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008383/1.118, allocations: 27.5 kB / 0.7407 GB, free: 173.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001742/1.119, allocations: 93.44 kB / 0.7408 GB, free: 173.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004563/1.12, allocations: 109.3 kB / 0.7409 GB, free: 173.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001609/1.12, allocations: 54.2 kB / 0.7409 GB, free: 173.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003831/1.124, allocations: 2.323 MB / 0.7432 GB, free: 172.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.5e-07/1.124, allocations: 0 / 0.7432 GB, free: 172.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004861/1.129, allocations: 0.9553 MB / 0.7441 GB, free: 172.6 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (revolute.phi,revolute.w) * 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 (130): * Single equations (assignments): 126 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,36,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01104/1.14, allocations: 6.988 MB / 0.7509 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.006943/1.147, allocations: 5.219 MB / 0.756 GB, free: 167.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.184e-06/1.147, allocations: 3.938 kB / 0.756 GB, free: 167.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002241/1.149, allocations: 1.749 MB / 0.7577 GB, free: 165.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002774/1.152, allocations: 409.6 kB / 0.7581 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06119/1.213, allocations: 44.15 MB / 0.8013 GB, free: 115.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002692/1.216, allocations: 2.971 MB / 0.8042 GB, free: 112.7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003544/1.22, allocations: 1.807 MB / 0.8059 GB, free: 110.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001979/1.222, allocations: 1.651 MB / 0.8075 GB, free: 109.2 MB / 0.5762 GB Notification: Performance of SimCode: time 1.022e-06/1.222, allocations: 0 / 0.8075 GB, free: 109.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09993/1.322, allocations: 67.92 MB / 0.8739 GB, free: 41.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.02/26.34, allocations: 19.28 kB / 0.8739 GB, free: 41.69 MB / 0.5762 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/ForceWithTwoMasses/ForceWithTwoMasses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches