Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.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: translateModel(ModelicaTest.MultiBody.Forces.WorldForces2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2") translateModel(ModelicaTest.MultiBody.Forces.WorldForces2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001349/0.00135, allocations: 118.8 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001499/0.001499, allocations: 205.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.375/1.375, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2274/0.2274, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 79.83 kB / 481.3 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4137/0.4151, allocations: 62.44 MB / 0.531 GB, free: 13.48 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.01844/0.4336, allocations: 15.41 MB / 0.5461 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01465/0.4483, allocations: 5.057 MB / 0.551 GB, free: 13.09 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004814/0.4532, allocations: 107.7 kB / 0.5511 GB, free: 12.99 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009691/0.4629, allocations: 4.992 MB / 0.556 GB, free: 7.98 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008828/0.4718, allocations: 2.509 MB / 0.5584 GB, free: 5.461 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003853/0.4757, allocations: 1.228 MB / 0.5596 GB, free: 4.23 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01338/0.4891, allocations: 7.931 MB / 0.5674 GB, free: 12.28 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01073/0.4999, allocations: 5.961 MB / 0.5732 GB, free: 6.234 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006547/0.5064, allocations: 2.508 MB / 0.5756 GB, free: 3.719 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006634/0.5131, allocations: 3.435 MB / 0.579 GB, free: 280 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003281/0.5164, allocations: 0.5352 MB / 0.5795 GB, free: 15.73 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005339/0.5218, allocations: 1.553 MB / 0.581 GB, free: 14.18 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005119/0.527, allocations: 3.149 MB / 0.5841 GB, free: 11.03 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007461/0.5345, allocations: 3.465 MB / 0.5875 GB, free: 7.543 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01505/0.5495, allocations: 10.78 MB / 0.598 GB, free: 12.72 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.5496, allocations: 0 / 0.598 GB, free: 12.72 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.5496, allocations: 0 / 0.598 GB, free: 12.72 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004555/0.5501, allocations: 0 / 0.598 GB, free: 12.72 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2127 * Number of variables: 2127 Notification: Performance of Generate backend data structure: time 0.02598/0.5761, allocations: 7.498 MB / 0.6053 GB, free: 5.141 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.408e-05/0.5761, allocations: 12.03 kB / 0.6054 GB, free: 5.129 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01657/0.5927, allocations: 3.046 MB / 0.6083 GB, free: 2.07 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01383/0.6066, allocations: 4.806 MB / 0.613 GB, free: 13.18 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005618/0.6072, allocations: 365.7 kB / 0.6134 GB, free: 12.82 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003032/0.6103, allocations: 495.8 kB / 0.6138 GB, free: 12.34 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03547/0.6457, allocations: 14.25 MB / 0.6278 GB, free: 13.06 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004262/0.6462, allocations: 63.38 kB / 0.6278 GB, free: 13 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00207/0.6483, allocations: 227.8 kB / 0.628 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005028/0.6534, allocations: 2.547 MB / 0.6305 GB, free: 10.22 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02728/0.6807, allocations: 11.77 MB / 0.642 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08232/0.763, allocations: 55.67 MB / 0.6964 GB, free: 5.297 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01214/0.7752, allocations: 4.687 MB / 0.701 GB, free: 456 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004269/0.7795, allocations: 2.939 MB / 0.7038 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001444/0.7797, allocations: 32.95 kB / 0.7039 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.794e-05/0.7797, allocations: 60.17 kB / 0.7039 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=190): time 4.378e-06/0.7798, allocations: 0 / 0.7039 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of matching and sorting (n=208): time 0.4293/1.209, allocations: 23.23 MB / 0.7266 GB, free: 158.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001339/1.209, allocations: 259.5 kB / 0.7269 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01085/1.22, allocations: 6.704 MB / 0.7334 GB, free: 156 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005049/1.221, allocations: 53.45 kB / 0.7335 GB, free: 156 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002705/1.223, allocations: 4.462 MB / 0.7378 GB, free: 152.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009411/1.224, allocations: 0.8355 MB / 0.7386 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001873/1.226, allocations: 1.671 MB / 0.7403 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.29e-05/1.226, allocations: 304.9 kB / 0.7406 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003407/1.23, allocations: 2.884 MB / 0.7434 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005269/1.235, allocations: 7.788 MB / 0.751 GB, free: 142.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01035/1.245, allocations: 11.42 MB / 0.7621 GB, free: 129.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001776/1.246, allocations: 51.94 kB / 0.7622 GB, free: 129.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1057) (initialization): time 0.0199/1.265, allocations: 11.9 MB / 0.7738 GB, free: 117.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.596e-05/1.266, allocations: 76 kB / 0.7739 GB, free: 117.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001574/1.266, allocations: 180.7 kB / 0.7741 GB, free: 117.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003995/1.27, allocations: 1.767 MB / 0.7758 GB, free: 115.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00605/1.276, allocations: 1.918 MB / 0.7777 GB, free: 113.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01154/1.287, allocations: 12.39 MB / 0.7898 GB, free: 100.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008046/1.295, allocations: 455.1 kB / 0.7902 GB, free: 100.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001405/1.297, allocations: 492 kB / 0.7907 GB, free: 100 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 786 * Number of states: 0 () * Number of discrete variables: 63 (worldForce2.arrow.twoHeadedArrow,worldForce2.arrow.headAtOrigin,worldForce1.arrow.twoHeadedArrow,worldForce1.arrow.headAtOrigin,worldForce.arrow.twoHeadedArrow,worldForce.arrow.headAtOrigin,worldForce2.color[3],worldForce2.color[2],worldForce2.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce1.color[3],worldForce1.color[2],worldForce1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldForce.color[3],worldForce.color[2],worldForce.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.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 (994): * Single equations (assignments): 988 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (2,12,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006216/1.303, allocations: 2.964 MB / 0.7935 GB, free: 97.04 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002145/1.305, allocations: 0.536 MB / 0.7941 GB, free: 96.49 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009314/1.315, allocations: 4.84 MB / 0.7988 GB, free: 91.63 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-05/1.315, allocations: 24 kB / 0.7988 GB, free: 91.61 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.602e-05/1.315, allocations: 11.94 kB / 0.7988 GB, free: 91.59 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.591e-05/1.315, allocations: 10.88 kB / 0.7988 GB, free: 91.59 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02368/1.338, allocations: 11.05 MB / 0.8096 GB, free: 80.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.858e-05/1.339, allocations: 4 kB / 0.8096 GB, free: 80.48 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001847/1.34, allocations: 395.4 kB / 0.81 GB, free: 80.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003785/1.344, allocations: 1.474 MB / 0.8115 GB, free: 78.61 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002703/1.344, allocations: 39.94 kB / 0.8115 GB, free: 78.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0109/1.355, allocations: 11.49 MB / 0.8227 GB, free: 66.69 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.708e-06/1.355, allocations: 0 / 0.8227 GB, free: 66.69 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01272/1.368, allocations: 7.936 MB / 0.8305 GB, free: 58.71 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003062/1.371, allocations: 0.6072 MB / 0.8311 GB, free: 58.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00216/1.373, allocations: 43.86 kB / 0.8311 GB, free: 58.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003099/1.377, allocations: 135.6 kB / 0.8312 GB, free: 57.91 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005062/1.377, allocations: 113.4 kB / 0.8313 GB, free: 57.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001612/1.377, allocations: 63.92 kB / 0.8314 GB, free: 57.73 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.006536/1.384, allocations: 4.277 MB / 0.8356 GB, free: 53.47 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.11e-07/1.384, allocations: 0 / 0.8356 GB, free: 53.47 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.009743/1.394, allocations: 1.448 MB / 0.837 GB, free: 52.02 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,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 (160): * Single equations (assignments): 154 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,10,100.0%), (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.0005394/1.394, allocations: 180.1 kB / 0.8372 GB, free: 51.85 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01018/1.404, allocations: 7.064 MB / 0.8441 GB, free: 44.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/1.404, allocations: 4 kB / 0.8441 GB, free: 44.79 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002895/1.407, allocations: 2.27 MB / 0.8463 GB, free: 42.48 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005064/1.412, allocations: 0.7649 MB / 0.847 GB, free: 41.73 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02402/1.436, allocations: 13.53 MB / 0.8602 GB, free: 28.18 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005358/1.442, allocations: 4.504 MB / 0.8646 GB, free: 23.63 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00529/1.447, allocations: 2.503 MB / 0.8671 GB, free: 21.12 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001102/1.448, allocations: 351.4 kB / 0.8674 GB, free: 20.78 MB / 0.5606 GB Notification: Performance of SimCode: time 1.173e-06/1.448, allocations: 0 / 0.8674 GB, free: 20.78 MB / 0.5606 GB Notification: Performance of Templates: time 0.107/1.555, allocations: 53.68 MB / 0.9198 GB, free: 15.48 MB / 0.6075 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/WorldForces2/WorldForces2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches