Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.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.LineForceWithTwoMasses,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.LineForceWithTwoMasses") translateModel(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses,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.LineForceWithTwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 94.67 kB / 16.98 MB, free: 5.938 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.001214/0.001214, allocations: 188.4 kB / 17.88 MB, free: 5.594 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.389/1.389, allocations: 223.2 MB / 241.8 MB, free: 14.63 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.2258/0.2258, allocations: 44.22 MB / 337.1 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000319/0.000319, allocations: 11.94 kB / 409.5 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1464, allocations: 61.92 MB / 471.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses): time 0.3423/0.4887, allocations: 62.63 MB / 0.5216 GB, free: 9.848 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04153/0.5302, allocations: 14.66 MB / 0.5359 GB, free: 7.934 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01736/0.5476, allocations: 319.8 kB / 0.5362 GB, free: 7.883 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01471/0.5624, allocations: 3.097 MB / 0.5392 GB, free: 6.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03893/0.6013, allocations: 8.925 MB / 0.5479 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005961/0.6073, allocations: 1.256 MB / 0.5492 GB, free: 1.156 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0732/0.6806, allocations: 49.87 MB / 0.5979 GB, free: 2.328 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01196/0.6926, allocations: 6.339 MB / 0.604 GB, free: 11.93 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004914/0.6975, allocations: 1.857 MB / 0.6059 GB, free: 10.07 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005045/0.7026, allocations: 2.649 MB / 0.6084 GB, free: 7.41 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001712/0.7043, allocations: 248 kB / 0.6087 GB, free: 7.168 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003892/0.7082, allocations: 1.174 MB / 0.6098 GB, free: 5.992 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004737/0.713, allocations: 2.767 MB / 0.6125 GB, free: 3.219 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00295/0.716, allocations: 1.31 MB / 0.6138 GB, free: 1.898 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0121/0.7281, allocations: 8.842 MB / 0.6224 GB, free: 9.031 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.7281, allocations: 0 / 0.6224 GB, free: 9.031 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.7281, allocations: 7.938 kB / 0.6225 GB, free: 9.023 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005526/0.7287, allocations: 0 / 0.6225 GB, free: 9.023 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2303 * Number of variables: 2303 Notification: Performance of Generate backend data structure: time 0.02406/0.7528, allocations: 7.337 MB / 0.6296 GB, free: 1.602 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.7528, allocations: 8.031 kB / 0.6296 GB, free: 1.594 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1698/0.9226, allocations: 15.1 MB / 0.6444 GB, free: 2.461 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01477/0.9374, allocations: 5.561 MB / 0.6498 GB, free: 12.82 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003979/0.9379, allocations: 369.5 kB / 0.6502 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002079/0.94, allocations: 0.5151 MB / 0.6507 GB, free: 11.94 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03349/0.9735, allocations: 16.33 MB / 0.6666 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002491/0.9737, allocations: 87.2 kB / 0.6667 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007741/0.9745, allocations: 235.8 kB / 0.6669 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00472/0.9793, allocations: 2.93 MB / 0.6698 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02939/1.009, allocations: 13.7 MB / 0.6832 GB, free: 9.562 MB / 0.5137 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3672/1.376, allocations: 64.44 MB / 0.7461 GB, free: 147.4 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02241/1.398, allocations: 7.868 MB / 0.7538 GB, free: 145.2 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03242/1.431, allocations: 18.9 MB / 0.7722 GB, free: 134.3 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.089e-05/1.431, allocations: 75.14 kB / 0.7723 GB, free: 134.2 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=287): time 7.574e-06/1.431, allocations: 0 / 0.7723 GB, free: 134.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=370): time 0.1597/1.591, allocations: 51.61 MB / 0.8227 GB, free: 88.14 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.697e-05/1.591, allocations: 265.8 kB / 0.823 GB, free: 87.83 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008356/1.599, allocations: 6.517 MB / 0.8293 GB, free: 81.3 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0008801/1.6, allocations: 81.7 kB / 0.8294 GB, free: 81.22 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002429/1.603, allocations: 4.74 MB / 0.834 GB, free: 76.48 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001599/1.604, allocations: 1.351 MB / 0.8353 GB, free: 75.14 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004093/1.605, allocations: 188 kB / 0.8355 GB, free: 74.95 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003463/1.605, allocations: 0.6986 MB / 0.8362 GB, free: 74.25 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004685/1.61, allocations: 3.887 MB / 0.84 GB, free: 70.35 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006681/1.616, allocations: 9.087 MB / 0.8489 GB, free: 58.69 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007021/1.623, allocations: 5.766 MB / 0.8545 GB, free: 52.91 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.937e-05/1.623, allocations: 52 kB / 0.8546 GB, free: 52.86 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1208) (initialization): time 0.03039/1.654, allocations: 16.34 MB / 0.8705 GB, free: 36.47 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.984e-05/1.654, allocations: 88.03 kB / 0.8706 GB, free: 36.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001604/1.654, allocations: 180 kB / 0.8708 GB, free: 36.21 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01235/1.666, allocations: 4.104 MB / 0.8748 GB, free: 32.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006996/1.673, allocations: 2.063 MB / 0.8768 GB, free: 30.03 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02833/1.702, allocations: 22.73 MB / 0.899 GB, free: 7.035 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00856/1.71, allocations: 0.5038 MB / 0.8995 GB, free: 6.531 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001637/1.712, allocations: 0.528 MB / 0.9 GB, free: 6.004 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 831 * Number of states: 0 () * Number of discrete variables: 66 (lineForceWithTwoMasses.massColor[3],lineForceWithTwoMasses.massColor[2],lineForceWithTwoMasses.massColor[1],lineForceWithTwoMasses.color_b[3],lineForceWithTwoMasses.color_b[2],lineForceWithTwoMasses.color_b[1],lineForceWithTwoMasses.color_a[3],lineForceWithTwoMasses.color_a[2],lineForceWithTwoMasses.color_a[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],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (1088): * Single equations (assignments): 1083 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 44,(5,64.0%) 47} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005383/1.718, allocations: 3.12 MB / 0.903 GB, free: 2.871 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001238/1.719, allocations: 0.5708 MB / 0.9036 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3086/2.027, allocations: 9.843 MB / 0.9132 GB, free: 172.3 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.666e-05/2.027, allocations: 41.11 kB / 0.9132 GB, free: 172.3 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-05/2.028, allocations: 17.38 kB / 0.9133 GB, free: 172.3 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-05/2.028, allocations: 18.27 kB / 0.9133 GB, free: 172.3 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04106/2.069, allocations: 19.6 MB / 0.9324 GB, free: 165.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.21e-05/2.069, allocations: 0 / 0.9324 GB, free: 165.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002825/2.072, allocations: 0.5392 MB / 0.933 GB, free: 165.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01171/2.083, allocations: 3.665 MB / 0.9365 GB, free: 165.1 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006819/2.084, allocations: 64.55 kB / 0.9366 GB, free: 165 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0246/2.109, allocations: 20.66 MB / 0.9568 GB, free: 148.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/2.109, allocations: 7.891 kB / 0.9568 GB, free: 148.6 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02464/2.133, allocations: 14.58 MB / 0.971 GB, free: 134.3 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002512/2.136, allocations: 0.6102 MB / 0.9716 GB, free: 134 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002255/2.138, allocations: 60 kB / 0.9717 GB, free: 133.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003476/2.142, allocations: 203.7 kB / 0.9719 GB, free: 133.7 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000849/2.143, allocations: 228.9 kB / 0.9721 GB, free: 133.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002485/2.143, allocations: 93.23 kB / 0.9722 GB, free: 133.4 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006156/2.149, allocations: 4.135 MB / 0.9762 GB, free: 129.3 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5.11e-07/2.149, allocations: 0 / 0.9762 GB, free: 129.3 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.009181/2.158, allocations: 1.883 MB / 0.9781 GB, free: 127.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 (270): * Single equations (assignments): 265 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 43,(1,100.0%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007884/2.159, allocations: 240.4 kB / 0.9783 GB, free: 127.2 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01284/2.172, allocations: 9.928 MB / 0.988 GB, free: 117.3 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.156e-06/2.172, allocations: 0 / 0.988 GB, free: 117.3 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004821/2.177, allocations: 3.936 MB / 0.9918 GB, free: 113.3 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003685/2.18, allocations: 0.7289 MB / 0.9925 GB, free: 112.6 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02456/2.205, allocations: 18.56 MB / 1.011 GB, free: 94.27 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00511/2.21, allocations: 5.003 MB / 1.016 GB, free: 89.23 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006571/2.217, allocations: 2.807 MB / 1.018 GB, free: 86.42 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001157/2.218, allocations: 391.4 kB / 1.019 GB, free: 86.04 MB / 0.5294 GB Notification: Performance of SimCode: time 9.12e-07/2.218, allocations: 0 / 1.019 GB, free: 86.04 MB / 0.5294 GB Notification: Performance of Templates: time 0.1006/2.319, allocations: 76.96 MB / 1.094 GB, free: 9.441 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/LineForceWithTwoMasses/LineForceWithTwoMasses.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches