Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.MultiBody.Forces.LineForceWithMass,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_LineForceWithMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.LineForceWithMass,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_LineForceWithMass",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.001753/0.001753, allocations: 114.4 kB / 17.78 MB, free: 5.266 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.002005/0.002005, allocations: 187.8 kB / 18.71 MB, free: 4.344 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.346/1.346, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2011/0.2011, allocations: 44.18 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 67.91 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.3149, allocations: 60.81 MB / 0.5184 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.01516/0.3301, allocations: 15.01 MB / 0.5331 GB, free: 8.535 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01065/0.3408, allocations: 4.991 MB / 0.538 GB, free: 4.605 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002157/0.343, allocations: 102.5 kB / 0.5381 GB, free: 4.586 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007202/0.3503, allocations: 4.017 MB / 0.542 GB, free: 1.891 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005906/0.3562, allocations: 2.354 MB / 0.5443 GB, free: 200 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002372/0.3586, allocations: 1.156 MB / 0.5454 GB, free: 15.41 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.008607/0.3672, allocations: 6.506 MB / 0.5518 GB, free: 9.91 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005337/0.3726, allocations: 4.702 MB / 0.5564 GB, free: 5.141 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003319/0.3759, allocations: 2.204 MB / 0.5585 GB, free: 2.93 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00391/0.3798, allocations: 3.034 MB / 0.5615 GB, free: 15.89 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008618/0.3807, allocations: 460 kB / 0.5619 GB, free: 15.44 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002711/0.3834, allocations: 1.549 MB / 0.5634 GB, free: 13.89 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002327/0.3858, allocations: 2.739 MB / 0.5661 GB, free: 11.14 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003027/0.3888, allocations: 3.154 MB / 0.5692 GB, free: 7.969 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009461/0.3983, allocations: 9.791 MB / 0.5787 GB, free: 14.14 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3983, allocations: 0 / 0.5787 GB, free: 14.14 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3983, allocations: 0 / 0.5787 GB, free: 14.14 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002575/0.3986, allocations: 0 / 0.5787 GB, free: 14.14 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1941 * Number of variables: 1941 Notification: Performance of Generate backend data structure: time 0.01832/0.4169, allocations: 7.005 MB / 0.5856 GB, free: 7.059 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.417, allocations: 12.03 kB / 0.5856 GB, free: 7.047 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002249/0.4192, allocations: 0.9257 MB / 0.5865 GB, free: 6.109 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1785/0.5978, allocations: 12.49 MB / 0.5987 GB, free: 9.59 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01151/0.6093, allocations: 4.785 MB / 0.6034 GB, free: 4.719 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002722/0.6096, allocations: 316.1 kB / 0.6037 GB, free: 4.406 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001486/0.6111, allocations: 423.7 kB / 0.6041 GB, free: 3.992 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02488/0.636, allocations: 13.68 MB / 0.6174 GB, free: 5.441 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002371/0.6363, allocations: 63.42 kB / 0.6175 GB, free: 5.379 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001164/0.6375, allocations: 191.8 kB / 0.6177 GB, free: 5.191 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003956/0.6414, allocations: 2.535 MB / 0.6202 GB, free: 2.652 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02312/0.6646, allocations: 11.53 MB / 0.6314 GB, free: 7.113 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06509/0.7297, allocations: 52.84 MB / 0.683 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01619/0.7459, allocations: 5.795 MB / 0.6887 GB, free: 10.81 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004455/0.7504, allocations: 3.385 MB / 0.692 GB, free: 7.41 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02117/0.7716, allocations: 14.79 MB / 0.7064 GB, free: 8.055 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.132e-05/0.7717, allocations: 64.56 kB / 0.7065 GB, free: 7.984 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=227): time 5.581e-06/0.7717, allocations: 0 / 0.7065 GB, free: 7.984 MB / 0.5606 GB Notification: Performance of matching and sorting (n=264): time 0.3141/1.086, allocations: 26.17 MB / 0.732 GB, free: 165.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/1.086, allocations: 269.8 kB / 0.7323 GB, free: 165 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00595/1.092, allocations: 5.078 MB / 0.7373 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003359/1.092, allocations: 61.2 kB / 0.7373 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001723/1.094, allocations: 3.953 MB / 0.7412 GB, free: 160.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008002/1.095, allocations: 0.9881 MB / 0.7421 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001486/1.096, allocations: 1.461 MB / 0.7436 GB, free: 158.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.334e-05/1.096, allocations: 301.1 kB / 0.7439 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002982/1.099, allocations: 2.732 MB / 0.7465 GB, free: 157.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004156/1.103, allocations: 7.078 MB / 0.7534 GB, free: 150 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008025/1.112, allocations: 10.64 MB / 0.7638 GB, free: 137.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-05/1.112, allocations: 47.94 kB / 0.7639 GB, free: 137.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=963) (initialization): time 0.01316/1.125, allocations: 10.1 MB / 0.7737 GB, free: 127 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.358e-05/1.125, allocations: 72 kB / 0.7738 GB, free: 127 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001272/1.125, allocations: 160.1 kB / 0.774 GB, free: 126.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00142/1.126, allocations: 0.7057 MB / 0.7746 GB, free: 126.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005139/1.132, allocations: 1.77 MB / 0.7764 GB, free: 124.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005552/1.137, allocations: 6.845 MB / 0.7831 GB, free: 117.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005915/1.143, allocations: 408 kB / 0.7834 GB, free: 116.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009575/1.144, allocations: 444 kB / 0.7839 GB, free: 116.4 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 693 * Number of states: 0 () * Number of discrete variables: 57 (lineForceWithMass.lineShapeColor[3],lineForceWithMass.lineShapeColor[2],lineForceWithMass.lineShapeColor[1],lineForceWithMass.massColor[3],lineForceWithMass.massColor[2],lineForceWithMass.massColor[1],rod4.color[3],rod4.color[2],rod4.color[1],rod3.color[3],rod3.color[2],rod3.color[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],rod1.color[3],rod1.color[2],rod1.color[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.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 (913): * Single equations (assignments): 908 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,13,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003595/1.148, allocations: 2.626 MB / 0.7864 GB, free: 113.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008977/1.149, allocations: 474 kB / 0.7869 GB, free: 113.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005392/1.154, allocations: 4.376 MB / 0.7912 GB, free: 108.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.677e-05/1.154, allocations: 28 kB / 0.7912 GB, free: 108.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.167e-05/1.154, allocations: 8 kB / 0.7912 GB, free: 108.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.948e-05/1.154, allocations: 19.89 kB / 0.7912 GB, free: 108.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01566/1.17, allocations: 10.73 MB / 0.8017 GB, free: 98.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.371e-05/1.17, allocations: 3.938 kB / 0.8017 GB, free: 98.13 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002234/1.172, allocations: 499.2 kB / 0.8022 GB, free: 97.64 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001162/1.173, allocations: 493.2 kB / 0.8026 GB, free: 97.15 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001646/1.173, allocations: 51.92 kB / 0.8027 GB, free: 97.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004842/1.178, allocations: 6.205 MB / 0.8087 GB, free: 90.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/1.178, allocations: 3.938 kB / 0.8087 GB, free: 90.62 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008304/1.187, allocations: 7.618 MB / 0.8162 GB, free: 82.93 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002194/1.189, allocations: 0.4911 MB / 0.8167 GB, free: 82.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001101/1.19, allocations: 44 kB / 0.8167 GB, free: 82.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002202/1.192, allocations: 155.8 kB / 0.8169 GB, free: 82.22 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003492/1.192, allocations: 149.8 kB / 0.817 GB, free: 82.07 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001643/1.193, allocations: 67.98 kB / 0.8171 GB, free: 82.01 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004143/1.197, allocations: 3.18 MB / 0.8202 GB, free: 78.84 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.4e-07/1.197, allocations: 0 / 0.8202 GB, free: 78.84 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00573/1.203, allocations: 1.303 MB / 0.8214 GB, free: 77.54 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.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 (224): * Single equations (assignments): 219 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008258/1.211, allocations: 8.319 MB / 0.8296 GB, free: 69.14 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007879/1.219, allocations: 6.794 MB / 0.8362 GB, free: 62.36 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/1.219, allocations: 192 / 0.8362 GB, free: 62.36 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002271/1.221, allocations: 2.374 MB / 0.8385 GB, free: 59.96 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003303/1.224, allocations: 0.6365 MB / 0.8391 GB, free: 59.33 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06289/1.287, allocations: 58.9 MB / 0.8967 GB, free: 9.48 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004258/1.292, allocations: 4.101 MB / 0.9007 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.005102/1.297, allocations: 2.381 MB / 0.903 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003051/1.3, allocations: 2.628 MB / 0.9056 GB, free: 336 kB / 0.5762 GB Notification: Performance of SimCode: time 9.31e-07/1.3, allocations: 0 / 0.9056 GB, free: 336 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3703/1.67, allocations: 93.19 MB / 0.9966 GB, free: 190.8 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 30.59/32.26, allocations: 11.34 kB / 0.9966 GB, free: 190.8 MB / 0.6231 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_LineForceWithMass_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_LineForceWithMass.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/LineForceWithMass/LineForceWithMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches