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.001297/0.001297, allocations: 110.5 kB / 21.1 MB, free: 0.7695 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.001663/0.001663, allocations: 205 kB / 24.38 MB, free: 4.188 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.456/1.456, allocations: 230.2 MB / 257.7 MB, free: 8.281 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.252/0.252, allocations: 46.89 MB / 361 MB, free: 4.492 MB / 286.1 MB " [Timeout remaining time 179] 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.002232/0.002232, allocations: 79.86 kB / 0.4962 GB, free: 8.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3611/0.3633, allocations: 66.03 MB / 0.5607 GB, free: 4.691 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01194/0.3753, allocations: 9.507 MB / 0.57 GB, free: 11.14 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008334/0.3836, allocations: 3.866 MB / 0.5737 GB, free: 7.262 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00222/0.3858, allocations: 59.75 kB / 0.5738 GB, free: 7.203 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005538/0.3914, allocations: 2.807 MB / 0.5765 GB, free: 4.387 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004572/0.3959, allocations: 1.654 MB / 0.5781 GB, free: 2.727 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001775/0.3977, allocations: 0.7174 MB / 0.5788 GB, free: 2.008 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006067/0.4038, allocations: 3.899 MB / 0.5827 GB, free: 14.1 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003523/0.4073, allocations: 2.547 MB / 0.5851 GB, free: 11.49 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002602/0.4099, allocations: 1.429 MB / 0.5865 GB, free: 10.05 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003366/0.4133, allocations: 2.048 MB / 0.5885 GB, free: 8 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008443/0.4141, allocations: 312 kB / 0.5888 GB, free: 7.695 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002141/0.4163, allocations: 1.104 MB / 0.5899 GB, free: 6.59 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001945/0.4182, allocations: 1.788 MB / 0.5917 GB, free: 4.797 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002523/0.4207, allocations: 2.086 MB / 0.5937 GB, free: 2.699 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008742/0.4295, allocations: 6.829 MB / 0.6004 GB, free: 11.84 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.666e-06/0.4295, allocations: 3.938 kB / 0.6004 GB, free: 11.84 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.564e-06/0.4295, allocations: 0 / 0.6004 GB, free: 11.84 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002243/0.4297, allocations: 0 / 0.6004 GB, free: 11.84 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.01126/0.441, allocations: 4.583 MB / 0.6048 GB, free: 7.184 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.441, allocations: 8.031 kB / 0.6048 GB, free: 7.176 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001213/0.4422, allocations: 0.6535 MB / 0.6055 GB, free: 6.512 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07751/0.5197, allocations: 7.071 MB / 0.6124 GB, free: 15.43 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006014/0.5257, allocations: 2.677 MB / 0.615 GB, free: 12.69 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001847/0.5259, allocations: 218 kB / 0.6152 GB, free: 12.47 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008398/0.5268, allocations: 299.8 kB / 0.6155 GB, free: 12.18 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01508/0.5419, allocations: 8.657 MB / 0.624 GB, free: 2.883 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001279/0.542, allocations: 47.62 kB / 0.624 GB, free: 2.836 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003976/0.5424, allocations: 139.9 kB / 0.6241 GB, free: 2.699 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002761/0.5451, allocations: 1.653 MB / 0.6257 GB, free: 1.043 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01383/0.559, allocations: 7.086 MB / 0.6327 GB, free: 9.949 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04096/0.5999, allocations: 33.26 MB / 0.6651 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004656/0.6046, allocations: 2.29 MB / 0.6674 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001675/0.6063, allocations: 1.124 MB / 0.6685 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003644/0.6066, allocations: 323.7 kB / 0.6688 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.327e-05/0.6067, allocations: 51.05 kB / 0.6688 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=122): time 3.677e-06/0.6067, allocations: 0 / 0.6688 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of matching and sorting (n=140): time 0.025/0.6317, allocations: 10.72 MB / 0.6793 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001184/0.6318, allocations: 208.5 kB / 0.6795 GB, free: 8.617 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004817/0.6366, allocations: 3.588 MB / 0.683 GB, free: 5.031 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002074/0.6368, allocations: 41.7 kB / 0.683 GB, free: 4.984 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002308/0.6391, allocations: 2.959 MB / 0.6859 GB, free: 1.996 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006651/0.6398, allocations: 0.5777 MB / 0.6865 GB, free: 1.414 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001388/0.6412, allocations: 1.072 MB / 0.6876 GB, free: 340 kB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.6413, allocations: 301.3 kB / 0.6878 GB, free: 36 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002823/0.6441, allocations: 1.704 MB / 0.6895 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005624/0.6497, allocations: 5.072 MB / 0.6945 GB, free: 7.547 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01031/0.6601, allocations: 7.343 MB / 0.7016 GB, free: 14.52 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001169/0.6602, allocations: 36 kB / 0.7017 GB, free: 14.49 MB / 0.545 GB Notification: Performance of matching and sorting (n=682) (initialization): time 0.01311/0.6733, allocations: 6.737 MB / 0.7082 GB, free: 7.742 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.721e-05/0.6734, allocations: 56 kB / 0.7083 GB, free: 7.688 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001339/0.6735, allocations: 120.9 kB / 0.7084 GB, free: 7.57 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001005/0.6745, allocations: 432.5 kB / 0.7088 GB, free: 7.145 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00373/0.6782, allocations: 1.209 MB / 0.71 GB, free: 5.934 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004471/0.6827, allocations: 3.589 MB / 0.7135 GB, free: 2.207 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003771/0.6865, allocations: 291.8 kB / 0.7138 GB, free: 1.922 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006911/0.6872, allocations: 332 kB / 0.7141 GB, free: 1.598 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.003308/0.6905, allocations: 1.943 MB / 0.716 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006276/0.6911, allocations: 325.8 kB / 0.7163 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003643/0.6948, allocations: 1.874 MB / 0.7181 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.029e-05/0.6948, allocations: 16 kB / 0.7182 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/0.6948, allocations: 4 kB / 0.7182 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/0.6948, allocations: 3.984 kB / 0.7182 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01155/0.7064, allocations: 5.781 MB / 0.7238 GB, free: 7.555 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.248e-05/0.7064, allocations: 0 / 0.7238 GB, free: 7.555 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001086/0.7075, allocations: 215.7 kB / 0.724 GB, free: 7.344 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007439/0.7082, allocations: 256.6 kB / 0.7243 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.794e-05/0.7083, allocations: 19.98 kB / 0.7243 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003742/0.712, allocations: 3.17 MB / 0.7274 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.712, allocations: 0 / 0.7274 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2808/0.9929, allocations: 3.957 MB / 0.7312 GB, free: 152 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000973/0.9938, allocations: 363.6 kB / 0.7316 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005642/0.9944, allocations: 21.62 kB / 0.7316 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001234/0.9956, allocations: 70.97 kB / 0.7317 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003167/0.9959, allocations: 99.61 kB / 0.7318 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001235/0.9961, allocations: 39.75 kB / 0.7318 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003937/1, allocations: 2.242 MB / 0.734 GB, free: 151.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/1, allocations: 1.688 kB / 0.734 GB, free: 151.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003866/1.004, allocations: 0.824 MB / 0.7348 GB, free: 151.6 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.005015/1.009, allocations: 4.58 MB / 0.7393 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005649/1.015, allocations: 3.966 MB / 0.7431 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/1.015, allocations: 0 / 0.7431 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001418/1.016, allocations: 1.102 MB / 0.7442 GB, free: 148 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00208/1.018, allocations: 410.7 kB / 0.7446 GB, free: 147.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04176/1.06, allocations: 37.99 MB / 0.7817 GB, free: 109.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00235/1.062, allocations: 3.036 MB / 0.7847 GB, free: 106.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003016/1.065, allocations: 1.71 MB / 0.7863 GB, free: 105 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001647/1.067, allocations: 1.663 MB / 0.788 GB, free: 103.3 MB / 0.5606 GB Notification: Performance of SimCode: time 1.854e-06/1.067, allocations: 0 / 0.788 GB, free: 103.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09009/1.157, allocations: 61.07 MB / 0.8476 GB, free: 42.52 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.26/23.41, allocations: 0 / 0.8476 GB, free: 42.52 MB / 0.5606 GB " [Timeout remaining time 636] (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.0.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: 26.594661212991923]