Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.LineForceWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass") translateModel(ModelicaTest.MultiBody.Forces.LineForceWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 109.3 kB / 18.45 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 179 kB / 19.38 MB, free: 3.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.29/1.29, allocations: 222.9 MB / 243.1 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.193/0.193, allocations: 44.18 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001369, allocations: 59.91 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3277, allocations: 60.82 MB / 0.5196 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.01496/0.3427, allocations: 15.01 MB / 0.5342 GB, free: 8.719 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01187/0.3546, allocations: 4.989 MB / 0.5391 GB, free: 4.793 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003487/0.3581, allocations: 101.7 kB / 0.5392 GB, free: 4.773 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008142/0.3663, allocations: 4.021 MB / 0.5431 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006934/0.3733, allocations: 2.358 MB / 0.5454 GB, free: 384 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003224/0.3765, allocations: 1.156 MB / 0.5466 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0101/0.3866, allocations: 6.515 MB / 0.5529 GB, free: 9.816 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007341/0.394, allocations: 4.692 MB / 0.5575 GB, free: 5.059 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005019/0.3991, allocations: 2.196 MB / 0.5597 GB, free: 2.855 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005364/0.4045, allocations: 3.038 MB / 0.5626 GB, free: 15.81 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001899/0.4064, allocations: 456 kB / 0.5631 GB, free: 15.36 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00427/0.4107, allocations: 1.549 MB / 0.5646 GB, free: 13.81 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00377/0.4145, allocations: 2.759 MB / 0.5673 GB, free: 11.05 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005507/0.42, allocations: 3.018 MB / 0.5702 GB, free: 8.012 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01258/0.4327, allocations: 9.453 MB / 0.5794 GB, free: 14.52 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.4327, allocations: 0 / 0.5794 GB, free: 14.52 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4327, allocations: 0 / 0.5794 GB, free: 14.52 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003782/0.4331, allocations: 0 / 0.5794 GB, free: 14.52 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: 1941 * Number of variables: 1941 Notification: Performance of Generate backend data structure: time 0.01692/0.45, allocations: 6.741 MB / 0.586 GB, free: 7.703 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.4501, allocations: 8.031 kB / 0.586 GB, free: 7.695 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02692/0.477, allocations: 3.301 MB / 0.5893 GB, free: 4.383 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009666/0.4867, allocations: 4.187 MB / 0.5933 GB, free: 144 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003097/0.487, allocations: 308.4 kB / 0.5936 GB, free: 15.84 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001643/0.4887, allocations: 431.5 kB / 0.594 GB, free: 15.41 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02678/0.5155, allocations: 13.81 MB / 0.6075 GB, free: 0.7266 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002358/0.5158, allocations: 59.44 kB / 0.6076 GB, free: 0.668 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001402/0.5172, allocations: 199.8 kB / 0.6078 GB, free: 484 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004145/0.5213, allocations: 2.531 MB / 0.6103 GB, free: 13.94 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02459/0.5459, allocations: 11.8 MB / 0.6218 GB, free: 2.125 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07072/0.6167, allocations: 53.47 MB / 0.674 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01681/0.6336, allocations: 5.909 MB / 0.6798 GB, free: 5.07 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004879/0.6385, allocations: 3.599 MB / 0.6833 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02429/0.6628, allocations: 15.44 MB / 0.6984 GB, free: 1.457 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.89e-05/0.6629, allocations: 68.5 kB / 0.6984 GB, free: 1.383 MB / 0.545 GB Notification: Performance of pre-optimization done (n=230): time 8.176e-06/0.6629, allocations: 3.984 kB / 0.6984 GB, free: 1.379 MB / 0.545 GB Notification: Performance of matching and sorting (n=267): time 0.38/1.043, allocations: 28.6 MB / 0.7264 GB, free: 166.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/1.043, allocations: 261.5 kB / 0.7266 GB, free: 166.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008517/1.052, allocations: 5.056 MB / 0.7315 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006776/1.052, allocations: 68.3 kB / 0.7316 GB, free: 164.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002568/1.055, allocations: 3.889 MB / 0.7354 GB, free: 161.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001387/1.056, allocations: 1.001 MB / 0.7364 GB, free: 160.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00237/1.059, allocations: 1.542 MB / 0.7379 GB, free: 159.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.939e-05/1.059, allocations: 309.1 kB / 0.7382 GB, free: 159.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003679/1.062, allocations: 3.007 MB / 0.7411 GB, free: 158.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00545/1.068, allocations: 7.349 MB / 0.7483 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0105/1.078, allocations: 11.09 MB / 0.7591 GB, free: 143 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001273/1.079, allocations: 48.5 kB / 0.7592 GB, free: 143 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.01835/1.097, allocations: 11.19 MB / 0.7701 GB, free: 132 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.000181/1.097, allocations: 71.94 kB / 0.7702 GB, free: 131.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002288/1.097, allocations: 152 kB / 0.7703 GB, free: 131.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002885/1.1, allocations: 1.223 MB / 0.7715 GB, free: 130.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005997/1.106, allocations: 1.836 MB / 0.7733 GB, free: 128.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00828/1.115, allocations: 8.36 MB / 0.7815 GB, free: 120.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006793/1.121, allocations: 431.3 kB / 0.7819 GB, free: 119.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001301/1.123, allocations: 452 kB / 0.7823 GB, free: 119.2 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 687 * Number of states: 0 () * Number of discrete variables: 57 (lineForceWithMass.lineShapeColor[3],lineForceWithMass.lineShapeColor[2],lineForceWithMass.lineShapeColor[1],lineForceWithMass.massColor[3],lineForceWithMass.massColor[2],lineForceWithMass.massColor[1],rod4.color[3],rod4.color[2],rod4.color[1],rod3.color[3],rod3.color[2],rod3.color[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],rod1.color[3],rod1.color[2],rod1.color[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.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 (954): * Single equations (assignments): 949 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,12,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005267/1.128, allocations: 2.634 MB / 0.7849 GB, free: 116.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001759/1.13, allocations: 462.1 kB / 0.7853 GB, free: 116.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008886/1.139, allocations: 5.24 MB / 0.7904 GB, free: 110.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-05/1.139, allocations: 31.05 kB / 0.7905 GB, free: 110.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.025e-05/1.139, allocations: 4 kB / 0.7905 GB, free: 110.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.991e-05/1.139, allocations: 15.95 kB / 0.7905 GB, free: 110.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01986/1.159, allocations: 11.63 MB / 0.8018 GB, free: 99.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.829e-05/1.159, allocations: 4 kB / 0.8018 GB, free: 99.19 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002419/1.161, allocations: 0.4915 MB / 0.8023 GB, free: 98.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002382/1.164, allocations: 0.9848 MB / 0.8033 GB, free: 97.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002988/1.164, allocations: 51.98 kB / 0.8033 GB, free: 97.65 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006827/1.171, allocations: 7.697 MB / 0.8109 GB, free: 89.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/1.171, allocations: 4 kB / 0.8109 GB, free: 89.68 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01129/1.182, allocations: 8.737 MB / 0.8194 GB, free: 80.87 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001417/1.184, allocations: 0.4952 MB / 0.8199 GB, free: 80.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001185/1.185, allocations: 40 kB / 0.8199 GB, free: 80.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002677/1.187, allocations: 171.7 kB / 0.8201 GB, free: 80.14 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004334/1.188, allocations: 145.8 kB / 0.8202 GB, free: 80 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000211/1.188, allocations: 72.09 kB / 0.8203 GB, free: 79.93 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004637/1.193, allocations: 3.166 MB / 0.8234 GB, free: 76.77 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.22e-07/1.193, allocations: 4 kB / 0.8234 GB, free: 76.77 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006112/1.199, allocations: 1.381 MB / 0.8247 GB, free: 75.4 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.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 (227): * Single equations (assignments): 222 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005673/1.2, allocations: 177.5 kB / 0.8249 GB, free: 75.22 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009528/1.209, allocations: 7.335 MB / 0.8321 GB, free: 67.89 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/1.209, allocations: 0 / 0.8321 GB, free: 67.89 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00277/1.212, allocations: 2.569 MB / 0.8346 GB, free: 65.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00395/1.216, allocations: 0.5879 MB / 0.8351 GB, free: 64.71 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0167/1.233, allocations: 13.27 MB / 0.8481 GB, free: 51.43 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003505/1.236, allocations: 4.074 MB / 0.8521 GB, free: 47.32 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001466/1.238, allocations: 383.4 kB / 0.8525 GB, free: 46.95 MB / 0.5606 GB Notification: Performance of SimCode: time 7.31e-07/1.238, allocations: 0 / 0.8525 GB, free: 46.95 MB / 0.5606 GB Notification: Performance of Templates: time 0.3818/1.619, allocations: 125.4 MB / 0.9749 GB, free: 189.2 MB / 0.6075 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/LineForceWithMass/LineForceWithMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches