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.001505/0.001505, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001416/0.001416, allocations: 210.2 kB / 24.53 MB, free: 4.07 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.419/1.419, allocations: 230.5 MB / 258.2 MB, free: 8.043 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.2181/0.2181, allocations: 46.93 MB / 361.6 MB, free: 4.195 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_DifferentiationOfForces",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0022/0.0022, allocations: 75.89 kB / 0.497 GB, free: 7.766 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2936/0.2958, allocations: 66.08 MB / 0.5615 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01205/0.3079, allocations: 9.569 MB / 0.5709 GB, free: 10.66 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008364/0.3162, allocations: 3.878 MB / 0.5746 GB, free: 6.773 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00172/0.3179, allocations: 59.75 kB / 0.5747 GB, free: 6.715 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00552/0.3235, allocations: 2.811 MB / 0.5774 GB, free: 3.895 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004996/0.3285, allocations: 1.658 MB / 0.5791 GB, free: 2.23 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001835/0.3303, allocations: 0.7252 MB / 0.5798 GB, free: 1.504 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005513/0.3358, allocations: 3.887 MB / 0.5836 GB, free: 13.61 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003481/0.3393, allocations: 2.764 MB / 0.5863 GB, free: 10.78 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002185/0.3415, allocations: 1.433 MB / 0.5877 GB, free: 9.34 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003307/0.3448, allocations: 2.048 MB / 0.5897 GB, free: 7.285 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009067/0.3457, allocations: 316 kB / 0.59 GB, free: 6.977 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002309/0.348, allocations: 1.221 MB / 0.5912 GB, free: 5.754 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001955/0.3499, allocations: 1.788 MB / 0.5929 GB, free: 3.961 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002476/0.3524, allocations: 2.09 MB / 0.5949 GB, free: 1.859 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008748/0.3612, allocations: 6.853 MB / 0.6016 GB, free: 10.98 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.3612, allocations: 0 / 0.6016 GB, free: 10.98 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.3612, allocations: 4 kB / 0.6016 GB, free: 10.98 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002142/0.3614, allocations: 0 / 0.6016 GB, free: 10.98 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.01158/0.373, allocations: 4.508 MB / 0.606 GB, free: 6.414 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.373, allocations: 12.03 kB / 0.6061 GB, free: 6.402 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001338/0.3732, allocations: 93.91 kB / 0.6061 GB, free: 6.309 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001224/0.3744, allocations: 0.6613 MB / 0.6068 GB, free: 5.637 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08916/0.4635, allocations: 7.063 MB / 0.6137 GB, free: 14.56 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006056/0.4696, allocations: 2.608 MB / 0.6162 GB, free: 11.89 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001754/0.4698, allocations: 225.7 kB / 0.6164 GB, free: 11.67 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005956/0.4704, allocations: 287.8 kB / 0.6167 GB, free: 11.39 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01285/0.4832, allocations: 8.665 MB / 0.6252 GB, free: 2.082 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001065/0.4833, allocations: 47.62 kB / 0.6252 GB, free: 2.035 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003691/0.4837, allocations: 139.9 kB / 0.6254 GB, free: 1.898 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00269/0.4864, allocations: 1.646 MB / 0.627 GB, free: 256 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01198/0.4983, allocations: 7.09 MB / 0.6339 GB, free: 9.152 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03797/0.5363, allocations: 33.14 MB / 0.6663 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004427/0.5407, allocations: 1.832 MB / 0.668 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001641/0.5424, allocations: 1.132 MB / 0.6692 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002571/0.5426, allocations: 96.41 kB / 0.6692 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/0.5427, allocations: 43.06 kB / 0.6693 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=122): time 3.386e-06/0.5427, allocations: 4 kB / 0.6693 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=140): time 0.0284/0.5711, allocations: 10.52 MB / 0.6796 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001417/0.5712, allocations: 204.5 kB / 0.6798 GB, free: 9 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004992/0.5762, allocations: 3.588 MB / 0.6833 GB, free: 5.414 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002138/0.5764, allocations: 45.7 kB / 0.6833 GB, free: 5.363 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002254/0.5787, allocations: 2.959 MB / 0.6862 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006525/0.5793, allocations: 0.5738 MB / 0.6868 GB, free: 1.797 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001385/0.5807, allocations: 1.072 MB / 0.6878 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.5808, allocations: 305.1 kB / 0.6881 GB, free: 424 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002669/0.5835, allocations: 1.7 MB / 0.6898 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005475/0.589, allocations: 5.064 MB / 0.6947 GB, free: 7.941 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00942/0.5984, allocations: 7.345 MB / 0.7019 GB, free: 14.92 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.518e-05/0.5985, allocations: 36 kB / 0.7019 GB, free: 14.88 MB / 0.545 GB Notification: Performance of matching and sorting (n=682) (initialization): time 0.01226/0.6108, allocations: 6.743 MB / 0.7085 GB, free: 8.129 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.479e-05/0.6108, allocations: 60 kB / 0.7086 GB, free: 8.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000132/0.611, allocations: 119.9 kB / 0.7087 GB, free: 7.953 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009906/0.612, allocations: 427.6 kB / 0.7091 GB, free: 7.535 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003548/0.6155, allocations: 1.213 MB / 0.7103 GB, free: 6.32 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004436/0.6199, allocations: 3.482 MB / 0.7137 GB, free: 2.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003279/0.6232, allocations: 295.8 kB / 0.7139 GB, free: 2.441 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006138/0.6238, allocations: 328 kB / 0.7143 GB, free: 2.121 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.003135/0.627, allocations: 1.963 MB / 0.7162 GB, free: 148 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006234/0.6276, allocations: 317.8 kB / 0.7165 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003758/0.6314, allocations: 1.874 MB / 0.7183 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.182e-05/0.6314, allocations: 16 kB / 0.7183 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.6314, allocations: 0 / 0.7183 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.503e-05/0.6314, allocations: 15.91 kB / 0.7183 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01139/0.6428, allocations: 5.733 MB / 0.7239 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.758e-06/0.6428, allocations: 0 / 0.7239 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001055/0.6439, allocations: 219.6 kB / 0.7241 GB, free: 7.891 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000739/0.6446, allocations: 248.6 kB / 0.7244 GB, free: 7.645 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001064/0.6447, allocations: 31.98 kB / 0.7244 GB, free: 7.613 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00382/0.6485, allocations: 3.066 MB / 0.7274 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.6485, allocations: 112 / 0.7274 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006072/0.6546, allocations: 3.966 MB / 0.7313 GB, free: 464 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006582/0.6553, allocations: 289.8 kB / 0.7316 GB, free: 172 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003286/0.6556, allocations: 20 kB / 0.7316 GB, free: 152 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001083/0.6567, allocations: 75.97 kB / 0.7316 GB, free: 76 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.2511/0.9078, allocations: 94.05 kB / 0.7317 GB, free: 153.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003138/0.9081, allocations: 42.72 kB / 0.7318 GB, free: 153.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005084/0.9132, allocations: 2.243 MB / 0.734 GB, free: 153 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9132, allocations: 0 / 0.734 GB, free: 153 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004326/0.9175, allocations: 0.8206 MB / 0.7348 GB, free: 152.9 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.005463/0.923, allocations: 4.585 MB / 0.7392 GB, free: 151 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005329/0.9283, allocations: 3.96 MB / 0.7431 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.9283, allocations: 0 / 0.7431 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001409/0.9298, allocations: 1.108 MB / 0.7442 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00201/0.9318, allocations: 401 kB / 0.7446 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03661/0.9684, allocations: 37.98 MB / 0.7817 GB, free: 110 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002403/0.9708, allocations: 3.04 MB / 0.7846 GB, free: 107 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002951/0.9737, allocations: 1.709 MB / 0.7863 GB, free: 105.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001721/0.9754, allocations: 1.667 MB / 0.7879 GB, free: 103.6 MB / 0.5606 GB Notification: Performance of SimCode: time 1.021e-06/0.9755, allocations: 0 / 0.7879 GB, free: 103.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08865/1.064, allocations: 61.15 MB / 0.8477 GB, free: 42.75 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.37/24.44, allocations: 8.047 kB / 0.8477 GB, free: 42.75 MB / 0.5606 GB " [Timeout remaining time 635] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_DifferentiationOfForces_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 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.mat","/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.38636306702392]