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.001669/0.001669, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.00232/0.00232, allocations: 213.6 kB / 23.73 MB, free: 4.16 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.478/1.478, allocations: 230.5 MB / 257.4 MB, free: 7.793 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.2535/0.2535, allocations: 46.95 MB / 360.8 MB, free: 3.941 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.002648/0.002648, allocations: 75.88 kB / 0.4962 GB, free: 7.559 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3886/0.3913, allocations: 66.09 MB / 0.5607 GB, free: 4.059 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01313/0.4044, allocations: 8.417 MB / 0.5689 GB, free: 11.6 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008611/0.413, allocations: 3.637 MB / 0.5725 GB, free: 7.953 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001632/0.4146, allocations: 63.69 kB / 0.5725 GB, free: 7.891 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005815/0.4204, allocations: 2.679 MB / 0.5751 GB, free: 5.203 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005088/0.4255, allocations: 1.673 MB / 0.5768 GB, free: 3.527 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002059/0.4276, allocations: 0.7174 MB / 0.5775 GB, free: 2.809 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00688/0.4345, allocations: 3.884 MB / 0.5813 GB, free: 14.91 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005613/0.4401, allocations: 2.756 MB / 0.584 GB, free: 12.09 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003732/0.4438, allocations: 1.433 MB / 0.5854 GB, free: 10.65 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003882/0.4477, allocations: 1.931 MB / 0.5872 GB, free: 8.715 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001331/0.449, allocations: 312 kB / 0.5875 GB, free: 8.41 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002798/0.4518, allocations: 1.088 MB / 0.5886 GB, free: 7.32 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002593/0.4544, allocations: 1.792 MB / 0.5904 GB, free: 5.523 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003262/0.4577, allocations: 1.557 MB / 0.5919 GB, free: 3.957 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009513/0.4672, allocations: 6.884 MB / 0.5986 GB, free: 13.05 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.4672, allocations: 4 kB / 0.5986 GB, free: 13.04 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.4672, allocations: 0 / 0.5986 GB, free: 13.04 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002788/0.4675, allocations: 0 / 0.5986 GB, free: 13.04 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.01373/0.4812, allocations: 4.508 MB / 0.603 GB, free: 8.48 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/0.4813, allocations: 8.031 kB / 0.603 GB, free: 8.473 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001896/0.4832, allocations: 0.6535 MB / 0.6037 GB, free: 7.809 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08681/0.57, allocations: 7.063 MB / 0.6105 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007847/0.5778, allocations: 2.624 MB / 0.6131 GB, free: 14.04 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002435/0.5781, allocations: 218 kB / 0.6133 GB, free: 13.83 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001199/0.5793, allocations: 295.7 kB / 0.6136 GB, free: 13.54 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01726/0.5965, allocations: 8.711 MB / 0.6221 GB, free: 4.18 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002073/0.5967, allocations: 47.62 kB / 0.6222 GB, free: 4.133 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001044/0.5978, allocations: 143.9 kB / 0.6223 GB, free: 3.992 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002933/0.6007, allocations: 1.653 MB / 0.6239 GB, free: 2.336 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01487/0.6156, allocations: 7.059 MB / 0.6308 GB, free: 11.27 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04602/0.6616, allocations: 31.86 MB / 0.6619 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004724/0.6663, allocations: 1.821 MB / 0.6637 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001746/0.6681, allocations: 1.136 MB / 0.6648 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002979/0.6684, allocations: 88.44 kB / 0.6649 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.417e-05/0.6684, allocations: 47.06 kB / 0.6649 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=122): time 4.368e-06/0.6684, allocations: 0 / 0.6649 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of matching and sorting (n=140): time 0.02778/0.6962, allocations: 10.58 MB / 0.6753 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001571/0.6963, allocations: 196.5 kB / 0.6755 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006755/0.7031, allocations: 3.8 MB / 0.6792 GB, free: 8.57 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002705/0.7034, allocations: 41.7 kB / 0.6792 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002639/0.706, allocations: 2.952 MB / 0.6821 GB, free: 5.543 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007669/0.7068, allocations: 0.5738 MB / 0.6826 GB, free: 4.965 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001978/0.7087, allocations: 1.076 MB / 0.6837 GB, free: 3.879 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.7089, allocations: 305.1 kB / 0.684 GB, free: 3.578 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003012/0.7119, allocations: 1.697 MB / 0.6856 GB, free: 1.875 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00633/0.7182, allocations: 5.118 MB / 0.6906 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009911/0.7281, allocations: 7.344 MB / 0.6978 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001429/0.7283, allocations: 39.94 kB / 0.6979 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of matching and sorting (n=682) (initialization): time 0.01352/0.7418, allocations: 6.735 MB / 0.7044 GB, free: 11.23 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001451/0.7419, allocations: 58.19 kB / 0.7045 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002112/0.7421, allocations: 123.9 kB / 0.7046 GB, free: 11.05 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001068/0.7432, allocations: 431.6 kB / 0.705 GB, free: 10.63 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003878/0.7471, allocations: 1.201 MB / 0.7062 GB, free: 9.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004647/0.7517, allocations: 3.462 MB / 0.7096 GB, free: 5.859 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003728/0.7555, allocations: 287.8 kB / 0.7098 GB, free: 5.578 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008694/0.7563, allocations: 328 kB / 0.7102 GB, free: 5.258 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.003568/0.7599, allocations: 1.955 MB / 0.7121 GB, free: 3.289 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007985/0.7607, allocations: 325.7 kB / 0.7124 GB, free: 2.969 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004079/0.7648, allocations: 1.874 MB / 0.7142 GB, free: 1.078 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.614e-05/0.7648, allocations: 23.98 kB / 0.7142 GB, free: 1.055 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.597e-05/0.7648, allocations: 11.98 kB / 0.7142 GB, free: 1.043 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.48e-05/0.7649, allocations: 3.984 kB / 0.7142 GB, free: 1.039 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01209/0.7769, allocations: 5.499 MB / 0.7196 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.547e-05/0.777, allocations: 4 kB / 0.7196 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001048/0.778, allocations: 215.7 kB / 0.7198 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007658/0.7788, allocations: 256.5 kB / 0.7201 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001235/0.7789, allocations: 23.98 kB / 0.7201 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003835/0.7827, allocations: 3.038 MB / 0.7231 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.7827, allocations: 4.312 kB / 0.7231 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006221/0.789, allocations: 3.952 MB / 0.7269 GB, free: 3.852 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008733/0.7898, allocations: 297.7 kB / 0.7272 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005604/0.7904, allocations: 27.94 kB / 0.7272 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001348/0.7917, allocations: 67.91 kB / 0.7273 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002559/0.792, allocations: 96.47 kB / 0.7274 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001021/0.7921, allocations: 39.98 kB / 0.7274 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004111/0.7962, allocations: 2.25 MB / 0.7296 GB, free: 1.094 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7962, allocations: 3.938 kB / 0.7296 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004421/0.8006, allocations: 0.8163 MB / 0.7304 GB, free: 280 kB / 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.3177/1.118, allocations: 4.573 MB / 0.7349 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005639/1.124, allocations: 3.965 MB / 0.7388 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/1.124, allocations: 3.875 kB / 0.7388 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001398/1.125, allocations: 1.106 MB / 0.7398 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002127/1.128, allocations: 418.3 kB / 0.7402 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0451/1.173, allocations: 37.97 MB / 0.7773 GB, free: 112.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002556/1.175, allocations: 2.497 MB / 0.7798 GB, free: 110.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003132/1.178, allocations: 1.706 MB / 0.7814 GB, free: 108.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001641/1.18, allocations: 1.655 MB / 0.783 GB, free: 106.7 MB / 0.5606 GB Notification: Performance of SimCode: time 1.112e-06/1.18, allocations: 0 / 0.783 GB, free: 106.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09724/1.277, allocations: 56.78 MB / 0.8385 GB, free: 50.57 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.25/16.53, allocations: 8 kB / 0.8385 GB, free: 50.56 MB / 0.5606 GB " [Timeout remaining time 643] (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: 19.79544301982969]