Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.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.001386/0.001386, allocations: 110 kB / 20.43 MB, free: 1.453 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.001621/0.001621, allocations: 213.1 kB / 23.74 MB, free: 4.66 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.481/1.481, allocations: 230.5 MB / 257.4 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2292/0.2292, allocations: 46.92 MB / 360.8 MB, free: 4.188 MB / 286.1 MB " [Timeout remaining time 180] 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.DifferentiationOfForces,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_DifferentiationOfForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_DifferentiationOfForces",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002291/0.002291, allocations: 75.88 kB / 0.4962 GB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.349, allocations: 66.08 MB / 0.5607 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01155/0.3605, allocations: 9.571 MB / 0.5701 GB, free: 10.65 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007838/0.3683, allocations: 3.874 MB / 0.5739 GB, free: 6.766 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001262/0.3696, allocations: 63.75 kB / 0.5739 GB, free: 6.703 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005203/0.3748, allocations: 2.804 MB / 0.5767 GB, free: 3.891 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004611/0.3794, allocations: 1.661 MB / 0.5783 GB, free: 2.227 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001823/0.3812, allocations: 0.729 MB / 0.579 GB, free: 1.496 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006318/0.3876, allocations: 3.891 MB / 0.5828 GB, free: 13.6 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003584/0.3911, allocations: 2.764 MB / 0.5855 GB, free: 10.77 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002517/0.3937, allocations: 1.425 MB / 0.5869 GB, free: 9.336 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003705/0.3974, allocations: 2.052 MB / 0.5889 GB, free: 7.277 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008582/0.3982, allocations: 312 kB / 0.5892 GB, free: 6.973 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002401/0.4006, allocations: 1.229 MB / 0.5904 GB, free: 5.742 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00206/0.4027, allocations: 1.784 MB / 0.5921 GB, free: 3.953 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002623/0.4053, allocations: 2.09 MB / 0.5942 GB, free: 1.852 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008893/0.4142, allocations: 6.857 MB / 0.6009 GB, free: 10.97 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.039e-05/0.4142, allocations: 0 / 0.6009 GB, free: 10.97 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.4142, allocations: 0 / 0.6009 GB, free: 10.97 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002245/0.4144, allocations: 0 / 0.6009 GB, free: 10.97 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1367 * Number of variables: 1367 Notification: Performance of Generate backend data structure: time 0.0114/0.4258, allocations: 4.512 MB / 0.6053 GB, free: 6.402 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.4259, allocations: 8.031 kB / 0.6053 GB, free: 6.395 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001094/0.427, allocations: 0.6535 MB / 0.6059 GB, free: 5.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08025/0.5072, allocations: 7.067 MB / 0.6128 GB, free: 14.65 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007081/0.5143, allocations: 2.608 MB / 0.6154 GB, free: 11.98 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001978/0.5145, allocations: 218 kB / 0.6156 GB, free: 11.77 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007621/0.5153, allocations: 299.8 kB / 0.6159 GB, free: 11.47 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01378/0.5291, allocations: 8.665 MB / 0.6243 GB, free: 2.168 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001067/0.5292, allocations: 39.64 kB / 0.6244 GB, free: 2.129 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003464/0.5295, allocations: 139.9 kB / 0.6245 GB, free: 1.992 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002678/0.5322, allocations: 1.653 MB / 0.6261 GB, free: 344 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01353/0.5457, allocations: 7.09 MB / 0.633 GB, free: 9.238 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04123/0.5869, allocations: 33.14 MB / 0.6654 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004412/0.5914, allocations: 1.824 MB / 0.6672 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001618/0.593, allocations: 1.128 MB / 0.6683 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002625/0.5932, allocations: 92.41 kB / 0.6684 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.096e-05/0.5933, allocations: 54.98 kB / 0.6684 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=122): time 3.656e-06/0.5933, allocations: 0 / 0.6684 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=140): time 0.02502/0.6183, allocations: 10.53 MB / 0.6787 GB, free: 9.332 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001239/0.6184, allocations: 200.6 kB / 0.6789 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004841/0.6233, allocations: 3.592 MB / 0.6824 GB, free: 5.504 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002182/0.6235, allocations: 45.7 kB / 0.6824 GB, free: 5.453 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002262/0.6258, allocations: 2.959 MB / 0.6853 GB, free: 2.465 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006425/0.6264, allocations: 0.5738 MB / 0.6859 GB, free: 1.887 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001347/0.6277, allocations: 1.076 MB / 0.6869 GB, free: 0.8008 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.6279, allocations: 305.1 kB / 0.6872 GB, free: 0.5 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00269/0.6306, allocations: 1.697 MB / 0.6889 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005404/0.636, allocations: 5.072 MB / 0.6939 GB, free: 8.023 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009528/0.6455, allocations: 7.344 MB / 0.701 GB, free: 15 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.19e-05/0.6456, allocations: 32 kB / 0.7011 GB, free: 14.97 MB / 0.545 GB Notification: Performance of matching and sorting (n=682) (initialization): time 0.0125/0.6581, allocations: 6.747 MB / 0.7076 GB, free: 8.215 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.025e-05/0.6582, allocations: 59.28 kB / 0.7077 GB, free: 8.16 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001312/0.6583, allocations: 120.2 kB / 0.7078 GB, free: 8.043 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009691/0.6593, allocations: 424.6 kB / 0.7082 GB, free: 7.625 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003571/0.6628, allocations: 1.213 MB / 0.7094 GB, free: 6.41 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004339/0.6672, allocations: 3.481 MB / 0.7128 GB, free: 2.82 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003317/0.6705, allocations: 287.8 kB / 0.7131 GB, free: 2.539 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005351/0.671, allocations: 332 kB / 0.7134 GB, free: 2.215 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 544 * Number of states: 0 () * Number of discrete variables: 36 (forceAndTorque.torqueArrow.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.forceArrow.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,cutForce.forceArrow.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.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 (644): * Single equations (assignments): 640 * 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 {(1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003005/0.674, allocations: 1.962 MB / 0.7153 GB, free: 248 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000578/0.6746, allocations: 325.7 kB / 0.7156 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003596/0.6782, allocations: 1.874 MB / 0.7174 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.644e-05/0.6782, allocations: 16 kB / 0.7175 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.6782, allocations: 4 kB / 0.7175 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.85e-05/0.6783, allocations: 11.91 kB / 0.7175 GB, free: 14 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01066/0.6889, allocations: 5.733 MB / 0.7231 GB, free: 8.195 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.325e-05/0.6889, allocations: 4 kB / 0.7231 GB, free: 8.191 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001058/0.69, allocations: 215.7 kB / 0.7233 GB, free: 7.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007408/0.6907, allocations: 248.6 kB / 0.7235 GB, free: 7.734 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-05/0.6908, allocations: 27.98 kB / 0.7236 GB, free: 7.707 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003701/0.6945, allocations: 3.07 MB / 0.7265 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.6945, allocations: 3.938 kB / 0.7266 GB, free: 4.52 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00603/0.7005, allocations: 3.959 MB / 0.7304 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008272/0.7014, allocations: 285.8 kB / 0.7307 GB, free: 268 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003123/0.7017, allocations: 20 kB / 0.7307 GB, free: 248 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001031/0.7027, allocations: 83.97 kB / 0.7308 GB, free: 164 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002636/0.703, allocations: 96.47 kB / 0.7309 GB, free: 68 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001008/0.7031, allocations: 47.91 kB / 0.7309 GB, free: 20 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.2747/0.9777, allocations: 2.236 MB / 0.7331 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.51e-07/0.9777, allocations: 0 / 0.7331 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004496/0.9822, allocations: 0.8228 MB / 0.7339 GB, free: 152.1 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (rev.phi,rev.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 (107): * Single equations (assignments): 103 * 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 {(1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005218/0.9875, allocations: 4.583 MB / 0.7384 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0054/0.9929, allocations: 3.953 MB / 0.7423 GB, free: 148.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/0.9929, allocations: 0 / 0.7423 GB, free: 148.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001322/0.9942, allocations: 1.11 MB / 0.7433 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001942/0.9961, allocations: 404.7 kB / 0.7437 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04006/1.036, allocations: 37.98 MB / 0.7808 GB, free: 110 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002326/1.039, allocations: 3.036 MB / 0.7838 GB, free: 107 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002963/1.041, allocations: 1.708 MB / 0.7854 GB, free: 105.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001582/1.043, allocations: 1.659 MB / 0.7871 GB, free: 103.6 MB / 0.5606 GB Notification: Performance of SimCode: time 1.012e-06/1.043, allocations: 0 / 0.7871 GB, free: 103.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09641/1.139, allocations: 61.13 MB / 0.8468 GB, free: 42.76 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.33/25.47, allocations: 7.922 kB / 0.8468 GB, free: 42.75 MB / 0.5606 GB " [Timeout remaining time 634] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_DifferentiationOfForces.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/DifferentiationOfForces/DifferentiationOfForces.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.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: 28.6667788449995]