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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009726/0.0009725, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 174.5 kB / 16.58 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.763/1.763, allocations: 205.4 MB / 222.8 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4181/0.4181, allocations: 43.58 MB / 314.6 MB, free: 8.777 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005608/0.0005608, allocations: 12 kB / 384 MB, free: 7.992 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1388, allocations: 58.87 MB / 442.8 MB, free: 13.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.2994/0.4383, allocations: 48.24 MB / 491.1 MB, free: 20.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02644/0.4648, allocations: 10.57 MB / 0.4899 GB, free: 13.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0136/0.4785, allocations: 217.7 kB / 0.4901 GB, free: 13.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008978/0.4875, allocations: 2.501 MB / 0.4925 GB, free: 12.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02257/0.5101, allocations: 7.472 MB / 0.4998 GB, free: 9.375 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003712/0.5138, allocations: 0.6064 MB / 0.5004 GB, free: 9.145 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02926/0.5431, allocations: 18.94 MB / 0.5189 GB, free: 2.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007094/0.5503, allocations: 4.378 MB / 0.5232 GB, free: 13.86 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002898/0.5532, allocations: 1.261 MB / 0.5244 GB, free: 12.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003298/0.5565, allocations: 2.037 MB / 0.5264 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005574/0.5571, allocations: 160 kB / 0.5265 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002021/0.5591, allocations: 0.9323 MB / 0.5275 GB, free: 9.457 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001766/0.5609, allocations: 1.784 MB / 0.5292 GB, free: 7.668 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009497/0.5619, allocations: 0.8778 MB / 0.5301 GB, free: 6.781 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006228/0.5681, allocations: 6.071 MB / 0.536 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.5682, allocations: 0 / 0.536 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.5682, allocations: 0 / 0.536 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001914/0.5684, allocations: 0 / 0.536 GB, free: 0.6953 MB / 398.1 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.008861/0.5772, allocations: 4.108 MB / 0.54 GB, free: 12.52 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.5773, allocations: 20.02 kB / 0.54 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01408/0.5914, allocations: 2.595 MB / 0.5426 GB, free: 9.895 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006077/0.5975, allocations: 2.657 MB / 0.5451 GB, free: 7.176 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002261/0.5978, allocations: 250.4 kB / 0.5454 GB, free: 6.93 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009672/0.5988, allocations: 347.7 kB / 0.5457 GB, free: 6.59 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01981/0.6186, allocations: 10.44 MB / 0.5559 GB, free: 11.47 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001372/0.6188, allocations: 51.58 kB / 0.556 GB, free: 11.42 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005055/0.6193, allocations: 163.8 kB / 0.5561 GB, free: 11.26 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00331/0.6226, allocations: 2.088 MB / 0.5582 GB, free: 9.172 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01615/0.6388, allocations: 8.709 MB / 0.5667 GB, free: 456 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05729/0.6961, allocations: 38.66 MB / 0.6044 GB, free: 8.691 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006891/0.7031, allocations: 3.059 MB / 0.6074 GB, free: 5.484 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002915/0.706, allocations: 1.75 MB / 0.6091 GB, free: 3.727 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000473/0.7065, allocations: 340.2 kB / 0.6094 GB, free: 3.34 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.698e-05/0.7066, allocations: 51.69 kB / 0.6095 GB, free: 3.281 MB / 478.1 MB Notification: Performance of pre-optimization done (n=176): time 6.082e-06/0.7066, allocations: 0 / 0.6095 GB, free: 3.281 MB / 478.1 MB Notification: Performance of matching and sorting (n=194): time 0.03576/0.7424, allocations: 15.01 MB / 0.6241 GB, free: 4.129 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/0.7425, allocations: 213.1 kB / 0.6243 GB, free: 3.875 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006164/0.7487, allocations: 3.812 MB / 0.6281 GB, free: 76 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003415/0.7491, allocations: 49.7 kB / 0.6281 GB, free: 20 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2499/0.999, allocations: 3.197 MB / 0.6312 GB, free: 139.7 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001093/1, allocations: 0.741 MB / 0.632 GB, free: 139.3 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003646/1.001, allocations: 123 kB / 0.6321 GB, free: 139.3 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002679/1.001, allocations: 0.5637 MB / 0.6326 GB, free: 139 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003346/1.004, allocations: 2.258 MB / 0.6348 GB, free: 138.9 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004847/1.009, allocations: 5.948 MB / 0.6406 GB, free: 134.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004842/1.014, allocations: 3.574 MB / 0.6441 GB, free: 132.9 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.416e-05/1.014, allocations: 39.28 kB / 0.6442 GB, free: 132.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=802) (initialization): time 0.01222/1.026, allocations: 8.473 MB / 0.6524 GB, free: 129.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001115/1.026, allocations: 66.33 kB / 0.6525 GB, free: 129.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001992/1.027, allocations: 131.4 kB / 0.6526 GB, free: 129.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001551/1.028, allocations: 0.7067 MB / 0.6533 GB, free: 129.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004549/1.033, allocations: 1.462 MB / 0.6548 GB, free: 129.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005288/1.038, allocations: 4.067 MB / 0.6587 GB, free: 127.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005291/1.043, allocations: 381.7 kB / 0.6591 GB, free: 127 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001356/1.045, allocations: 377.3 kB / 0.6595 GB, free: 126.9 MB / 494.1 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 (764): * Single equations (assignments): 760 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005553/1.05, allocations: 2.229 MB / 0.6616 GB, free: 125.9 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001108/1.051, allocations: 342.2 kB / 0.662 GB, free: 125.7 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006841/1.058, allocations: 3.29 MB / 0.6652 GB, free: 124.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-05/1.058, allocations: 24 kB / 0.6652 GB, free: 124.5 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-05/1.058, allocations: 4.062 kB / 0.6652 GB, free: 124.5 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.408e-05/1.058, allocations: 11.86 kB / 0.6652 GB, free: 124.5 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.018/1.076, allocations: 8.194 MB / 0.6732 GB, free: 121.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.594e-05/1.076, allocations: 0.75 kB / 0.6732 GB, free: 121.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001777/1.078, allocations: 356.4 kB / 0.6735 GB, free: 121.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001556/1.08, allocations: 0.5036 MB / 0.674 GB, free: 121.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002498/1.08, allocations: 35.5 kB / 0.6741 GB, free: 121.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00482/1.085, allocations: 3.627 MB / 0.6776 GB, free: 119.3 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/1.085, allocations: 1.438 kB / 0.6776 GB, free: 119.3 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01088/1.096, allocations: 5.997 MB / 0.6835 GB, free: 116.9 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002086/1.098, allocations: 0.6496 MB / 0.6841 GB, free: 116.6 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008218/1.099, allocations: 36.06 kB / 0.6841 GB, free: 116.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001763/1.1, allocations: 131.1 kB / 0.6843 GB, free: 116.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003805/1.101, allocations: 127.5 kB / 0.6844 GB, free: 116.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001572/1.101, allocations: 55.97 kB / 0.6844 GB, free: 116.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004515/1.106, allocations: 2.373 MB / 0.6868 GB, free: 115.7 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.21e-07/1.106, allocations: 0 / 0.6868 GB, free: 115.7 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005983/1.112, allocations: 1.026 MB / 0.6878 GB, free: 115.6 MB / 494.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005038/1.112, allocations: 161.3 kB / 0.6879 GB, free: 115.4 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009177/1.121, allocations: 5.385 MB / 0.6932 GB, free: 112.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/1.121, allocations: 0 / 0.6932 GB, free: 112.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002397/1.124, allocations: 1.731 MB / 0.6949 GB, free: 110.7 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003281/1.127, allocations: 403.2 kB / 0.6952 GB, free: 110.3 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02065/1.148, allocations: 11.44 MB / 0.7064 GB, free: 99.84 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00545/1.153, allocations: 3.451 MB / 0.7098 GB, free: 96.91 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004561/1.158, allocations: 1.949 MB / 0.7117 GB, free: 94.95 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000838/1.159, allocations: 251.4 kB / 0.7119 GB, free: 94.71 MB / 494.1 MB Notification: Performance of SimCode: time 1.453e-06/1.159, allocations: 0 / 0.7119 GB, free: 94.71 MB / 494.1 MB Notification: Performance of Templates: time 0.05643/1.215, allocations: 34.07 MB / 0.7452 GB, free: 60.75 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) 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","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches