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.00201/0.00201, allocations: 112.5 kB / 17.86 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002477/0.002476, allocations: 209.7 kB / 18.79 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.263/2.263, allocations: 227.4 MB / 246.9 MB, free: 9.094 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.379/0.379, allocations: 46.1 MB / 344.3 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002379/0.002379, allocations: 76.41 kB / 417.5 MB, free: 20.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2064/0.2088, allocations: 62.44 MB / 479.9 MB, free: 5.711 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses): time 0.5832/0.792, allocations: 72.72 MB / 0.5397 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.06506/0.8572, allocations: 14.5 MB / 0.5539 GB, free: 8.465 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03394/0.8912, allocations: 326.7 kB / 0.5542 GB, free: 8.41 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01558/0.9069, allocations: 4.335 MB / 0.5584 GB, free: 5.555 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01586/0.9228, allocations: 2.555 MB / 0.5609 GB, free: 3.742 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006722/0.9296, allocations: 1.356 MB / 0.5622 GB, free: 2.859 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02624/0.956, allocations: 12.06 MB / 0.574 GB, free: 7.062 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01378/0.9698, allocations: 5.286 MB / 0.5792 GB, free: 1.73 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009874/0.9798, allocations: 2.382 MB / 0.5815 GB, free: 15.34 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01197/0.9918, allocations: 4.093 MB / 0.5855 GB, free: 11.23 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003499/0.9953, allocations: 388 kB / 0.5859 GB, free: 10.86 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007597/1.003, allocations: 1.537 MB / 0.5874 GB, free: 9.316 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008505/1.012, allocations: 3.199 MB / 0.5905 GB, free: 6.109 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01119/1.023, allocations: 3.487 MB / 0.5939 GB, free: 2.602 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01843/1.041, allocations: 8.662 MB / 0.6024 GB, free: 9.922 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.497e-05/1.041, allocations: 0 / 0.6024 GB, free: 9.922 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.888e-06/1.041, allocations: 0 / 0.6024 GB, free: 9.922 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005964/1.042, allocations: 3.938 kB / 0.6024 GB, free: 9.918 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.0434/1.086, allocations: 8.179 MB / 0.6103 GB, free: 1.652 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.243e-05/1.086, allocations: 12.88 kB / 0.6104 GB, free: 1.641 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05274/1.138, allocations: 3.677 MB / 0.6139 GB, free: 13.95 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02429/1.163, allocations: 5.18 MB / 0.619 GB, free: 8.684 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006199/1.163, allocations: 373.8 kB / 0.6194 GB, free: 8.316 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00389/1.167, allocations: 0.5076 MB / 0.6199 GB, free: 7.809 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05912/1.227, allocations: 16.26 MB / 0.6357 GB, free: 6.48 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006263/1.227, allocations: 75.36 kB / 0.6358 GB, free: 6.406 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003318/1.231, allocations: 239.8 kB / 0.636 GB, free: 6.172 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009674/1.24, allocations: 2.919 MB / 0.6389 GB, free: 3.246 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05433/1.295, allocations: 13.74 MB / 0.6523 GB, free: 5.488 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.155/1.45, allocations: 64.81 MB / 0.7156 GB, free: 2.812 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4202/1.87, allocations: 7.87 MB / 0.7233 GB, free: 194.6 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01109/1.881, allocations: 4.348 MB / 0.7275 GB, free: 192.8 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05305/1.934, allocations: 19.46 MB / 0.7465 GB, free: 182.9 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.255e-05/1.934, allocations: 64.44 kB / 0.7466 GB, free: 182.9 MB / 0.545 GB Notification: Performance of pre-optimization done (n=290): time 9.147e-06/1.934, allocations: 0 / 0.7466 GB, free: 182.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=372): time 0.2544/2.189, allocations: 49.82 MB / 0.7952 GB, free: 142.4 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001358/2.189, allocations: 277.8 kB / 0.7955 GB, free: 142.1 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01548/2.205, allocations: 6.042 MB / 0.8014 GB, free: 136 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001403/2.206, allocations: 81.7 kB / 0.8015 GB, free: 135.9 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.004701/2.211, allocations: 4.665 MB / 0.806 GB, free: 131.3 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.003308/2.214, allocations: 1.367 MB / 0.8074 GB, free: 129.9 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006782/2.221, allocations: 1.916 MB / 0.8092 GB, free: 128 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 6.819e-05/2.221, allocations: 309.1 kB / 0.8095 GB, free: 127.7 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0108/2.232, allocations: 4.227 MB / 0.8137 GB, free: 123.4 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.015/2.247, allocations: 9.46 MB / 0.8229 GB, free: 111.4 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0243/2.271, allocations: 14.64 MB / 0.8372 GB, free: 94.23 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002626/2.272, allocations: 52 kB / 0.8372 GB, free: 94.18 MB / 0.545 GB Notification: Performance of matching and sorting (n=1256) (initialization): time 0.05725/2.329, allocations: 17.57 MB / 0.8544 GB, free: 76.57 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001821/2.329, allocations: 81 kB / 0.8545 GB, free: 76.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003018/2.329, allocations: 184 kB / 0.8547 GB, free: 76.32 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02148/2.351, allocations: 4.539 MB / 0.8591 GB, free: 71.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01157/2.363, allocations: 2.129 MB / 0.8612 GB, free: 69.64 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04961/2.412, allocations: 23.66 MB / 0.8843 GB, free: 45.71 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01407/2.426, allocations: 0.5341 MB / 0.8848 GB, free: 45.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003623/2.43, allocations: 0.5429 MB / 0.8853 GB, free: 44.63 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.01132/2.441, allocations: 3.117 MB / 0.8884 GB, free: 41.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002943/2.444, allocations: 0.5592 MB / 0.8889 GB, free: 40.94 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03875/2.483, allocations: 10.72 MB / 0.8994 GB, free: 30.15 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001039/2.483, allocations: 47.61 kB / 0.8994 GB, free: 30.11 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001012/2.484, allocations: 16 kB / 0.8994 GB, free: 30.09 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001414/2.484, allocations: 19.92 kB / 0.8995 GB, free: 30.07 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3887/2.872, allocations: 20.51 MB / 0.9195 GB, free: 171.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.893e-05/2.872, allocations: 0 / 0.9195 GB, free: 171.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002776/2.875, allocations: 0.5411 MB / 0.92 GB, free: 171.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01383/2.889, allocations: 4.179 MB / 0.9241 GB, free: 171.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008393/2.89, allocations: 62.25 kB / 0.9242 GB, free: 171.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02896/2.919, allocations: 21.46 MB / 0.9451 GB, free: 163.6 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/2.919, allocations: 8.781 kB / 0.9451 GB, free: 163.6 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02679/2.946, allocations: 15.64 MB / 0.9604 GB, free: 158.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001513/2.947, allocations: 0.5882 MB / 0.961 GB, free: 158.3 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001778/2.949, allocations: 63.53 kB / 0.961 GB, free: 158.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003775/2.953, allocations: 219.6 kB / 0.9613 GB, free: 158.2 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001156/2.954, allocations: 230.7 kB / 0.9615 GB, free: 158.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003814/2.955, allocations: 95.64 kB / 0.9616 GB, free: 158.1 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.006083/2.961, allocations: 3.771 MB / 0.9652 GB, free: 156.9 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.81e-07/2.961, allocations: 3.375 kB / 0.9653 GB, free: 156.9 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008726/2.969, allocations: 1.895 MB / 0.9671 GB, free: 156.7 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.001015/2.97, allocations: 216.8 kB / 0.9673 GB, free: 156.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01494/2.985, allocations: 10.52 MB / 0.9776 GB, free: 146.9 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/2.985, allocations: 0 / 0.9776 GB, free: 146.9 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005634/2.991, allocations: 4.127 MB / 0.9816 GB, free: 142.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005885/2.997, allocations: 0.7415 MB / 0.9823 GB, free: 142.1 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02776/3.025, allocations: 20.2 MB / 1.002 GB, free: 122.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006375/3.031, allocations: 4.827 MB / 1.007 GB, free: 117.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001878/3.033, allocations: 447.4 kB / 1.007 GB, free: 116.8 MB / 0.545 GB Notification: Performance of SimCode: time 1.222e-06/3.033, allocations: 0 / 1.007 GB, free: 116.8 MB / 0.545 GB Notification: Performance of Templates: time 0.3951/3.428, allocations: 152.9 MB / 1.157 GB, free: 154.5 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/LineForceWithTwoMasses/LineForceWithTwoMasses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches