Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008819/0.0008819, allocations: 80.53 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008149/0.0008149, allocations: 169.9 kB / 23.21 MB, free: 1.355 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8729/0.8729, allocations: 158.6 MB / 185 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1292/0.1292, allocations: 32.37 MB / 269.6 MB, free: 14.97 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_DifferentiationOfForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_DifferentiationOfForces",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 406.8 MB, free: 2.23 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.734e-05/1.896e-05, allocations: 6.281 kB / 406.9 MB, free: 2.223 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.007655/0.007673, allocations: 9.892 MB / 416.7 MB, free: 8.277 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.006176/0.01385, allocations: 3.852 MB / 420.6 MB, free: 4.414 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001452/0.0153, allocations: 67.75 kB / 420.7 MB, free: 4.348 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003011/0.01831, allocations: 2.904 MB / 423.6 MB, free: 1.434 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003985/0.0223, allocations: 2.006 MB / 425.6 MB, free: 15.42 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001247/0.02354, allocations: 0.7677 MB / 426.3 MB, free: 14.65 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.004469/0.02801, allocations: 4.564 MB / 430.9 MB, free: 10.07 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00326/0.03127, allocations: 3.283 MB / 434.2 MB, free: 6.723 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002893/0.03417, allocations: 2.452 MB / 436.6 MB, free: 4.266 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00225/0.03642, allocations: 2.369 MB / 439 MB, free: 1.891 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005742/0.03699, allocations: 376 kB / 439.4 MB, free: 1.523 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002037/0.03903, allocations: 1.205 MB / 440.6 MB, free: 324 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001518/0.04055, allocations: 2.197 MB / 442.8 MB, free: 14.11 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001677/0.04222, allocations: 1.445 MB / 444.2 MB, free: 12.66 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006484/0.04871, allocations: 8.177 MB / 452.4 MB, free: 4.461 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.04871, allocations: 4 kB / 452.4 MB, free: 4.457 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.04871, allocations: 0 / 452.4 MB, free: 4.457 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001869/0.0489, allocations: 0 / 452.4 MB, free: 4.457 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1645 * Number of variables: 1645 Notification: Performance of Generate backend data structure: time 0.007613/0.05651, allocations: 5.174 MB / 457.6 MB, free: 15.22 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.05656, allocations: 8.031 kB / 457.6 MB, free: 15.21 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007445/0.0573, allocations: 0.7777 MB / 458.4 MB, free: 14.42 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03782/0.09512, allocations: 7.403 MB / 465.8 MB, free: 7.008 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00549/0.1006, allocations: 2.834 MB / 468.6 MB, free: 4.129 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001555/0.1008, allocations: 246.8 kB / 468.8 MB, free: 3.887 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000765/0.1015, allocations: 340.2 kB / 469.2 MB, free: 3.555 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1699/0.2714, allocations: 10.41 MB / 479.6 MB, free: 92.58 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.329e-05/0.2715, allocations: 45.64 kB / 479.6 MB, free: 92.56 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002778/0.2718, allocations: 158.6 kB / 479.8 MB, free: 92.49 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00166/0.2734, allocations: 2.096 MB / 481.9 MB, free: 92.12 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009569/0.283, allocations: 8.539 MB / 490.4 MB, free: 89.41 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03169/0.3147, allocations: 36.74 MB / 0.5148 GB, free: 63.34 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004094/0.3188, allocations: 2.426 MB / 0.5172 GB, free: 62.58 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001671/0.3205, allocations: 1.521 MB / 0.5187 GB, free: 62 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002301/0.3207, allocations: 103.3 kB / 0.5188 GB, free: 61.98 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.3207, allocations: 56.52 kB / 0.5188 GB, free: 61.93 MB / 442.7 MB Notification: Performance of pre-optimization done (n=176): time 4.298e-06/0.3207, allocations: 0 / 0.5188 GB, free: 61.93 MB / 442.7 MB Notification: Performance of matching and sorting (n=194): time 0.01894/0.3397, allocations: 14.33 MB / 0.5328 GB, free: 52.11 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.868e-05/0.3397, allocations: 208.1 kB / 0.533 GB, free: 51.87 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003486/0.3432, allocations: 4.289 MB / 0.5372 GB, free: 47.67 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002253/0.3435, allocations: 53.7 kB / 0.5372 GB, free: 47.61 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008506/0.3443, allocations: 3.31 MB / 0.5405 GB, free: 44.32 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004414/0.3448, allocations: 0.7636 MB / 0.5412 GB, free: 43.56 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008402/0.3456, allocations: 1.197 MB / 0.5424 GB, free: 42.36 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.397e-05/0.3456, allocations: 305.1 kB / 0.5427 GB, free: 42.05 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001867/0.3475, allocations: 2.151 MB / 0.5448 GB, free: 39.9 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002631/0.3501, allocations: 5.885 MB / 0.5505 GB, free: 32.16 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005336/0.3555, allocations: 8.629 MB / 0.559 GB, free: 21.72 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.848e-05/0.3555, allocations: 36 kB / 0.559 GB, free: 21.68 MB / 442.7 MB Notification: Performance of matching and sorting (n=783) (initialization): time 0.007736/0.3633, allocations: 8.008 MB / 0.5668 GB, free: 13.67 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.831e-05/0.3633, allocations: 61 kB / 0.5669 GB, free: 13.61 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.496e-05/0.3634, allocations: 136 kB / 0.567 GB, free: 13.48 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005814/0.364, allocations: 440.5 kB / 0.5674 GB, free: 13.05 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002207/0.3662, allocations: 1.423 MB / 0.5688 GB, free: 11.62 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002187/0.3683, allocations: 3.529 MB / 0.5723 GB, free: 7.98 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002684/0.371, allocations: 379.7 kB / 0.5726 GB, free: 7.609 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003202/0.3713, allocations: 373.9 kB / 0.573 GB, free: 7.246 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 591 * Number of states: 0 () * Number of discrete variables: 30 (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 (745): * Single equations (assignments): 741 * 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.002092/0.3734, allocations: 2.24 MB / 0.5752 GB, free: 4.992 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004295/0.3739, allocations: 361.6 kB / 0.5755 GB, free: 4.637 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002655/0.3765, allocations: 2.871 MB / 0.5783 GB, free: 1.754 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.302e-05/0.3765, allocations: 25.69 kB / 0.5783 GB, free: 1.734 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.3766, allocations: 4 kB / 0.5783 GB, free: 1.73 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/0.3766, allocations: 11.95 kB / 0.5784 GB, free: 1.719 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009529/0.3861, allocations: 7.52 MB / 0.5857 GB, free: 10.18 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.696e-06/0.3861, allocations: 3.938 kB / 0.5857 GB, free: 10.17 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009691/0.3871, allocations: 335.5 kB / 0.586 GB, free: 9.844 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004535/0.3875, allocations: 260.5 kB / 0.5863 GB, free: 9.586 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.645e-05/0.3876, allocations: 31.98 kB / 0.5863 GB, free: 9.555 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002368/0.39, allocations: 3.097 MB / 0.5893 GB, free: 6.348 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.39, allocations: 0 / 0.5893 GB, free: 6.348 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006271/0.3963, allocations: 5.492 MB / 0.5947 GB, free: 0.8359 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001415/0.3977, allocations: 0.6106 MB / 0.5953 GB, free: 228 kB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002257/0.3979, allocations: 31.94 kB / 0.5953 GB, free: 196 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008588/0.3988, allocations: 155.8 kB / 0.5955 GB, free: 40 kB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002483/0.399, allocations: 135.3 kB / 0.5956 GB, free: 15.91 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.597e-05/0.3991, allocations: 55.98 kB / 0.5956 GB, free: 15.86 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002671/0.4018, allocations: 2.569 MB / 0.5982 GB, free: 13.3 MB / 474.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4018, allocations: 0 / 0.5982 GB, free: 13.3 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00326/0.405, allocations: 1.105 MB / 0.5992 GB, free: 12.2 MB / 474.7 MB 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 (164): * Single equations (assignments): 160 * 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.005545/0.4106, allocations: 6.147 MB / 0.6052 GB, free: 6.02 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005821/0.4164, allocations: 4.991 MB / 0.6101 GB, free: 1.043 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.4164, allocations: 0 / 0.6101 GB, free: 1.043 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001579/0.418, allocations: 1.53 MB / 0.6116 GB, free: 15.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001922/0.4199, allocations: 445.9 kB / 0.612 GB, free: 15.09 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1929/0.6128, allocations: 45.35 MB / 0.6563 GB, free: 158.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002067/0.6149, allocations: 2.926 MB / 0.6592 GB, free: 158.2 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002606/0.6175, allocations: 1.948 MB / 0.6611 GB, free: 158.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001657/0.6191, allocations: 1.998 MB / 0.663 GB, free: 157.5 MB / 0.5105 GB Notification: Performance of SimCode: time 1.633e-06/0.6191, allocations: 0 / 0.663 GB, free: 157.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07589/0.695, allocations: 68.54 MB / 0.73 GB, free: 118.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.02/10.71, allocations: 15.84 kB / 0.73 GB, free: 118.4 MB / 0.5105 GB " [Timeout remaining time 649] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_DifferentiationOfForces_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_DifferentiationOfForces.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/DifferentiationOfForces/DifferentiationOfForces.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 13.014011860825121]