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.001117/0.001117, allocations: 114.9 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001176/0.001176, allocations: 210.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.316/1.316, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2063/0.2063, allocations: 46.1 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 79.88 kB / 482 MB, free: 4.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3315, allocations: 62.43 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses): time 0.01872/0.3503, allocations: 17.27 MB / 0.5485 GB, free: 32 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01179/0.3621, allocations: 5.5 MB / 0.5539 GB, free: 10.92 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002861/0.365, allocations: 115.6 kB / 0.554 GB, free: 10.81 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007897/0.3729, allocations: 4.345 MB / 0.5583 GB, free: 6.449 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006764/0.3797, allocations: 2.714 MB / 0.5609 GB, free: 3.727 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003052/0.3828, allocations: 1.455 MB / 0.5623 GB, free: 2.27 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01125/0.3941, allocations: 8.648 MB / 0.5708 GB, free: 9.602 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007101/0.4012, allocations: 5.365 MB / 0.576 GB, free: 4.164 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004422/0.4056, allocations: 2.656 MB / 0.5786 GB, free: 1.5 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006186/0.4118, allocations: 3.832 MB / 0.5824 GB, free: 13.65 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001745/0.4136, allocations: 0.5352 MB / 0.5829 GB, free: 13.12 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003827/0.4174, allocations: 1.615 MB / 0.5845 GB, free: 11.5 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004598/0.4221, allocations: 3.359 MB / 0.5877 GB, free: 8.137 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005832/0.4279, allocations: 3.635 MB / 0.5913 GB, free: 4.48 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.013/0.4409, allocations: 11.15 MB / 0.6022 GB, free: 9.293 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.441, allocations: 7.984 kB / 0.6022 GB, free: 9.285 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.441, allocations: 0 / 0.6022 GB, free: 9.285 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003177/0.4413, allocations: 0 / 0.6022 GB, free: 9.285 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.01903/0.4603, allocations: 8.183 MB / 0.6102 GB, free: 1.016 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.4604, allocations: 8.031 kB / 0.6102 GB, free: 1.008 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02756/0.488, allocations: 3.677 MB / 0.6138 GB, free: 13.32 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01223/0.5002, allocations: 5.293 MB / 0.6189 GB, free: 7.941 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003308/0.5006, allocations: 365.8 kB / 0.6193 GB, free: 7.582 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001798/0.5024, allocations: 0.5191 MB / 0.6198 GB, free: 7.062 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03022/0.5326, allocations: 16.25 MB / 0.6357 GB, free: 5.742 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002766/0.5329, allocations: 75.31 kB / 0.6357 GB, free: 5.668 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001303/0.5342, allocations: 231.8 kB / 0.636 GB, free: 5.441 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00476/0.539, allocations: 2.927 MB / 0.6388 GB, free: 2.508 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02921/0.5682, allocations: 13.72 MB / 0.6522 GB, free: 4.762 MB / 0.4981 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.07939/0.6477, allocations: 64.54 MB / 0.7152 GB, free: 2.344 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2646/0.9122, allocations: 7.872 MB / 0.7229 GB, free: 161.5 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005371/0.9177, allocations: 4.349 MB / 0.7272 GB, free: 159.6 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02429/0.942, allocations: 19.46 MB / 0.7462 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.154e-05/0.9421, allocations: 73.44 kB / 0.7462 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=290): time 6.282e-06/0.9421, allocations: 0 / 0.7462 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=372): time 0.1555/1.098, allocations: 49.83 MB / 0.7949 GB, free: 100.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.981e-05/1.098, allocations: 277.8 kB / 0.7952 GB, free: 100.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007601/1.105, allocations: 6.038 MB / 0.8011 GB, free: 94.43 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007602/1.106, allocations: 77.7 kB / 0.8011 GB, free: 94.35 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002429/1.108, allocations: 4.675 MB / 0.8057 GB, free: 89.68 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001454/1.11, allocations: 1.365 MB / 0.807 GB, free: 88.32 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002048/1.112, allocations: 1.908 MB / 0.8089 GB, free: 86.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.909e-05/1.112, allocations: 305.1 kB / 0.8092 GB, free: 86.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004703/1.117, allocations: 4.231 MB / 0.8133 GB, free: 81.86 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006784/1.124, allocations: 9.465 MB / 0.8226 GB, free: 69.86 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01256/1.136, allocations: 14.65 MB / 0.8369 GB, free: 52.65 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.615e-05/1.136, allocations: 52 kB / 0.8369 GB, free: 52.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1256) (initialization): time 0.03097/1.167, allocations: 17.56 MB / 0.8541 GB, free: 34.99 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002178/1.167, allocations: 84 kB / 0.8542 GB, free: 34.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002959/1.168, allocations: 180.9 kB / 0.8543 GB, free: 34.73 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01358/1.181, allocations: 4.543 MB / 0.8588 GB, free: 30.18 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007181/1.189, allocations: 2.129 MB / 0.8609 GB, free: 28.05 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03227/1.221, allocations: 25.38 MB / 0.8856 GB, free: 2.402 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007779/1.229, allocations: 0.5305 MB / 0.8862 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001643/1.23, allocations: 0.539 MB / 0.8867 GB, free: 1.332 MB / 0.5606 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.006076/1.236, allocations: 3.122 MB / 0.8897 GB, free: 14.2 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001318/1.238, allocations: 0.5669 MB / 0.8903 GB, free: 13.62 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02334/1.261, allocations: 10.72 MB / 0.9008 GB, free: 2.84 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.294e-05/1.261, allocations: 15.94 kB / 0.9008 GB, free: 2.824 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.071e-05/1.261, allocations: 4 kB / 0.9008 GB, free: 2.82 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001627/1.263, allocations: 0.5835 MB / 0.9013 GB, free: 2.211 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001775/1.265, allocations: 60 kB / 0.9014 GB, free: 2.152 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004064/1.269, allocations: 219.7 kB / 0.9016 GB, free: 1.938 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001665/1.27, allocations: 306 kB / 0.9019 GB, free: 1.637 MB / 0.5763 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02415/1.295, allocations: 10.41 MB / 0.9121 GB, free: 7.258 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01642/1.311, allocations: 11.49 MB / 0.9233 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004297/1.315, allocations: 3.256 MB / 0.9265 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.00664/1.322, allocations: 3.765 MB / 0.9301 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of Backend: time 6.61e-07/1.322, allocations: 4 kB / 0.9302 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01703/1.339, allocations: 7.916 MB / 0.9379 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of SimCode: time 0.3118/1.651, allocations: 15.02 MB / 0.9525 GB, free: 207.5 MB / 0.6231 GB Notification: Performance of Templates: time 0.1382/1.789, allocations: 94.94 MB / 1.045 GB, free: 133.7 MB / 0.6231 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