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.001326/0.001326, allocations: 106.2 kB / 17.04 MB, free: 6.059 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.001329/0.001329, allocations: 196 kB / 17.97 MB, free: 5.141 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.536/1.536, allocations: 205.1 MB / 223.8 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2196/0.2196, allocations: 43.52 MB / 314.7 MB, free: 500 kB / 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.001496/0.001496, allocations: 75.06 kB / 384.2 MB, free: 56.45 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1311, allocations: 57.79 MB / 442 MB, free: 6.172 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.01568/0.1468, allocations: 15.02 MB / 457 MB, free: 7.078 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0118/0.1587, allocations: 5.016 MB / 462 MB, free: 2.055 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00382/0.1626, allocations: 107.6 kB / 462.1 MB, free: 1.949 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008372/0.171, allocations: 4.018 MB / 466.1 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007486/0.1785, allocations: 2.357 MB / 468.5 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004165/0.1827, allocations: 1.166 MB / 469.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01595/0.1987, allocations: 6.161 MB / 475.8 MB, free: 4.211 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009378/0.2082, allocations: 4.702 MB / 480.5 MB, free: 15.44 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005989/0.2142, allocations: 2.235 MB / 482.8 MB, free: 13.2 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007378/0.2216, allocations: 3.026 MB / 485.8 MB, free: 10.16 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00243/0.2241, allocations: 456 kB / 486.2 MB, free: 9.715 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005652/0.2298, allocations: 1.537 MB / 487.8 MB, free: 8.176 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005462/0.2353, allocations: 2.716 MB / 490.5 MB, free: 5.453 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008723/0.2441, allocations: 3.025 MB / 493.5 MB, free: 2.41 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01919/0.2633, allocations: 9.452 MB / 0.4912 GB, free: 8.926 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.273e-05/0.2634, allocations: 0 / 0.4912 GB, free: 8.926 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.2634, allocations: 0 / 0.4912 GB, free: 8.926 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000364/0.2637, allocations: 0 / 0.4912 GB, free: 8.926 MB / 382.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.02507/0.2888, allocations: 6.754 MB / 0.4978 GB, free: 2.094 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.411e-05/0.2889, allocations: 12.03 kB / 0.4978 GB, free: 2.082 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02545/0.3144, allocations: 3.3 MB / 0.501 GB, free: 14.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01342/0.3279, allocations: 4.289 MB / 0.5052 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003999/0.3283, allocations: 312.4 kB / 0.5055 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002317/0.3306, allocations: 427.6 kB / 0.5059 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03263/0.3633, allocations: 13.82 MB / 0.5194 GB, free: 11.01 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003789/0.3637, allocations: 59.42 kB / 0.5194 GB, free: 10.95 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001976/0.3657, allocations: 203.8 kB / 0.5196 GB, free: 10.75 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004958/0.3707, allocations: 2.519 MB / 0.5221 GB, free: 8.223 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2737/0.6444, allocations: 11.8 MB / 0.5336 GB, free: 79.52 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06557/0.71, allocations: 53.49 MB / 0.5859 GB, free: 41.29 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01408/0.7241, allocations: 5.925 MB / 0.5916 GB, free: 35.25 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003691/0.7279, allocations: 3.589 MB / 0.5952 GB, free: 31.64 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01883/0.7467, allocations: 15.42 MB / 0.6102 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.737e-05/0.7468, allocations: 64.5 kB / 0.6103 GB, free: 15.7 MB / 414.1 MB Notification: Performance of pre-optimization done (n=230): time 5.55e-06/0.7468, allocations: 0 / 0.6103 GB, free: 15.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=267): time 0.09411/0.8409, allocations: 28.65 MB / 0.6382 GB, free: 2.984 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002089/0.8412, allocations: 269.2 kB / 0.6385 GB, free: 2.664 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01193/0.8532, allocations: 5.073 MB / 0.6435 GB, free: 13.59 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009446/0.8542, allocations: 65.7 kB / 0.6435 GB, free: 13.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004457/0.8586, allocations: 3.891 MB / 0.6473 GB, free: 9.633 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001913/0.8606, allocations: 1 MB / 0.6483 GB, free: 8.641 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005666/0.8663, allocations: 1.545 MB / 0.6498 GB, free: 7.09 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.8664, allocations: 305.1 kB / 0.6501 GB, free: 6.789 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006017/0.8725, allocations: 3.015 MB / 0.653 GB, free: 3.773 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01043/0.8829, allocations: 7.344 MB / 0.6602 GB, free: 10.31 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02041/0.9034, allocations: 11.1 MB / 0.6711 GB, free: 13.11 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002305/0.9037, allocations: 44 kB / 0.6711 GB, free: 13.06 MB / 478.1 MB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.02852/0.9322, allocations: 11.2 MB / 0.682 GB, free: 1.852 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000217/0.9325, allocations: 72 kB / 0.6821 GB, free: 1.781 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003659/0.9329, allocations: 152.1 kB / 0.6822 GB, free: 1.633 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003631/0.9365, allocations: 1.228 MB / 0.6834 GB, free: 416 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007125/0.9437, allocations: 1.833 MB / 0.6852 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01242/0.9561, allocations: 8.361 MB / 0.6934 GB, free: 5.949 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006911/0.963, allocations: 439.3 kB / 0.6938 GB, free: 5.52 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00153/0.9646, allocations: 448.6 kB / 0.6942 GB, free: 5.082 MB / 494.1 MB 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.006184/0.9708, allocations: 2.641 MB / 0.6968 GB, free: 2.426 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001587/0.9724, allocations: 474 kB / 0.6973 GB, free: 1.957 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01065/0.9831, allocations: 5.233 MB / 0.7024 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.776e-05/0.9832, allocations: 32 kB / 0.7024 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.676e-05/0.9832, allocations: 4 kB / 0.7024 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-05/0.9832, allocations: 15.95 kB / 0.7024 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02838/1.012, allocations: 11.66 MB / 0.7138 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.232e-05/1.012, allocations: 0 / 0.7138 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002692/1.014, allocations: 0.4992 MB / 0.7143 GB, free: 480 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002818/1.017, allocations: 0.9941 MB / 0.7153 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004117/1.018, allocations: 43.98 kB / 0.7153 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009652/1.027, allocations: 7.69 MB / 0.7228 GB, free: 7.453 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/1.027, allocations: 4 kB / 0.7228 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2617/1.289, allocations: 8.738 MB / 0.7314 GB, free: 175.2 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003025/1.292, allocations: 0.8765 MB / 0.7322 GB, free: 175.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009153/1.293, allocations: 39.97 kB / 0.7323 GB, free: 175.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002235/1.295, allocations: 174.1 kB / 0.7324 GB, free: 175.1 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004736/1.296, allocations: 146.2 kB / 0.7326 GB, free: 175.1 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002306/1.296, allocations: 75.98 kB / 0.7326 GB, free: 175.1 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.005549/1.302, allocations: 3.18 MB / 0.7358 GB, free: 174.9 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.71e-07/1.302, allocations: 3.281 kB / 0.7358 GB, free: 174.9 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.006915/1.309, allocations: 1.369 MB / 0.7371 GB, free: 174.9 MB / 0.5137 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.0006056/1.309, allocations: 184.9 kB / 0.7373 GB, free: 174.8 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01239/1.322, allocations: 7.34 MB / 0.7444 GB, free: 173.1 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/1.322, allocations: 0 / 0.7444 GB, free: 173.1 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003209/1.325, allocations: 2.562 MB / 0.7469 GB, free: 172 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003488/1.328, allocations: 0.5863 MB / 0.7475 GB, free: 171.7 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02128/1.35, allocations: 12.77 MB / 0.76 GB, free: 166.6 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005402/1.355, allocations: 4.108 MB / 0.764 GB, free: 165.1 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.005599/1.361, allocations: 2.364 MB / 0.7663 GB, free: 164.9 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00118/1.362, allocations: 322.4 kB / 0.7666 GB, free: 164.6 MB / 0.5137 GB Notification: Performance of SimCode: time 1.443e-06/1.362, allocations: 4 kB / 0.7666 GB, free: 164.6 MB / 0.5137 GB Notification: Performance of Templates: time 0.07853/1.44, allocations: 45.85 MB / 0.8114 GB, free: 120.5 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.makefile (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 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/LineForceWithMass/LineForceWithMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches