Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.LineForceWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_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.0009702/0.0009703, allocations: 96.28 kB / 15.69 MB, free: 480 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.0009901/0.0009903, allocations: 176.5 kB / 16.57 MB, free: 6.391 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.258/1.258, allocations: 205.4 MB / 222.7 MB, free: 5.672 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.303/0.303, allocations: 43.55 MB / 314.5 MB, free: 8.781 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.0005011/0.0005013, allocations: 22.97 kB / 383.9 MB, free: 8.031 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1154, allocations: 58.85 MB / 442.8 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.2382/0.3536, allocations: 54.72 MB / 497.5 MB, free: 16.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02729/0.3809, allocations: 13 MB / 0.4985 GB, free: 7.219 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01147/0.3924, allocations: 282.3 kB / 0.4988 GB, free: 7.172 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008386/0.4009, allocations: 2.704 MB / 0.5014 GB, free: 6.277 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02303/0.4239, allocations: 7.826 MB / 0.5091 GB, free: 2.531 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00431/0.4283, allocations: 0.9975 MB / 0.51 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.04112/0.4694, allocations: 27 MB / 0.5364 GB, free: 88 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008371/0.4778, allocations: 5.536 MB / 0.5418 GB, free: 10.54 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002802/0.4807, allocations: 1.511 MB / 0.5433 GB, free: 9.02 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002786/0.4835, allocations: 2.017 MB / 0.5453 GB, free: 6.996 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007598/0.4843, allocations: 204 kB / 0.5454 GB, free: 6.797 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002396/0.4867, allocations: 1.116 MB / 0.5465 GB, free: 5.68 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002185/0.4889, allocations: 2.225 MB / 0.5487 GB, free: 3.449 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001306/0.4902, allocations: 1.104 MB / 0.5498 GB, free: 2.336 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007859/0.4981, allocations: 7.54 MB / 0.5572 GB, free: 10.78 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.882e-06/0.4981, allocations: 0 / 0.5572 GB, free: 10.78 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.4981, allocations: 0 / 0.5572 GB, free: 10.78 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003301/0.4984, allocations: 0 / 0.5572 GB, free: 10.78 MB / 430.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.01679/0.5152, allocations: 6.107 MB / 0.5631 GB, free: 4.59 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.5153, allocations: 8.031 kB / 0.5631 GB, free: 4.582 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1576/0.6729, allocations: 14.69 MB / 0.5775 GB, free: 5.871 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.011/0.684, allocations: 4.542 MB / 0.5819 GB, free: 1.246 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000238/0.6842, allocations: 308 kB / 0.5822 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001154/0.6854, allocations: 419.7 kB / 0.5826 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0236/0.709, allocations: 13.89 MB / 0.5962 GB, free: 1.77 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001525/0.7092, allocations: 55.44 kB / 0.5962 GB, free: 1.715 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005062/0.7097, allocations: 199.8 kB / 0.5964 GB, free: 1.52 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003794/0.7135, allocations: 2.527 MB / 0.5989 GB, free: 14.99 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02422/0.7378, allocations: 11.76 MB / 0.6104 GB, free: 3.223 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2836/1.021, allocations: 53.35 MB / 0.6625 GB, free: 105.7 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0138/1.035, allocations: 5.841 MB / 0.6682 GB, free: 105 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02143/1.057, allocations: 14.95 MB / 0.6828 GB, free: 96.87 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.259e-05/1.057, allocations: 59.08 kB / 0.6828 GB, free: 96.82 MB / 494.1 MB Notification: Performance of pre-optimization done (n=227): time 7.725e-06/1.057, allocations: 0 / 0.6828 GB, free: 96.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=264): time 0.07712/1.134, allocations: 26.69 MB / 0.7089 GB, free: 87.82 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.78e-05/1.134, allocations: 270.3 kB / 0.7091 GB, free: 87.52 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006478/1.141, allocations: 5.323 MB / 0.7143 GB, free: 85.61 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006287/1.141, allocations: 68.7 kB / 0.7144 GB, free: 85.55 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002565/1.144, allocations: 3.962 MB / 0.7183 GB, free: 82.09 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001341/1.145, allocations: 0.9928 MB / 0.7192 GB, free: 81.25 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003167/1.146, allocations: 146.8 kB / 0.7194 GB, free: 81.14 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003185/1.146, allocations: 0.6148 MB / 0.72 GB, free: 80.61 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003634/1.149, allocations: 2.697 MB / 0.7226 GB, free: 79.3 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005453/1.155, allocations: 7.023 MB / 0.7295 GB, free: 70.8 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004996/1.16, allocations: 4.236 MB / 0.7336 GB, free: 66.57 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-05/1.16, allocations: 44 kB / 0.7336 GB, free: 66.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=963) (initialization): time 0.01435/1.174, allocations: 10.05 MB / 0.7435 GB, free: 56.46 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.658e-05/1.175, allocations: 68 kB / 0.7435 GB, free: 56.39 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001756/1.175, allocations: 152.9 kB / 0.7437 GB, free: 56.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001559/1.176, allocations: 0.7329 MB / 0.7444 GB, free: 55.51 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005663/1.182, allocations: 1.766 MB / 0.7461 GB, free: 53.74 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006491/1.189, allocations: 6.475 MB / 0.7524 GB, free: 47.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006641/1.195, allocations: 404.6 kB / 0.7528 GB, free: 46.63 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001468/1.197, allocations: 442.6 kB / 0.7533 GB, free: 46.2 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 693 * 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 (913): * Single equations (assignments): 908 * 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 {(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006076/1.203, allocations: 2.647 MB / 0.7558 GB, free: 43.54 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001236/1.204, allocations: 469.9 kB / 0.7563 GB, free: 43.07 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006879/1.211, allocations: 4.369 MB / 0.7606 GB, free: 38.68 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.236e-05/1.211, allocations: 28 kB / 0.7606 GB, free: 38.66 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.985e-05/1.211, allocations: 4 kB / 0.7606 GB, free: 38.65 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.439e-05/1.211, allocations: 11.95 kB / 0.7606 GB, free: 38.64 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02173/1.233, allocations: 10.87 MB / 0.7712 GB, free: 27.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.752e-05/1.233, allocations: 2.5 kB / 0.7712 GB, free: 27.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002436/1.235, allocations: 0.4953 MB / 0.7717 GB, free: 27.28 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001266/1.237, allocations: 491 kB / 0.7722 GB, free: 26.79 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003199/1.237, allocations: 47.98 kB / 0.7722 GB, free: 26.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005227/1.242, allocations: 5.81 MB / 0.7779 GB, free: 20.67 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/1.242, allocations: 0 / 0.7779 GB, free: 20.67 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01006/1.252, allocations: 7.689 MB / 0.7854 GB, free: 12.9 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002979/1.255, allocations: 0.8541 MB / 0.7862 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001268/1.257, allocations: 36 kB / 0.7863 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002844/1.259, allocations: 175.5 kB / 0.7864 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003868/1.26, allocations: 145.8 kB / 0.7866 GB, free: 11.67 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001804/1.26, allocations: 71.98 kB / 0.7866 GB, free: 11.6 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004769/1.265, allocations: 3.368 MB / 0.7899 GB, free: 8.25 MB / 494.1 MB Notification: Performance of sort global known variables: time 6.71e-07/1.265, allocations: 4 kB / 0.7899 GB, free: 8.246 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00715/1.272, allocations: 1.329 MB / 0.7912 GB, free: 6.922 MB / 494.1 MB 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 (224): * Single equations (assignments): 219 * 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 {(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006188/1.273, allocations: 195.1 kB / 0.7914 GB, free: 6.73 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009305/1.282, allocations: 6.745 MB / 0.798 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.616e-06/1.282, allocations: 0 / 0.798 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003864/1.286, allocations: 2.364 MB / 0.8003 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004131/1.29, allocations: 0.5631 MB / 0.8009 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02852/1.319, allocations: 14.61 MB / 0.8151 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006649/1.325, allocations: 4.226 MB / 0.8193 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00664/1.332, allocations: 2.379 MB / 0.8216 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001128/1.333, allocations: 331.4 kB / 0.8219 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of SimCode: time 5.71e-07/1.333, allocations: 0 / 0.8219 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of Templates: time 0.3298/1.663, allocations: 46.83 MB / 0.8676 GB, free: 145.8 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/LineForceWithMass/LineForceWithMass.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches