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.001246/0.001246, allocations: 114 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001482/0.001483, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.41/1.41, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2134/0.2134, allocations: 46.11 MB / 343.8 MB, free: 11.79 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 71.45 kB / 417.2 MB, free: 20 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1185, allocations: 62.44 MB / 479.6 MB, free: 5.547 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.2989/0.4175, allocations: 63.5 MB / 0.5304 GB, free: 8.059 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03206/0.4496, allocations: 12.81 MB / 0.5429 GB, free: 264 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01658/0.4662, allocations: 290.6 kB / 0.5432 GB, free: 212 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008178/0.4744, allocations: 3.861 MB / 0.5469 GB, free: 14.29 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006961/0.4814, allocations: 2.156 MB / 0.549 GB, free: 12.79 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003363/0.4848, allocations: 1.088 MB / 0.5501 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01029/0.4952, allocations: 6.979 MB / 0.5569 GB, free: 8.09 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007018/0.5022, allocations: 4.937 MB / 0.5617 GB, free: 3.109 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004382/0.5066, allocations: 2.27 MB / 0.5639 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005201/0.5119, allocations: 3.35 MB / 0.5672 GB, free: 13.47 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001783/0.5137, allocations: 456 kB / 0.5677 GB, free: 13.03 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003814/0.5175, allocations: 1.545 MB / 0.5692 GB, free: 11.48 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003539/0.5211, allocations: 2.708 MB / 0.5718 GB, free: 8.766 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005216/0.5263, allocations: 3.162 MB / 0.5749 GB, free: 5.586 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01183/0.5382, allocations: 9.506 MB / 0.5842 GB, free: 12.05 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.5383, allocations: 0 / 0.5842 GB, free: 12.05 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.5383, allocations: 0 / 0.5842 GB, free: 12.05 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003728/0.5386, allocations: 0 / 0.5842 GB, free: 12.05 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: 1941 * Number of variables: 1941 Notification: Performance of Generate backend data structure: time 0.02329/0.5619, allocations: 6.999 MB / 0.591 GB, free: 4.973 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.684e-05/0.562, allocations: 15.97 kB / 0.591 GB, free: 4.957 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003271/0.5653, allocations: 0.918 MB / 0.5919 GB, free: 4.027 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1635/0.7288, allocations: 12.5 MB / 0.6041 GB, free: 7.504 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01139/0.7403, allocations: 4.473 MB / 0.6085 GB, free: 2.973 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003412/0.7407, allocations: 312.3 kB / 0.6088 GB, free: 2.664 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001953/0.7426, allocations: 419.7 kB / 0.6092 GB, free: 2.254 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02639/0.769, allocations: 13.69 MB / 0.6226 GB, free: 3.691 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002189/0.7693, allocations: 67.36 kB / 0.6226 GB, free: 3.625 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001093/0.7704, allocations: 195.8 kB / 0.6228 GB, free: 3.434 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004138/0.7746, allocations: 2.527 MB / 0.6253 GB, free: 0.9023 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02452/0.7991, allocations: 11.55 MB / 0.6366 GB, free: 5.344 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07566/0.8748, allocations: 53.09 MB / 0.6884 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01795/0.8928, allocations: 5.812 MB / 0.6941 GB, free: 8.777 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005045/0.8979, allocations: 3.381 MB / 0.6974 GB, free: 5.387 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02326/0.9211, allocations: 14.88 MB / 0.7119 GB, free: 5.934 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.716e-05/0.9212, allocations: 64.5 kB / 0.712 GB, free: 5.863 MB / 0.545 GB Notification: Performance of pre-optimization done (n=227): time 4.148e-06/0.9212, allocations: 0 / 0.712 GB, free: 5.863 MB / 0.545 GB Notification: Performance of matching and sorting (n=264): time 0.3249/1.246, allocations: 26.2 MB / 0.7376 GB, free: 193 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.867e-05/1.246, allocations: 268.2 kB / 0.7378 GB, free: 192.7 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006496/1.253, allocations: 5.065 MB / 0.7428 GB, free: 190.9 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0005169/1.253, allocations: 68.89 kB / 0.7428 GB, free: 190.9 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.00188/1.255, allocations: 3.949 MB / 0.7467 GB, free: 187.9 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001122/1.256, allocations: 0.9914 MB / 0.7476 GB, free: 187.1 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001586/1.258, allocations: 1.46 MB / 0.7491 GB, free: 186.4 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 4.741e-05/1.258, allocations: 301.1 kB / 0.7494 GB, free: 186.1 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003347/1.261, allocations: 2.731 MB / 0.752 GB, free: 185.3 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005476/1.267, allocations: 7.083 MB / 0.7589 GB, free: 178.5 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00983/1.277, allocations: 10.66 MB / 0.7694 GB, free: 166.3 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001278/1.277, allocations: 40 kB / 0.7694 GB, free: 166.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=963) (initialization): time 0.01637/1.293, allocations: 10.12 MB / 0.7793 GB, free: 156.2 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.628e-05/1.293, allocations: 68 kB / 0.7793 GB, free: 156.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001207/1.293, allocations: 153.8 kB / 0.7795 GB, free: 155.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001485/1.295, allocations: 0.7196 MB / 0.7802 GB, free: 155.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00554/1.301, allocations: 1.766 MB / 0.7819 GB, free: 153.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005931/1.306, allocations: 6.854 MB / 0.7886 GB, free: 146.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005656/1.312, allocations: 415.9 kB / 0.789 GB, free: 145.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001091/1.313, allocations: 444 kB / 0.7894 GB, free: 145.5 MB / 0.545 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.004648/1.318, allocations: 2.627 MB / 0.792 GB, free: 142.9 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001269/1.319, allocations: 466 kB / 0.7924 GB, free: 142.4 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006173/1.325, allocations: 4.383 MB / 0.7967 GB, free: 138 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.03e-05/1.325, allocations: 31.61 kB / 0.7967 GB, free: 138 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.195e-05/1.325, allocations: 4 kB / 0.7967 GB, free: 138 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.087e-05/1.325, allocations: 23.83 kB / 0.7968 GB, free: 137.9 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01754/1.343, allocations: 10.84 MB / 0.8074 GB, free: 127.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.44e-05/1.343, allocations: 0 / 0.8074 GB, free: 127.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00238/1.345, allocations: 0.4953 MB / 0.8078 GB, free: 126.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001214/1.347, allocations: 495.1 kB / 0.8083 GB, free: 126.1 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001908/1.347, allocations: 51.92 kB / 0.8084 GB, free: 126.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005151/1.352, allocations: 6.211 MB / 0.8144 GB, free: 119.6 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/1.352, allocations: 3.422 kB / 0.8144 GB, free: 119.6 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008737/1.361, allocations: 7.624 MB / 0.8219 GB, free: 111.9 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001311/1.362, allocations: 498.9 kB / 0.8223 GB, free: 111.4 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005226/1.363, allocations: 43.94 kB / 0.8224 GB, free: 111.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00186/1.365, allocations: 159.8 kB / 0.8225 GB, free: 111.2 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003625/1.365, allocations: 145.7 kB / 0.8227 GB, free: 111.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000169/1.365, allocations: 79.98 kB / 0.8228 GB, free: 111 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003833/1.369, allocations: 3.176 MB / 0.8259 GB, free: 107.8 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.3e-07/1.369, allocations: 0 / 0.8259 GB, free: 107.8 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005694/1.375, allocations: 1.283 MB / 0.8271 GB, free: 106.5 MB / 0.545 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.00876/1.383, allocations: 8.327 MB / 0.8352 GB, free: 98.13 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0144/1.398, allocations: 9.471 MB / 0.8445 GB, free: 88.69 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/1.398, allocations: 0 / 0.8445 GB, free: 88.69 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002627/1.401, allocations: 2.374 MB / 0.8468 GB, free: 86.3 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003797/1.404, allocations: 0.6219 MB / 0.8474 GB, free: 85.69 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09625/1.501, allocations: 71.98 MB / 0.9177 GB, free: 4.191 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003747/1.504, allocations: 4.089 MB / 0.9217 GB, free: 72 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.2269/1.731, allocations: 2.376 MB / 0.924 GB, free: 185.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004669/1.736, allocations: 2.62 MB / 0.9266 GB, free: 185.5 MB / 0.545 GB Notification: Performance of SimCode: time 1.022e-06/1.736, allocations: 0 / 0.9266 GB, free: 185.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.136/1.872, allocations: 96.11 MB / 1.02 GB, free: 110.9 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001452/1.872, allocations: 222 kB / 1.021 GB, free: 110.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.696/6.569, allocations: 0 / 1.021 GB, free: 110.6 MB / 0.545 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