Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.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.LineForceWithMass,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_LineForceWithMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.LineForceWithMass,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_LineForceWithMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001307/0.001307, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001612/0.001612, allocations: 200.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.418/1.418, allocations: 227.4 MB / 247 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2262/0.2262, allocations: 46.13 MB / 344.4 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002228/0.002228, allocations: 75.88 kB / 480.9 MB, free: 4.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3341/0.3364, allocations: 62.44 MB / 0.5306 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.01673/0.3531, allocations: 14.96 MB / 0.5452 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01086/0.364, allocations: 5.011 MB / 0.5501 GB, free: 13.64 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002586/0.3666, allocations: 102.2 kB / 0.5502 GB, free: 13.56 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007819/0.3745, allocations: 4.007 MB / 0.5542 GB, free: 9.543 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006771/0.3813, allocations: 2.315 MB / 0.5564 GB, free: 7.219 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002861/0.3842, allocations: 1.17 MB / 0.5576 GB, free: 6.047 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01035/0.3946, allocations: 6.58 MB / 0.564 GB, free: 15.45 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006353/0.401, allocations: 4.687 MB / 0.5686 GB, free: 10.7 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003965/0.405, allocations: 2.212 MB / 0.5707 GB, free: 8.48 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004787/0.4098, allocations: 3.014 MB / 0.5737 GB, free: 5.457 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001324/0.4111, allocations: 456 kB / 0.5741 GB, free: 5.012 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003412/0.4146, allocations: 1.521 MB / 0.5756 GB, free: 3.488 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003211/0.4178, allocations: 2.673 MB / 0.5782 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004395/0.4222, allocations: 3.135 MB / 0.5813 GB, free: 13.65 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01247/0.4347, allocations: 9.766 MB / 0.5908 GB, free: 3.852 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.158e-06/0.4347, allocations: 4 kB / 0.5908 GB, free: 3.848 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4348, allocations: 4 kB / 0.5908 GB, free: 3.844 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002773/0.435, allocations: 0 / 0.5908 GB, free: 3.844 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.02037/0.4554, allocations: 7.168 MB / 0.5978 GB, free: 12.58 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.4555, allocations: 12.03 kB / 0.5978 GB, free: 12.57 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002005/0.4575, allocations: 0.9102 MB / 0.5987 GB, free: 11.65 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1767/0.6342, allocations: 12.54 MB / 0.6109 GB, free: 15.09 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01123/0.6455, allocations: 4.576 MB / 0.6154 GB, free: 10.45 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003186/0.6459, allocations: 316.1 kB / 0.6157 GB, free: 10.14 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001625/0.6475, allocations: 427.7 kB / 0.6161 GB, free: 9.723 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0273/0.6748, allocations: 13.69 MB / 0.6295 GB, free: 11.16 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001721/0.675, allocations: 59.53 kB / 0.6296 GB, free: 11.11 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006178/0.6757, allocations: 199.8 kB / 0.6297 GB, free: 10.91 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004223/0.6799, allocations: 2.527 MB / 0.6322 GB, free: 8.379 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02472/0.7046, allocations: 11.54 MB / 0.6435 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06929/0.774, allocations: 52.93 MB / 0.6952 GB, free: 6.383 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01659/0.7906, allocations: 5.819 MB / 0.7009 GB, free: 428 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004829/0.7955, allocations: 3.385 MB / 0.7042 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2593/1.055, allocations: 14.87 MB / 0.7187 GB, free: 163.3 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.855e-05/1.055, allocations: 60.97 kB / 0.7187 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=227): time 6.182e-06/1.055, allocations: 1.406 kB / 0.7187 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=264): time 0.07323/1.128, allocations: 26.53 MB / 0.7446 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.386e-05/1.128, allocations: 261.3 kB / 0.7449 GB, free: 152.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005368/1.134, allocations: 5.082 MB / 0.7499 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000399/1.134, allocations: 73.55 kB / 0.7499 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001558/1.136, allocations: 4.102 MB / 0.7539 GB, free: 143.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008015/1.136, allocations: 1.032 MB / 0.7549 GB, free: 142.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001449/1.138, allocations: 1.472 MB / 0.7564 GB, free: 141.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.664e-05/1.138, allocations: 309.1 kB / 0.7567 GB, free: 141 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002989/1.141, allocations: 2.732 MB / 0.7593 GB, free: 138.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004162/1.145, allocations: 7.075 MB / 0.7663 GB, free: 129.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008426/1.154, allocations: 10.66 MB / 0.7767 GB, free: 116.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.089e-05/1.154, allocations: 40 kB / 0.7767 GB, free: 116.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=963) (initialization): time 0.01422/1.168, allocations: 10.14 MB / 0.7866 GB, free: 106.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.176e-05/1.168, allocations: 68 kB / 0.7867 GB, free: 106.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000134/1.168, allocations: 152 kB / 0.7868 GB, free: 105.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001483/1.17, allocations: 0.7084 MB / 0.7875 GB, free: 105.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00523/1.175, allocations: 1.774 MB / 0.7892 GB, free: 103.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005532/1.18, allocations: 6.843 MB / 0.7959 GB, free: 96.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005183/1.186, allocations: 418.9 kB / 0.7963 GB, free: 95.93 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009482/1.187, allocations: 448 kB / 0.7967 GB, free: 95.5 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.003534/1.19, allocations: 2.626 MB / 0.7993 GB, free: 92.86 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008065/1.191, allocations: 0.4889 MB / 0.7998 GB, free: 92.37 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005782/1.197, allocations: 4.377 MB / 0.8041 GB, free: 87.97 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.847e-05/1.197, allocations: 28 kB / 0.8041 GB, free: 87.94 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.021e-05/1.197, allocations: 8 kB / 0.8041 GB, free: 87.93 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-05/1.197, allocations: 13.41 kB / 0.8041 GB, free: 87.92 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01515/1.212, allocations: 10.75 MB / 0.8146 GB, free: 77.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.592e-05/1.212, allocations: 0 / 0.8146 GB, free: 77.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002262/1.214, allocations: 0.5015 MB / 0.8151 GB, free: 76.66 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001187/1.216, allocations: 489.2 kB / 0.8156 GB, free: 76.18 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002076/1.216, allocations: 47.98 kB / 0.8156 GB, free: 76.13 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004961/1.221, allocations: 6.227 MB / 0.8217 GB, free: 69.63 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/1.221, allocations: 0 / 0.8217 GB, free: 69.63 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008487/1.229, allocations: 7.651 MB / 0.8292 GB, free: 61.91 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001123/1.23, allocations: 0.5095 MB / 0.8297 GB, free: 61.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006423/1.231, allocations: 44 kB / 0.8297 GB, free: 61.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001937/1.233, allocations: 155.7 kB / 0.8299 GB, free: 61.18 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003512/1.233, allocations: 146.6 kB / 0.83 GB, free: 61.04 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001749/1.234, allocations: 75.73 kB / 0.8301 GB, free: 60.96 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004052/1.238, allocations: 3.176 MB / 0.8332 GB, free: 57.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.82e-07/1.238, allocations: 0 / 0.8332 GB, free: 57.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005628/1.243, allocations: 1.289 MB / 0.8344 GB, free: 56.52 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.008929/1.252, allocations: 8.351 MB / 0.8426 GB, free: 48.09 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008621/1.261, allocations: 6.797 MB / 0.8492 GB, free: 41.29 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/1.261, allocations: 7.938 kB / 0.8492 GB, free: 41.29 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002498/1.263, allocations: 2.371 MB / 0.8515 GB, free: 38.89 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003279/1.267, allocations: 0.6188 MB / 0.8521 GB, free: 38.28 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07868/1.345, allocations: 59.15 MB / 0.9099 GB, free: 4.164 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00561/1.351, allocations: 4.101 MB / 0.9139 GB, free: 36 kB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.006183/1.357, allocations: 2.373 MB / 0.9162 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004286/1.362, allocations: 2.62 MB / 0.9188 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of SimCode: time 1.112e-06/1.362, allocations: 4 kB / 0.9188 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3818/1.743, allocations: 91.71 MB / 1.008 GB, free: 194.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 33.75/35.49, allocations: 12.39 kB / 1.008 GB, free: 194.4 MB / 0.6387 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_LineForceWithMass_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_LineForceWithMass.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches