Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001092/0.001092, allocations: 117.9 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001194/0.001194, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2271/0.2271, allocations: 46.1 MB / 343.8 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 74.8 kB / 417 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1359, allocations: 62.45 MB / 479.5 MB, free: 5.613 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses): time 0.3109/0.4468, allocations: 72.72 MB / 0.5393 GB, free: 2.121 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04157/0.4884, allocations: 14.4 MB / 0.5533 GB, free: 8.414 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01828/0.5067, allocations: 329.2 kB / 0.5536 GB, free: 8.359 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00801/0.5148, allocations: 4.175 MB / 0.5577 GB, free: 5.617 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007668/0.5225, allocations: 2.532 MB / 0.5602 GB, free: 3.832 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003892/0.5265, allocations: 1.371 MB / 0.5615 GB, free: 2.945 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01259/0.5391, allocations: 9.038 MB / 0.5704 GB, free: 10.19 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007266/0.5464, allocations: 5.644 MB / 0.5759 GB, free: 4.5 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004889/0.5513, allocations: 2.722 MB / 0.5785 GB, free: 1.77 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006341/0.5576, allocations: 4.249 MB / 0.5827 GB, free: 13.51 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001857/0.5595, allocations: 0.5352 MB / 0.5832 GB, free: 12.97 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004567/0.5641, allocations: 1.631 MB / 0.5848 GB, free: 11.34 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004008/0.5682, allocations: 3.359 MB / 0.5881 GB, free: 7.973 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005674/0.5738, allocations: 3.663 MB / 0.5917 GB, free: 4.289 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01398/0.5878, allocations: 10.87 MB / 0.6023 GB, free: 9.387 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.5879, allocations: 0 / 0.6023 GB, free: 9.387 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.5879, allocations: 0 / 0.6023 GB, free: 9.387 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.00048/0.5884, allocations: 0 / 0.6023 GB, free: 9.387 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: 2303 * Number of variables: 2303 Notification: Performance of Generate backend data structure: time 0.02329/0.6117, allocations: 8.202 MB / 0.6103 GB, free: 1.098 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.6118, allocations: 8.031 kB / 0.6103 GB, free: 1.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02837/0.6401, allocations: 3.67 MB / 0.6139 GB, free: 13.4 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01244/0.6526, allocations: 5.184 MB / 0.6189 GB, free: 8.137 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002985/0.6529, allocations: 369.8 kB / 0.6193 GB, free: 7.773 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001724/0.6547, allocations: 0.5193 MB / 0.6198 GB, free: 7.254 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02863/0.6833, allocations: 16.25 MB / 0.6357 GB, free: 5.934 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001878/0.6835, allocations: 79.31 kB / 0.6357 GB, free: 5.855 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000623/0.6842, allocations: 231.8 kB / 0.636 GB, free: 5.629 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004499/0.6887, allocations: 2.927 MB / 0.6388 GB, free: 2.695 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02788/0.7166, allocations: 13.73 MB / 0.6522 GB, free: 4.945 MB / 494.1 MB 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.09352/0.8101, allocations: 64.82 MB / 0.7155 GB, free: 2.262 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2708/1.081, allocations: 7.868 MB / 0.7232 GB, free: 194.6 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005562/1.087, allocations: 4.346 MB / 0.7274 GB, free: 192.8 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02613/1.113, allocations: 19.45 MB / 0.7464 GB, free: 182.9 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.122e-05/1.113, allocations: 67.88 kB / 0.7465 GB, free: 182.9 MB / 0.545 GB Notification: Performance of pre-optimization done (n=290): time 6.322e-06/1.113, allocations: 0 / 0.7465 GB, free: 182.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=372): time 0.164/1.277, allocations: 49.83 MB / 0.7952 GB, free: 141.8 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.85e-05/1.277, allocations: 277.8 kB / 0.7954 GB, free: 141.5 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007212/1.284, allocations: 6.046 MB / 0.8013 GB, free: 135.4 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0008852/1.285, allocations: 77.7 kB / 0.8014 GB, free: 135.4 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002141/1.287, allocations: 4.665 MB / 0.806 GB, free: 130.7 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001448/1.289, allocations: 1.371 MB / 0.8073 GB, free: 129.3 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002216/1.291, allocations: 1.916 MB / 0.8092 GB, free: 127.4 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 4.606e-05/1.291, allocations: 305.1 kB / 0.8095 GB, free: 127.1 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005002/1.296, allocations: 4.231 MB / 0.8136 GB, free: 122.9 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00655/1.303, allocations: 9.463 MB / 0.8228 GB, free: 110.9 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01387/1.316, allocations: 14.65 MB / 0.8371 GB, free: 93.66 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001439/1.317, allocations: 48 kB / 0.8372 GB, free: 93.62 MB / 0.545 GB Notification: Performance of matching and sorting (n=1256) (initialization): time 0.03356/1.35, allocations: 17.56 MB / 0.8543 GB, free: 76.01 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.000107/1.35, allocations: 80 kB / 0.8544 GB, free: 75.93 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000177/1.351, allocations: 188.1 kB / 0.8546 GB, free: 75.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01367/1.364, allocations: 4.551 MB / 0.859 GB, free: 71.19 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007227/1.371, allocations: 2.137 MB / 0.8611 GB, free: 69.05 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03045/1.402, allocations: 25.4 MB / 0.8859 GB, free: 43.38 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007562/1.41, allocations: 0.5266 MB / 0.8865 GB, free: 42.86 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001326/1.411, allocations: 0.5351 MB / 0.887 GB, free: 42.32 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 825 * 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 (1136): * Single equations (assignments): 1131 * 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,44,100.0%), (2,50,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004527/1.415, allocations: 3.117 MB / 0.89 GB, free: 39.19 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009826/1.416, allocations: 0.5669 MB / 0.8906 GB, free: 38.62 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01906/1.436, allocations: 10.72 MB / 0.901 GB, free: 27.83 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.666e-05/1.436, allocations: 36 kB / 0.9011 GB, free: 27.8 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.737e-05/1.436, allocations: 20 kB / 0.9011 GB, free: 27.78 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.887e-05/1.436, allocations: 19.92 kB / 0.9011 GB, free: 27.76 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.279/1.715, allocations: 20.52 MB / 0.9212 GB, free: 172.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.619e-05/1.715, allocations: 10 kB / 0.9212 GB, free: 172.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004128/1.719, allocations: 0.5342 MB / 0.9217 GB, free: 172.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01494/1.734, allocations: 4.195 MB / 0.9258 GB, free: 172.1 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007339/1.735, allocations: 66.69 kB / 0.9258 GB, free: 172.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02995/1.765, allocations: 23.11 MB / 0.9484 GB, free: 162.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/1.765, allocations: 5.469 kB / 0.9484 GB, free: 162.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02725/1.792, allocations: 15.65 MB / 0.9637 GB, free: 157.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001457/1.793, allocations: 0.5917 MB / 0.9643 GB, free: 157.1 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001768/1.795, allocations: 56.78 kB / 0.9643 GB, free: 157.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004022/1.799, allocations: 229.8 kB / 0.9646 GB, free: 157.1 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001318/1.801, allocations: 219.6 kB / 0.9648 GB, free: 157 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005607/1.801, allocations: 101.2 kB / 0.9649 GB, free: 157 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.006492/1.808, allocations: 3.769 MB / 0.9685 GB, free: 155.4 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.8e-07/1.808, allocations: 3.438 kB / 0.9685 GB, free: 155.4 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.009958/1.818, allocations: 1.9 MB / 0.9704 GB, free: 153.6 MB / 0.545 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 (272): * Single equations (assignments): 267 * 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,43,100.0%), (1,36,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00117/1.819, allocations: 211.1 kB / 0.9706 GB, free: 153.4 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.02516/1.844, allocations: 15.44 MB / 0.9857 GB, free: 138.1 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.134e-06/1.844, allocations: 1.75 kB / 0.9857 GB, free: 138.1 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006054/1.85, allocations: 4.137 MB / 0.9897 GB, free: 133.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006479/1.857, allocations: 0.7678 MB / 0.9905 GB, free: 133.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02564/1.882, allocations: 19.64 MB / 1.01 GB, free: 113.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005456/1.888, allocations: 4.855 MB / 1.014 GB, free: 108.9 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006745/1.895, allocations: 2.781 MB / 1.017 GB, free: 106.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001222/1.896, allocations: 387.4 kB / 1.017 GB, free: 105.8 MB / 0.545 GB Notification: Performance of SimCode: time 1.122e-06/1.896, allocations: 0 / 1.017 GB, free: 105.8 MB / 0.545 GB Notification: Performance of Templates: time 0.117/2.013, allocations: 84.43 MB / 1.1 GB, free: 21.68 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches