Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.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.MultiBody.Examples.Elementary.ForceAndTorque,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque",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.001185/0.001185, allocations: 104.1 kB / 17.58 MB, free: 5.555 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.001199/0.0012, allocations: 192.1 kB / 18.51 MB, free: 4.637 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.393/1.393, allocations: 205.1 MB / 224.4 MB, free: 12.3 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.001324/0.001325, allocations: 56.2 kB / 280.7 MB, free: 3.074 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0961/0.09744, allocations: 46.64 MB / 327.4 MB, free: 4.367 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.0135/0.111, allocations: 12.48 MB / 339.9 MB, free: 7.82 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008335/0.1194, allocations: 4.202 MB / 344.1 MB, free: 3.605 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001822/0.1212, allocations: 75.81 kB / 344.1 MB, free: 3.531 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005861/0.1271, allocations: 3.224 MB / 347.4 MB, free: 304 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005716/0.1329, allocations: 2.089 MB / 349.5 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002238/0.1351, allocations: 0.8188 MB / 350.3 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.008535/0.1437, allocations: 4.553 MB / 354.8 MB, free: 8.812 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006788/0.1505, allocations: 4.174 MB / 359 MB, free: 4.578 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00356/0.1541, allocations: 1.76 MB / 360.8 MB, free: 2.812 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003786/0.1579, allocations: 2.348 MB / 363.1 MB, free: 468 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001477/0.1594, allocations: 392 kB / 363.5 MB, free: 76 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003161/0.1626, allocations: 1.272 MB / 364.8 MB, free: 14.8 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003222/0.1658, allocations: 2.213 MB / 367 MB, free: 12.58 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00456/0.1704, allocations: 2.583 MB / 369.6 MB, free: 9.984 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01094/0.1814, allocations: 8.057 MB / 377.6 MB, free: 1.902 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.1814, allocations: 0 / 377.6 MB, free: 1.902 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1814, allocations: 4 kB / 377.6 MB, free: 1.898 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.000298/0.1817, allocations: 0 / 377.6 MB, free: 1.898 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1737 * Number of variables: 1737 Notification: Performance of Generate backend data structure: time 0.1547/0.3364, allocations: 5.613 MB / 383.2 MB, free: 49.54 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.3365, allocations: 6.875 kB / 383.2 MB, free: 49.54 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002089/0.3386, allocations: 0.8151 MB / 384.1 MB, free: 49.18 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02392/0.3625, allocations: 3.98 MB / 388 MB, free: 48.14 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006977/0.3695, allocations: 3.331 MB / 391.4 MB, free: 46.11 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002379/0.3698, allocations: 264.2 kB / 391.6 MB, free: 46.03 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0012/0.371, allocations: 354 kB / 392 MB, free: 45.95 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01638/0.3874, allocations: 11.58 MB / 403.6 MB, free: 36.49 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001066/0.3875, allocations: 51.58 kB / 403.6 MB, free: 36.44 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004003/0.388, allocations: 167.8 kB / 403.8 MB, free: 36.28 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003102/0.3911, allocations: 2.338 MB / 406.1 MB, free: 33.93 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01515/0.4062, allocations: 9.855 MB / 416 MB, free: 24.07 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04998/0.4562, allocations: 44.3 MB / 460.3 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01336/0.4696, allocations: 5.27 MB / 465.5 MB, free: 5.273 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00365/0.4733, allocations: 2.748 MB / 468.3 MB, free: 2.512 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0128/0.4862, allocations: 7.986 MB / 476.3 MB, free: 10.32 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.52e-05/0.4862, allocations: 61.97 kB / 476.3 MB, free: 10.25 MB / 366.1 MB Notification: Performance of pre-optimization done (n=216): time 4.779e-06/0.4862, allocations: 0 / 476.3 MB, free: 10.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=237): time 0.04962/0.5359, allocations: 19.98 MB / 496.3 MB, free: 6.125 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/0.536, allocations: 184.2 kB / 496.5 MB, free: 5.91 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008524/0.5445, allocations: 4.776 MB / 0.4895 GB, free: 1.125 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004665/0.545, allocations: 61.7 kB / 0.4896 GB, free: 1.059 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002421/0.5475, allocations: 3.413 MB / 0.4929 GB, free: 13.6 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001226/0.5487, allocations: 0.8868 MB / 0.4938 GB, free: 12.7 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003692/0.5524, allocations: 1.345 MB / 0.4951 GB, free: 11.34 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.5526, allocations: 305.1 kB / 0.4954 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004375/0.557, allocations: 2.597 MB / 0.4979 GB, free: 8.441 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006678/0.5637, allocations: 6.499 MB / 0.5043 GB, free: 16.01 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01093/0.5746, allocations: 9.887 MB / 0.5139 GB, free: 4.203 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.437e-05/0.5748, allocations: 43.94 kB / 0.514 GB, free: 4.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=874) (initialization): time 0.01638/0.5911, allocations: 9.681 MB / 0.5234 GB, free: 10.46 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001145/0.5913, allocations: 64 kB / 0.5235 GB, free: 10.4 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001594/0.5915, allocations: 136 kB / 0.5236 GB, free: 10.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002261/0.5937, allocations: 0.9499 MB / 0.5245 GB, free: 9.316 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005257/0.599, allocations: 1.583 MB / 0.5261 GB, free: 7.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008046/0.6071, allocations: 6.55 MB / 0.5325 GB, free: 1.039 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00489/0.612, allocations: 379.5 kB / 0.5328 GB, free: 0.668 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001064/0.6131, allocations: 404 kB / 0.5332 GB, free: 280 kB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 624 * Number of states: 0 () * Number of discrete variables: 42 (fixed2.color[3],fixed2.color[2],fixed2.color[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],forceAndTorque.connectionLineColor[3],forceAndTorque.connectionLineColor[2],forceAndTorque.connectionLineColor[1],forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (816): * Single equations (assignments): 810 * Array equations: 5 * 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 {(2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.1476/0.7607, allocations: 2.381 MB / 0.5355 GB, free: 141.5 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009149/0.7616, allocations: 412.9 kB / 0.5359 GB, free: 141.5 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008005/0.7697, allocations: 4.403 MB / 0.5402 GB, free: 140.5 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.842e-05/0.7697, allocations: 25.81 kB / 0.5403 GB, free: 140.5 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.245e-05/0.7697, allocations: 4.406 kB / 0.5403 GB, free: 140.5 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.909e-05/0.7698, allocations: 13.06 kB / 0.5403 GB, free: 140.5 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01827/0.7881, allocations: 10.54 MB / 0.5506 GB, free: 136.6 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.531e-05/0.7881, allocations: 12.88 kB / 0.5506 GB, free: 136.6 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001819/0.7899, allocations: 433.7 kB / 0.551 GB, free: 136.6 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001722/0.7917, allocations: 0.7682 MB / 0.5517 GB, free: 136.5 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001682/0.7918, allocations: 47.59 kB / 0.5518 GB, free: 136.4 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006203/0.7981, allocations: 6.065 MB / 0.5577 GB, free: 133.2 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.7981, allocations: 10.92 kB / 0.5577 GB, free: 133.2 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008592/0.8067, allocations: 7.695 MB / 0.5652 GB, free: 129.9 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001541/0.8082, allocations: 0.8236 MB / 0.566 GB, free: 129.5 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005509/0.8088, allocations: 40 kB / 0.5661 GB, free: 129.4 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001679/0.8105, allocations: 141.6 kB / 0.5662 GB, free: 129.3 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003194/0.8108, allocations: 150.5 kB / 0.5664 GB, free: 129.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001453/0.811, allocations: 67.98 kB / 0.5664 GB, free: 129.1 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003336/0.8143, allocations: 3.063 MB / 0.5694 GB, free: 126 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.8143, allocations: 4 kB / 0.5694 GB, free: 126 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004625/0.819, allocations: 1.151 MB / 0.5705 GB, free: 124.9 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 (revolute2.phi,revolute2.w,revolute1.phi,revolute1.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 (198): * Single equations (assignments): 194 * 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 {(4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008564/0.8275, allocations: 8.371 MB / 0.5787 GB, free: 116.4 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.009816/0.8374, allocations: 8.084 MB / 0.5866 GB, free: 108.4 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.8374, allocations: 0 / 0.5866 GB, free: 108.4 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002851/0.8402, allocations: 2.319 MB / 0.5889 GB, free: 106.1 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002699/0.843, allocations: 0.526 MB / 0.5894 GB, free: 105.6 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0592/0.9022, allocations: 64.21 MB / 0.6521 GB, free: 32.69 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002981/0.9052, allocations: 3.675 MB / 0.6557 GB, free: 28.98 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.004338/0.9095, allocations: 2.216 MB / 0.6578 GB, free: 26.75 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002428/0.912, allocations: 2.221 MB / 0.66 GB, free: 24.54 MB / 430.1 MB Notification: Performance of SimCode: time 7.32e-07/0.912, allocations: 0 / 0.66 GB, free: 24.54 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2602/1.172, allocations: 86.81 MB / 0.7448 GB, free: 127.9 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/12.72, allocations: 4.688 kB / 0.7448 GB, free: 127.9 MB / 446.1 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/ForceAndTorque/ForceAndTorque.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches