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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 116 kB / 18.39 MB, free: 4.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00137/0.001371, allocations: 186.9 kB / 21.33 MB, free: 1.715 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.465/1.465, allocations: 205.1 MB / 229.2 MB, free: 4.406 MB / 174.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "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.001683/0.001683, allocations: 51.89 kB / 334.7 MB, free: 14.86 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09886/0.1005, allocations: 46.62 MB / 381.3 MB, free: 1.074 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.01476/0.1154, allocations: 12.48 MB / 393.8 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009084/0.1245, allocations: 4.198 MB / 398 MB, free: 332 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002345/0.1269, allocations: 71.88 kB / 398.1 MB, free: 260 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006547/0.1335, allocations: 3.224 MB / 401.3 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005723/0.1393, allocations: 2.085 MB / 403.4 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00204/0.1413, allocations: 0.8266 MB / 404.2 MB, free: 10.1 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007966/0.1493, allocations: 4.557 MB / 408.8 MB, free: 5.527 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005429/0.1548, allocations: 4.174 MB / 413 MB, free: 1.289 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003248/0.158, allocations: 1.764 MB / 414.7 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00372/0.1618, allocations: 2.348 MB / 417.1 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008974/0.1627, allocations: 388 kB / 417.5 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002655/0.1653, allocations: 1.272 MB / 418.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002628/0.168, allocations: 2.221 MB / 420.9 MB, free: 9.285 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003593/0.1716, allocations: 2.579 MB / 423.5 MB, free: 6.691 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01133/0.1829, allocations: 8.369 MB / 431.9 MB, free: 14.29 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/0.183, allocations: 4 kB / 431.9 MB, free: 14.29 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.183, allocations: 0 / 431.9 MB, free: 14.29 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002864/0.1833, allocations: 0 / 431.9 MB, free: 14.29 MB / 366.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.01454/0.1978, allocations: 5.753 MB / 437.6 MB, free: 8.453 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.455e-05/0.1979, allocations: 12.03 kB / 437.7 MB, free: 8.441 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001631/0.1996, allocations: 0.8229 MB / 438.5 MB, free: 7.609 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02383/0.2234, allocations: 3.999 MB / 442.5 MB, free: 3.602 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007619/0.2311, allocations: 3.406 MB / 445.9 MB, free: 140 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002714/0.2314, allocations: 266.8 kB / 446.1 MB, free: 15.87 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001206/0.2326, allocations: 351.8 kB / 446.5 MB, free: 15.53 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02217/0.2548, allocations: 11.58 MB / 458.1 MB, free: 3.234 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001376/0.255, allocations: 47.62 kB / 458.1 MB, free: 3.188 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005607/0.2555, allocations: 167.8 kB / 458.3 MB, free: 3.023 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004211/0.2597, allocations: 2.335 MB / 460.6 MB, free: 0.6875 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2143/0.4741, allocations: 9.846 MB / 470.5 MB, free: 62.37 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04918/0.5233, allocations: 44.15 MB / 0.5026 GB, free: 25.71 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01104/0.5344, allocations: 5.28 MB / 0.5077 GB, free: 20.29 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002803/0.5372, allocations: 2.763 MB / 0.5104 GB, free: 17.51 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009723/0.547, allocations: 8.006 MB / 0.5182 GB, free: 9.504 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.643e-05/0.547, allocations: 51.88 kB / 0.5183 GB, free: 9.445 MB / 382.1 MB Notification: Performance of pre-optimization done (n=216): time 5.56e-06/0.5471, allocations: 0 / 0.5183 GB, free: 9.445 MB / 382.1 MB Notification: Performance of matching and sorting (n=237): time 0.04827/0.5953, allocations: 20.22 MB / 0.538 GB, free: 5.328 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000129/0.5955, allocations: 184.1 kB / 0.5382 GB, free: 5.109 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007069/0.6026, allocations: 4.798 MB / 0.5429 GB, free: 336 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005192/0.6031, allocations: 61.7 kB / 0.5429 GB, free: 268 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002939/0.6061, allocations: 3.545 MB / 0.5464 GB, free: 12.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001365/0.6075, allocations: 0.9326 MB / 0.5473 GB, free: 11.81 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002191/0.6097, allocations: 1.353 MB / 0.5486 GB, free: 10.45 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.6098, allocations: 301.1 kB / 0.5489 GB, free: 10.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004093/0.6139, allocations: 2.594 MB / 0.5515 GB, free: 7.559 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007435/0.6214, allocations: 6.501 MB / 0.5578 GB, free: 15.13 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.013/0.6344, allocations: 9.888 MB / 0.5675 GB, free: 3.324 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001111/0.6346, allocations: 36 kB / 0.5675 GB, free: 3.289 MB / 430.1 MB Notification: Performance of matching and sorting (n=874) (initialization): time 0.01924/0.6538, allocations: 9.707 MB / 0.577 GB, free: 9.566 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.234e-05/0.6539, allocations: 64 kB / 0.577 GB, free: 9.504 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00016/0.6541, allocations: 136 kB / 0.5772 GB, free: 9.371 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002467/0.6566, allocations: 0.9598 MB / 0.5781 GB, free: 8.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005929/0.6625, allocations: 1.579 MB / 0.5797 GB, free: 6.828 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009012/0.6716, allocations: 6.544 MB / 0.586 GB, free: 144 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005302/0.6769, allocations: 379.5 kB / 0.5864 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001125/0.6781, allocations: 400 kB / 0.5868 GB, free: 15.38 MB / 462.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.004765/0.6828, allocations: 2.37 MB / 0.5891 GB, free: 13 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001052/0.6839, allocations: 441 kB / 0.5895 GB, free: 12.56 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00865/0.6926, allocations: 4.413 MB / 0.5938 GB, free: 8.129 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.219e-05/0.6926, allocations: 24 kB / 0.5939 GB, free: 8.105 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.203e-05/0.6927, allocations: 4 kB / 0.5939 GB, free: 8.102 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.775e-05/0.6927, allocations: 15.94 kB / 0.5939 GB, free: 8.086 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02028/0.713, allocations: 10.43 MB / 0.6041 GB, free: 13.52 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.933e-05/0.7131, allocations: 4 kB / 0.6041 GB, free: 13.52 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002114/0.7152, allocations: 431.4 kB / 0.6045 GB, free: 13.09 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002193/0.7174, allocations: 0.7655 MB / 0.6052 GB, free: 12.32 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002489/0.7177, allocations: 47.98 kB / 0.6053 GB, free: 12.28 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008983/0.7267, allocations: 6.129 MB / 0.6113 GB, free: 5.996 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.053e-05/0.7267, allocations: 11.94 kB / 0.6113 GB, free: 5.984 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01274/0.7395, allocations: 7.737 MB / 0.6188 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002145/0.7416, allocations: 0.8377 MB / 0.6196 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000729/0.7424, allocations: 51.98 kB / 0.6197 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001869/0.7443, allocations: 143.8 kB / 0.6198 GB, free: 13.11 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004131/0.7447, allocations: 149.6 kB / 0.62 GB, free: 12.96 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001877/0.7449, allocations: 64 kB / 0.62 GB, free: 12.9 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005641/0.7505, allocations: 3.063 MB / 0.623 GB, free: 9.84 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.7506, allocations: 0 / 0.623 GB, free: 9.84 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006404/0.757, allocations: 1.16 MB / 0.6242 GB, free: 8.68 MB / 494.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.01415/0.7712, allocations: 8.401 MB / 0.6324 GB, free: 184 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.1946/0.9658, allocations: 6.291 MB / 0.6385 GB, free: 166.8 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.019e-05/0.9659, allocations: 5.406 kB / 0.6385 GB, free: 166.8 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003873/0.9698, allocations: 2.326 MB / 0.6408 GB, free: 165.9 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003292/0.9731, allocations: 0.5196 MB / 0.6413 GB, free: 165.7 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06858/1.042, allocations: 55.11 MB / 0.6951 GB, free: 116.9 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003664/1.045, allocations: 3.673 MB / 0.6987 GB, free: 113.2 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004392/1.05, allocations: 2.216 MB / 0.7009 GB, free: 111 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002921/1.053, allocations: 2.218 MB / 0.703 GB, free: 108.8 MB / 494.1 MB Notification: Performance of SimCode: time 2.315e-06/1.053, allocations: 0 / 0.703 GB, free: 108.8 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1227/1.176, allocations: 82.53 MB / 0.7836 GB, free: 26.18 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 20.46/21.64, allocations: 11.53 kB / 0.7836 GB, free: 26.17 MB / 494.1 MB " [Timeout remaining time 638] (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 24.268840802949853]