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.001641/0.001641, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001779/0.001779, allocations: 213.5 kB / 24.52 MB, free: 3.918 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.475/1.475, allocations: 230.5 MB / 258.2 MB, free: 7.758 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.2255/0.2255, allocations: 46.95 MB / 361.6 MB, free: 3.91 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.0026/0.0026, allocations: 75.88 kB / 0.4969 GB, free: 7.523 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3117, allocations: 66.08 MB / 0.5614 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01102/0.3227, allocations: 8.37 MB / 0.5696 GB, free: 11.59 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007442/0.3301, allocations: 3.625 MB / 0.5732 GB, free: 7.957 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001543/0.3317, allocations: 67.69 kB / 0.5732 GB, free: 7.891 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005582/0.3373, allocations: 2.679 MB / 0.5758 GB, free: 5.203 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004687/0.3419, allocations: 1.662 MB / 0.5775 GB, free: 3.535 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001733/0.3437, allocations: 0.7174 MB / 0.5782 GB, free: 2.816 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005363/0.349, allocations: 3.891 MB / 0.582 GB, free: 14.92 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00345/0.3525, allocations: 2.768 MB / 0.5847 GB, free: 12.08 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002329/0.3548, allocations: 1.433 MB / 0.5861 GB, free: 10.64 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003487/0.3583, allocations: 2.041 MB / 0.5881 GB, free: 8.598 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008291/0.3591, allocations: 316 kB / 0.5884 GB, free: 8.289 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002454/0.3616, allocations: 1.104 MB / 0.5894 GB, free: 7.184 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002035/0.3636, allocations: 1.788 MB / 0.5912 GB, free: 5.391 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002195/0.3658, allocations: 1.553 MB / 0.5927 GB, free: 3.828 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008759/0.3746, allocations: 6.888 MB / 0.5994 GB, free: 12.91 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.3746, allocations: 0 / 0.5994 GB, free: 12.91 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3746, allocations: 0 / 0.5994 GB, free: 12.91 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002233/0.3748, allocations: 4 kB / 0.5994 GB, free: 12.91 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.01159/0.3864, allocations: 4.5 MB / 0.6038 GB, free: 8.355 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.756e-05/0.3865, allocations: 12.03 kB / 0.6038 GB, free: 8.344 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001229/0.3866, allocations: 93.91 kB / 0.6039 GB, free: 8.25 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001121/0.3877, allocations: 0.6613 MB / 0.6046 GB, free: 7.578 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08084/0.4685, allocations: 7.067 MB / 0.6115 GB, free: 0.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006863/0.4754, allocations: 2.616 MB / 0.614 GB, free: 13.82 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000194/0.4756, allocations: 225.7 kB / 0.6142 GB, free: 13.6 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008098/0.4764, allocations: 291.8 kB / 0.6145 GB, free: 13.31 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01368/0.4901, allocations: 8.715 MB / 0.623 GB, free: 3.945 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001034/0.4902, allocations: 43.64 kB / 0.6231 GB, free: 3.902 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003692/0.4906, allocations: 143.9 kB / 0.6232 GB, free: 3.762 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00267/0.4932, allocations: 1.65 MB / 0.6248 GB, free: 2.109 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01349/0.5067, allocations: 7.082 MB / 0.6317 GB, free: 11.02 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04025/0.547, allocations: 31.86 MB / 0.6629 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004577/0.5515, allocations: 1.825 MB / 0.6646 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001704/0.5533, allocations: 1.132 MB / 0.6657 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002759/0.5535, allocations: 84.45 kB / 0.6658 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001122/0.5536, allocations: 51.05 kB / 0.6659 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=122): time 3.426e-06/0.5536, allocations: 0 / 0.6659 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of matching and sorting (n=140): time 0.02769/0.5813, allocations: 10.58 MB / 0.6762 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001396/0.5815, allocations: 196.5 kB / 0.6764 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004976/0.5864, allocations: 3.596 MB / 0.6799 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002093/0.5867, allocations: 45.7 kB / 0.6799 GB, free: 8.473 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002248/0.5889, allocations: 2.956 MB / 0.6828 GB, free: 5.488 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006257/0.5895, allocations: 0.5738 MB / 0.6834 GB, free: 4.91 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001393/0.5909, allocations: 1.076 MB / 0.6844 GB, free: 3.824 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.5911, allocations: 309.1 kB / 0.6847 GB, free: 3.52 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002686/0.5937, allocations: 1.693 MB / 0.6864 GB, free: 1.82 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005841/0.5996, allocations: 5.118 MB / 0.6914 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009738/0.6093, allocations: 7.34 MB / 0.6986 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001306/0.6095, allocations: 39.94 kB / 0.6986 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of matching and sorting (n=682) (initialization): time 0.0136/0.6231, allocations: 6.75 MB / 0.7052 GB, free: 11.18 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001202/0.6232, allocations: 56 kB / 0.7052 GB, free: 11.12 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001693/0.6233, allocations: 119.9 kB / 0.7054 GB, free: 11 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001059/0.6244, allocations: 428.7 kB / 0.7058 GB, free: 10.58 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003905/0.6283, allocations: 1.208 MB / 0.7069 GB, free: 9.375 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004415/0.6327, allocations: 3.446 MB / 0.7103 GB, free: 5.816 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003524/0.6363, allocations: 295.7 kB / 0.7106 GB, free: 5.527 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008385/0.6371, allocations: 328 kB / 0.7109 GB, free: 5.207 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.003645/0.6407, allocations: 1.964 MB / 0.7128 GB, free: 3.23 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007398/0.6415, allocations: 321.8 kB / 0.7131 GB, free: 2.914 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004132/0.6456, allocations: 1.867 MB / 0.7149 GB, free: 1.027 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.404e-05/0.6456, allocations: 16 kB / 0.715 GB, free: 1.012 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-05/0.6457, allocations: 4 kB / 0.715 GB, free: 1.008 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.943e-05/0.6457, allocations: 7.969 kB / 0.715 GB, free: 1 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01127/0.657, allocations: 5.515 MB / 0.7204 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/0.657, allocations: 0 / 0.7204 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00109/0.6581, allocations: 219.7 kB / 0.7206 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007525/0.6588, allocations: 256.5 kB / 0.7208 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001013/0.6589, allocations: 31.98 kB / 0.7208 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003924/0.6628, allocations: 3.031 MB / 0.7238 GB, free: 7.773 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.6628, allocations: 288 / 0.7238 GB, free: 7.773 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00619/0.669, allocations: 3.957 MB / 0.7277 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007899/0.6698, allocations: 297.7 kB / 0.728 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003061/0.6701, allocations: 19.94 kB / 0.728 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001076/0.6712, allocations: 75.98 kB / 0.728 GB, free: 3.414 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000277/0.6715, allocations: 100.5 kB / 0.7281 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001072/0.6716, allocations: 43.98 kB / 0.7282 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003379/0.675, allocations: 2.242 MB / 0.7304 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.675, allocations: 0 / 0.7304 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00392/0.6789, allocations: 0.8202 MB / 0.7312 GB, free: 228 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.2706/0.9495, allocations: 4.581 MB / 0.7356 GB, free: 152.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005516/0.955, allocations: 3.961 MB / 0.7395 GB, free: 151.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.257e-06/0.955, allocations: 0 / 0.7395 GB, free: 151.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00133/0.9564, allocations: 1.107 MB / 0.7406 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002058/0.9584, allocations: 405.1 kB / 0.741 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04245/1.001, allocations: 37.99 MB / 0.7781 GB, free: 112.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002406/1.003, allocations: 2.485 MB / 0.7805 GB, free: 110.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003054/1.006, allocations: 1.708 MB / 0.7822 GB, free: 108.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001682/1.008, allocations: 1.663 MB / 0.7838 GB, free: 107 MB / 0.5606 GB Notification: Performance of SimCode: time 1.172e-06/1.008, allocations: 0 / 0.7838 GB, free: 107 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09045/1.098, allocations: 58.75 MB / 0.8412 GB, free: 48.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.89/24.99, allocations: 4 kB / 0.8412 GB, free: 48.9 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 659] Reference file matches [Calling sys.exit(0), Time elapsed: 29.027774989022873]