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.001697/0.001696, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001633/0.001633, allocations: 194 kB / 18.77 MB, free: 4.742 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.489/1.489, allocations: 222.9 MB / 242.4 MB, free: 15.48 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.2214/0.2214, allocations: 44.18 MB / 336.8 MB, free: 3.039 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001933, allocations: 64.5 kB / 408.4 MB, free: 27.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.16, allocations: 60.83 MB / 469.2 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.3583/0.5183, allocations: 63.91 MB / 0.5206 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03635/0.5547, allocations: 13.09 MB / 0.5334 GB, free: 5.926 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01936/0.5741, allocations: 282.7 kB / 0.5337 GB, free: 5.883 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00809/0.5823, allocations: 4.009 MB / 0.5376 GB, free: 4.668 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008006/0.5903, allocations: 2.208 MB / 0.5397 GB, free: 3.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003141/0.5935, allocations: 1.077 MB / 0.5408 GB, free: 3.035 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01175/0.6053, allocations: 9.359 MB / 0.5499 GB, free: 14.54 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007465/0.6128, allocations: 4.622 MB / 0.5544 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004546/0.6174, allocations: 1.995 MB / 0.5564 GB, free: 8.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005414/0.6228, allocations: 3.224 MB / 0.5595 GB, free: 5.449 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00184/0.6247, allocations: 328 kB / 0.5598 GB, free: 5.129 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004263/0.629, allocations: 1.504 MB / 0.5613 GB, free: 3.68 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003591/0.6326, allocations: 2.613 MB / 0.5639 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005679/0.6383, allocations: 2.901 MB / 0.5667 GB, free: 14.16 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009287/0.6476, allocations: 7.376 MB / 0.5739 GB, free: 7 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.6477, allocations: 0 / 0.5739 GB, free: 7 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.276e-06/0.6477, allocations: 0 / 0.5739 GB, free: 7 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000367/0.6481, allocations: 0 / 0.5739 GB, free: 7 MB / 414.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.02009/0.6682, allocations: 6.75 MB / 0.5805 GB, free: 304 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.803e-05/0.6683, allocations: 15.97 kB / 0.5805 GB, free: 288 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02786/0.6962, allocations: 3.295 MB / 0.5837 GB, free: 12.98 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01179/0.708, allocations: 4.094 MB / 0.5877 GB, free: 8.871 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003476/0.7084, allocations: 311.1 kB / 0.588 GB, free: 8.609 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002043/0.7105, allocations: 433.2 kB / 0.5884 GB, free: 8.23 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02928/0.7398, allocations: 13.81 MB / 0.6019 GB, free: 9.684 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002913/0.7401, allocations: 63.42 kB / 0.602 GB, free: 9.621 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001534/0.7416, allocations: 198.2 kB / 0.6022 GB, free: 9.473 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004216/0.7459, allocations: 2.528 MB / 0.6046 GB, free: 6.957 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02739/0.7733, allocations: 11.8 MB / 0.6162 GB, free: 11.15 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08127/0.8546, allocations: 53.72 MB / 0.6686 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01711/0.8718, allocations: 5.908 MB / 0.6744 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005256/0.8771, allocations: 3.593 MB / 0.6779 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02719/0.9043, allocations: 15.44 MB / 0.693 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.689e-05/0.9044, allocations: 64.56 kB / 0.693 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=230): time 5.811e-06/0.9044, allocations: 3.938 kB / 0.693 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of matching and sorting (n=267): time 0.3668/1.271, allocations: 28.6 MB / 0.721 GB, free: 185.6 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.744e-05/1.271, allocations: 260.6 kB / 0.7212 GB, free: 185.4 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008772/1.28, allocations: 5.056 MB / 0.7261 GB, free: 183.6 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006164/1.281, allocations: 64.95 kB / 0.7262 GB, free: 183.5 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002228/1.283, allocations: 3.891 MB / 0.73 GB, free: 180.5 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001335/1.284, allocations: 1.004 MB / 0.731 GB, free: 179.8 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003127/1.288, allocations: 1.543 MB / 0.7325 GB, free: 179.1 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.483e-05/1.288, allocations: 301.1 kB / 0.7328 GB, free: 178.8 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004072/1.292, allocations: 3.013 MB / 0.7357 GB, free: 177.8 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006191/1.298, allocations: 7.353 MB / 0.7429 GB, free: 171 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01089/1.309, allocations: 11.1 MB / 0.7537 GB, free: 159.1 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002199/1.309, allocations: 47.94 kB / 0.7538 GB, free: 159.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.02046/1.33, allocations: 11.19 MB / 0.7647 GB, free: 147.9 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002529/1.33, allocations: 72.25 kB / 0.7648 GB, free: 147.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003464/1.33, allocations: 152 kB / 0.7649 GB, free: 147.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003384/1.334, allocations: 1.226 MB / 0.7661 GB, free: 146.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006521/1.34, allocations: 1.829 MB / 0.7679 GB, free: 144.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00803/1.348, allocations: 7.773 MB / 0.7755 GB, free: 136.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006982/1.355, allocations: 427.4 kB / 0.7759 GB, free: 136.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001836/1.357, allocations: 452 kB / 0.7763 GB, free: 135.7 MB / 0.5294 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.005894/1.363, allocations: 2.63 MB / 0.7789 GB, free: 133.1 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001761/1.365, allocations: 466 kB / 0.7794 GB, free: 132.6 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009494/1.374, allocations: 5.235 MB / 0.7845 GB, free: 127.4 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.865e-05/1.374, allocations: 31.91 kB / 0.7845 GB, free: 127.3 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.251e-05/1.374, allocations: 11.94 kB / 0.7845 GB, free: 127.3 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.539e-05/1.374, allocations: 11.95 kB / 0.7845 GB, free: 127.3 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02348/1.398, allocations: 11.74 MB / 0.796 GB, free: 115.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.652e-05/1.398, allocations: 4 kB / 0.796 GB, free: 115.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002528/1.401, allocations: 0.4954 MB / 0.7965 GB, free: 115.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002497/1.403, allocations: 0.9848 MB / 0.7974 GB, free: 114.1 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004254/1.404, allocations: 47.98 kB / 0.7975 GB, free: 114 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007145/1.411, allocations: 7.126 MB / 0.8044 GB, free: 106.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/1.411, allocations: 4.062 kB / 0.8044 GB, free: 106.6 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01213/1.423, allocations: 8.722 MB / 0.813 GB, free: 97.86 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001635/1.425, allocations: 0.4952 MB / 0.8134 GB, free: 97.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001417/1.426, allocations: 40 kB / 0.8135 GB, free: 97.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002877/1.429, allocations: 171.8 kB / 0.8136 GB, free: 97.13 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005168/1.429, allocations: 145.8 kB / 0.8138 GB, free: 96.98 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002475/1.43, allocations: 71.98 kB / 0.8139 GB, free: 96.91 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005483/1.435, allocations: 3.162 MB / 0.8169 GB, free: 93.77 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.51e-07/1.435, allocations: 0 / 0.8169 GB, free: 93.77 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007918/1.443, allocations: 1.37 MB / 0.8183 GB, free: 92.4 MB / 0.5294 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.0007463/1.444, allocations: 194.6 kB / 0.8185 GB, free: 92.21 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009782/1.454, allocations: 7.311 MB / 0.8256 GB, free: 84.9 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/1.454, allocations: 0 / 0.8256 GB, free: 84.9 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003072/1.457, allocations: 2.559 MB / 0.8281 GB, free: 82.32 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004874/1.462, allocations: 0.5667 MB / 0.8287 GB, free: 81.76 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02017/1.482, allocations: 16.02 MB / 0.8443 GB, free: 65.72 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003847/1.486, allocations: 4.078 MB / 0.8483 GB, free: 61.61 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00169/1.487, allocations: 379.3 kB / 0.8486 GB, free: 61.24 MB / 0.5294 GB Notification: Performance of SimCode: time 9.22e-07/1.487, allocations: 0 / 0.8486 GB, free: 61.24 MB / 0.5294 GB Notification: Performance of Templates: time 0.3884/1.876, allocations: 124.6 MB / 0.9703 GB, free: 113.6 MB / 0.5294 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