Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.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.LineForceWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001371/0.001371, allocations: 109 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001599/0.001599, allocations: 206.8 kB / 19.4 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.366/1.366, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2061/0.2061, allocations: 46.09 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 75.86 kB / 482 MB, free: 4.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.3535, allocations: 62.43 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.01643/0.37, allocations: 14.97 MB / 0.5463 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01183/0.3819, allocations: 5.014 MB / 0.5512 GB, free: 13.7 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00371/0.3856, allocations: 99.69 kB / 0.5513 GB, free: 13.6 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007402/0.3931, allocations: 4.01 MB / 0.5552 GB, free: 9.578 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006833/0.4, allocations: 2.315 MB / 0.5574 GB, free: 7.254 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002926/0.4029, allocations: 1.166 MB / 0.5586 GB, free: 6.086 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.009516/0.4125, allocations: 6.578 MB / 0.565 GB, free: 15.49 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006508/0.419, allocations: 4.688 MB / 0.5696 GB, free: 10.74 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004058/0.4231, allocations: 2.196 MB / 0.5717 GB, free: 8.535 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005119/0.4283, allocations: 3.022 MB / 0.5747 GB, free: 5.504 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001857/0.4301, allocations: 460 kB / 0.5751 GB, free: 5.055 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005241/0.4354, allocations: 1.533 MB / 0.5766 GB, free: 3.52 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003888/0.4393, allocations: 2.743 MB / 0.5793 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005411/0.4448, allocations: 3.002 MB / 0.5822 GB, free: 13.75 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01223/0.457, allocations: 9.39 MB / 0.5914 GB, free: 4.328 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.924e-06/0.4571, allocations: 0 / 0.5914 GB, free: 4.328 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.4571, allocations: 0 / 0.5914 GB, free: 4.328 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003926/0.4575, allocations: 0 / 0.5914 GB, free: 4.328 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: 1941 * Number of variables: 1941 Notification: Performance of Generate backend data structure: time 0.01898/0.4765, allocations: 6.726 MB / 0.598 GB, free: 13.52 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.4766, allocations: 16.03 kB / 0.598 GB, free: 13.5 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02754/0.5041, allocations: 3.293 MB / 0.6012 GB, free: 10.2 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01054/0.5147, allocations: 4.129 MB / 0.6052 GB, free: 6.012 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003089/0.515, allocations: 308.4 kB / 0.6055 GB, free: 5.707 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001789/0.5169, allocations: 431.6 kB / 0.6059 GB, free: 5.285 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0293/0.5462, allocations: 13.83 MB / 0.6194 GB, free: 6.586 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002902/0.5465, allocations: 63.44 kB / 0.6195 GB, free: 6.523 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001696/0.5482, allocations: 195.8 kB / 0.6197 GB, free: 6.332 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004385/0.5526, allocations: 2.531 MB / 0.6222 GB, free: 3.797 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02481/0.5775, allocations: 11.81 MB / 0.6337 GB, free: 7.98 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07016/0.6477, allocations: 53.47 MB / 0.6859 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01683/0.6646, allocations: 5.928 MB / 0.6917 GB, free: 10.91 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004996/0.6696, allocations: 3.598 MB / 0.6952 GB, free: 7.301 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02517/0.6948, allocations: 15.51 MB / 0.7104 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.658e-05/0.6949, allocations: 56.5 kB / 0.7104 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=230): time 5.069e-06/0.6949, allocations: 0 / 0.7104 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of matching and sorting (n=267): time 0.3838/1.079, allocations: 28.65 MB / 0.7384 GB, free: 159.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.631e-05/1.079, allocations: 264.2 kB / 0.7386 GB, free: 159.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005815/1.085, allocations: 5.052 MB / 0.7436 GB, free: 155.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005775/1.085, allocations: 61.7 kB / 0.7436 GB, free: 155.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001782/1.087, allocations: 3.884 MB / 0.7474 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001099/1.088, allocations: 0.9984 MB / 0.7484 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001787/1.09, allocations: 1.55 MB / 0.7499 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.91e-05/1.09, allocations: 309 kB / 0.7502 GB, free: 149 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0034/1.093, allocations: 3.013 MB / 0.7532 GB, free: 146 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005322/1.099, allocations: 7.35 MB / 0.7603 GB, free: 136.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009968/1.109, allocations: 11.11 MB / 0.7712 GB, free: 123.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001255/1.109, allocations: 48 kB / 0.7712 GB, free: 123.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.01863/1.128, allocations: 11.2 MB / 0.7822 GB, free: 112.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001765/1.128, allocations: 68 kB / 0.7822 GB, free: 112 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002193/1.128, allocations: 152 kB / 0.7824 GB, free: 111.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002955/1.131, allocations: 1.229 MB / 0.7836 GB, free: 110.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006144/1.137, allocations: 1.833 MB / 0.7854 GB, free: 108.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008367/1.146, allocations: 8.358 MB / 0.7935 GB, free: 100.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006291/1.152, allocations: 431.4 kB / 0.7939 GB, free: 99.77 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001551/1.154, allocations: 455.6 kB / 0.7944 GB, free: 99.33 MB / 0.5606 GB 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.005413/1.159, allocations: 2.623 MB / 0.7969 GB, free: 96.69 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00146/1.16, allocations: 466 kB / 0.7974 GB, free: 96.23 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009026/1.169, allocations: 5.234 MB / 0.8025 GB, free: 90.98 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.757e-05/1.17, allocations: 31.42 kB / 0.8025 GB, free: 90.95 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.708e-05/1.17, allocations: 8 kB / 0.8025 GB, free: 90.94 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-05/1.17, allocations: 11.95 kB / 0.8025 GB, free: 90.93 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02187/1.192, allocations: 11.66 MB / 0.8139 GB, free: 79.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.176e-05/1.192, allocations: 3.938 kB / 0.8139 GB, free: 79.27 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002556/1.194, allocations: 0.4915 MB / 0.8144 GB, free: 78.77 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002467/1.197, allocations: 0.9964 MB / 0.8154 GB, free: 77.77 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004448/1.197, allocations: 47.98 kB / 0.8154 GB, free: 77.72 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00721/1.204, allocations: 7.699 MB / 0.8229 GB, free: 69.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/1.204, allocations: 11.88 kB / 0.823 GB, free: 69.74 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01212/1.216, allocations: 8.743 MB / 0.8315 GB, free: 60.92 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001319/1.218, allocations: 499.1 kB / 0.832 GB, free: 60.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001263/1.219, allocations: 39.98 kB / 0.832 GB, free: 60.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003252/1.222, allocations: 171.8 kB / 0.8322 GB, free: 60.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006801/1.223, allocations: 153.7 kB / 0.8323 GB, free: 60.05 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003309/1.223, allocations: 79.58 kB / 0.8324 GB, free: 59.98 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004971/1.228, allocations: 3.154 MB / 0.8355 GB, free: 56.84 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.91e-07/1.228, allocations: 0 / 0.8355 GB, free: 56.84 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006495/1.235, allocations: 1.354 MB / 0.8368 GB, free: 55.48 MB / 0.5606 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.0007312/1.236, allocations: 183.7 kB / 0.837 GB, free: 55.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01004/1.246, allocations: 7.338 MB / 0.8441 GB, free: 47.96 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/1.246, allocations: 5.875 kB / 0.8441 GB, free: 47.96 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003258/1.249, allocations: 2.566 MB / 0.8466 GB, free: 45.38 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004595/1.254, allocations: 0.5926 MB / 0.8472 GB, free: 44.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02146/1.275, allocations: 13.26 MB / 0.8602 GB, free: 31.51 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004879/1.28, allocations: 4.081 MB / 0.8642 GB, free: 27.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001807/1.282, allocations: 379.4 kB / 0.8645 GB, free: 27.03 MB / 0.5606 GB Notification: Performance of SimCode: time 9.21e-07/1.282, allocations: 0 / 0.8645 GB, free: 27.03 MB / 0.5606 GB Notification: Performance of Templates: time 0.4567/1.739, allocations: 125.1 MB / 0.9867 GB, free: 190.8 MB / 0.6231 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/LineForceWithMass/LineForceWithMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches