Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00183/0.00183, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00217/0.00217, allocations: 204.5 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.489/1.489, allocations: 230.5 MB / 257.4 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 59.91 kB / 377.7 MB, free: 2.809 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.222, allocations: 53.41 MB / 431.1 MB, free: 6.449 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.01254/0.2345, allocations: 9.832 MB / 441 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007802/0.2423, allocations: 3.854 MB / 444.8 MB, free: 8.715 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001104/0.2434, allocations: 75.69 kB / 444.9 MB, free: 8.641 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005874/0.2493, allocations: 3.096 MB / 448 MB, free: 5.535 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004524/0.2538, allocations: 1.934 MB / 449.9 MB, free: 3.594 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00182/0.2556, allocations: 0.8344 MB / 450.8 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006569/0.2622, allocations: 4.401 MB / 455.2 MB, free: 14.35 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004096/0.2663, allocations: 3.024 MB / 458.2 MB, free: 11.26 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002432/0.2687, allocations: 1.647 MB / 459.8 MB, free: 9.605 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003578/0.2723, allocations: 2.141 MB / 462 MB, free: 7.457 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009102/0.2732, allocations: 348 kB / 462.3 MB, free: 7.117 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00237/0.2756, allocations: 1.124 MB / 463.5 MB, free: 5.992 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002415/0.278, allocations: 2.061 MB / 465.5 MB, free: 3.926 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002384/0.2804, allocations: 1.712 MB / 467.2 MB, free: 2.203 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00901/0.2894, allocations: 7.494 MB / 474.7 MB, free: 10.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2894, allocations: 0 / 474.7 MB, free: 10.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2894, allocations: 4 kB / 474.7 MB, free: 10.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001657/0.2896, allocations: 0 / 474.7 MB, free: 10.68 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1541 * Number of variables: 1541 Notification: Performance of Generate backend data structure: time 0.01068/0.3002, allocations: 5.208 MB / 479.9 MB, free: 5.406 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.3003, allocations: 15.98 kB / 479.9 MB, free: 5.391 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001127/0.3014, allocations: 0.7282 MB / 480.7 MB, free: 4.652 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02305/0.3245, allocations: 3.898 MB / 484.6 MB, free: 0.7461 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007687/0.3322, allocations: 2.92 MB / 487.5 MB, free: 13.77 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002235/0.3324, allocations: 246.2 kB / 487.7 MB, free: 13.53 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008008/0.3332, allocations: 319.8 kB / 488 MB, free: 13.22 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01925/0.3524, allocations: 10.4 MB / 498.4 MB, free: 2.113 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000125/0.3526, allocations: 43.64 kB / 498.5 MB, free: 2.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004238/0.353, allocations: 155.8 kB / 498.6 MB, free: 1.918 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003617/0.3566, allocations: 2.025 MB / 0.4889 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01852/0.3751, allocations: 8.768 MB / 0.4975 GB, free: 7.102 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.242/0.6171, allocations: 39.13 MB / 0.5357 GB, free: 92.14 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01089/0.628, allocations: 3.794 MB / 0.5394 GB, free: 92.05 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002205/0.6302, allocations: 2.235 MB / 0.5416 GB, free: 91.71 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0095/0.6397, allocations: 6.102 MB / 0.5476 GB, free: 89.41 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.451e-05/0.6397, allocations: 49.5 kB / 0.5476 GB, free: 89.36 MB / 446.1 MB Notification: Performance of pre-optimization done (n=177): time 5.991e-06/0.6397, allocations: 0.5625 kB / 0.5476 GB, free: 89.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=198): time 0.03797/0.6777, allocations: 17.86 MB / 0.565 GB, free: 78.56 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.917e-05/0.6778, allocations: 175.5 kB / 0.5652 GB, free: 78.35 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004593/0.6824, allocations: 4.788 MB / 0.5699 GB, free: 73.7 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002046/0.6826, allocations: 53.7 kB / 0.5699 GB, free: 73.64 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001315/0.6839, allocations: 3.277 MB / 0.5731 GB, free: 70.46 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005001/0.6844, allocations: 0.7822 MB / 0.5739 GB, free: 69.68 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001222/0.6856, allocations: 1.254 MB / 0.5751 GB, free: 68.42 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.965e-05/0.6856, allocations: 306.5 kB / 0.5754 GB, free: 68.12 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002443/0.6881, allocations: 2.272 MB / 0.5776 GB, free: 65.84 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003556/0.6916, allocations: 5.987 MB / 0.5835 GB, free: 58.08 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007434/0.6991, allocations: 8.963 MB / 0.5922 GB, free: 47.4 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001059/0.6992, allocations: 36 kB / 0.5923 GB, free: 47.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=802) (initialization): time 0.01306/0.7122, allocations: 8.799 MB / 0.6009 GB, free: 38.55 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001406/0.7124, allocations: 64.03 kB / 0.6009 GB, free: 38.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001904/0.7126, allocations: 128 kB / 0.601 GB, free: 38.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002193/0.7148, allocations: 0.938 MB / 0.602 GB, free: 37.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004253/0.719, allocations: 1.407 MB / 0.6033 GB, free: 36.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007136/0.7262, allocations: 6.355 MB / 0.6095 GB, free: 29.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004609/0.7308, allocations: 343.6 kB / 0.6099 GB, free: 29.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000797/0.7316, allocations: 372 kB / 0.6102 GB, free: 28.85 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 591 * Number of states: 0 () * Number of discrete variables: 46 (forceAndTorque.torqueArrow.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.forceArrow.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,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 (744): * Single equations (assignments): 738 * 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.002992/0.7346, allocations: 2.167 MB / 0.6123 GB, free: 26.68 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007124/0.7353, allocations: 413.2 kB / 0.6127 GB, free: 26.27 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005396/0.7407, allocations: 3.679 MB / 0.6163 GB, free: 22.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.124e-05/0.7407, allocations: 23.75 kB / 0.6164 GB, free: 22.55 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/0.7407, allocations: 8 kB / 0.6164 GB, free: 22.55 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.755e-05/0.7407, allocations: 11.44 kB / 0.6164 GB, free: 22.54 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01371/0.7544, allocations: 8.623 MB / 0.6248 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.316e-05/0.7544, allocations: 11.94 kB / 0.6248 GB, free: 13.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001412/0.7559, allocations: 319.5 kB / 0.6251 GB, free: 13.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001876/0.7577, allocations: 0.7617 MB / 0.6259 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001758/0.7579, allocations: 44.86 kB / 0.6259 GB, free: 12.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006654/0.7646, allocations: 5.957 MB / 0.6317 GB, free: 6.629 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.7646, allocations: 7.984 kB / 0.6317 GB, free: 6.621 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007898/0.7725, allocations: 6.596 MB / 0.6382 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001286/0.7737, allocations: 413 kB / 0.6386 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004782/0.7742, allocations: 35.83 kB / 0.6386 GB, free: 15.49 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001542/0.7758, allocations: 119.8 kB / 0.6387 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003285/0.7761, allocations: 136.9 kB / 0.6388 GB, free: 15.24 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001499/0.7762, allocations: 60 kB / 0.6389 GB, free: 15.18 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00447/0.7807, allocations: 2.928 MB / 0.6417 GB, free: 12.25 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.7807, allocations: 0 / 0.6417 GB, free: 12.25 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004492/0.7852, allocations: 1.023 MB / 0.6427 GB, free: 11.23 MB / 462.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 (157): * Single equations (assignments): 153 * 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.01088/0.7961, allocations: 7.257 MB / 0.6498 GB, free: 3.875 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009505/0.8056, allocations: 5.313 MB / 0.655 GB, free: 14.58 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-05/0.8056, allocations: 4 kB / 0.655 GB, free: 14.57 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00355/0.8092, allocations: 1.841 MB / 0.6568 GB, free: 12.72 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003181/0.8124, allocations: 0.5093 MB / 0.6573 GB, free: 12.22 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08008/0.8924, allocations: 50.19 MB / 0.7063 GB, free: 4.129 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004608/0.897, allocations: 2.827 MB / 0.7091 GB, free: 1.254 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00481/0.9019, allocations: 2.03 MB / 0.7111 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003021/0.9049, allocations: 1.991 MB / 0.713 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of SimCode: time 1.112e-06/0.9049, allocations: 0 / 0.713 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3122/1.217, allocations: 77.39 MB / 0.7886 GB, free: 162.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.47/17.68, allocations: 0.8125 kB / 0.7886 GB, free: 162.1 MB / 0.545 GB " [Timeout remaining time 642] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/ForceAndTorque/ForceAndTorque.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 20.960797096136957]