Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.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.Force,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force") translateModel(ModelicaTest.MultiBody.Forces.Force,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001674/0.001674, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001924/0.001924, allocations: 211.8 kB / 19.25 MB, free: 3.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, allocations: 227.4 MB / 247.4 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2153/0.2153, allocations: 46.11 MB / 344.8 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 71.84 kB / 418.2 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1202, allocations: 62.45 MB / 480.7 MB, free: 5.297 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.01612/0.1364, allocations: 15.51 MB / 496.2 MB, free: 5.719 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01111/0.1476, allocations: 4.933 MB / 0.4894 GB, free: 0.7695 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003076/0.1507, allocations: 107.7 kB / 0.4895 GB, free: 0.6641 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009653/0.1604, allocations: 4.992 MB / 0.4944 GB, free: 11.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007829/0.1683, allocations: 2.478 MB / 0.4968 GB, free: 9.168 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003667/0.172, allocations: 1.104 MB / 0.4979 GB, free: 8.062 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01205/0.184, allocations: 6.879 MB / 0.5046 GB, free: 1.168 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2539/0.438, allocations: 5.779 MB / 0.5102 GB, free: 13.08 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006763/0.4449, allocations: 2.387 MB / 0.5126 GB, free: 12.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007191/0.4521, allocations: 3.223 MB / 0.5157 GB, free: 12.61 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003895/0.4561, allocations: 0.5037 MB / 0.5162 GB, free: 12.61 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006548/0.4626, allocations: 1.399 MB / 0.5176 GB, free: 12.61 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006508/0.4692, allocations: 2.967 MB / 0.5205 GB, free: 12.31 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00978/0.479, allocations: 3.348 MB / 0.5237 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01664/0.4957, allocations: 10.06 MB / 0.5336 GB, free: 6.734 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.4957, allocations: 6.344 kB / 0.5336 GB, free: 6.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.4957, allocations: 0 / 0.5336 GB, free: 6.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0006137/0.4964, allocations: 0 / 0.5336 GB, free: 6.73 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: 2161 * Number of variables: 2161 Notification: Performance of Generate backend data structure: time 0.02645/0.5228, allocations: 7.408 MB / 0.5408 GB, free: 1.812 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/0.5229, allocations: 9.75 kB / 0.5408 GB, free: 1.812 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01397/0.5369, allocations: 2.711 MB / 0.5435 GB, free: 428 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01127/0.5482, allocations: 4.179 MB / 0.5475 GB, free: 14.05 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003919/0.5486, allocations: 358 kB / 0.5479 GB, free: 13.79 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002379/0.551, allocations: 484.9 kB / 0.5483 GB, free: 13.37 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03639/0.5874, allocations: 14.68 MB / 0.5627 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004178/0.5879, allocations: 69.16 kB / 0.5627 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002096/0.59, allocations: 223.8 kB / 0.563 GB, free: 13.74 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00569/0.5957, allocations: 2.743 MB / 0.5656 GB, free: 11.04 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03009/0.6258, allocations: 12.51 MB / 0.5778 GB, free: 14.77 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09011/0.716, allocations: 58.25 MB / 0.6347 GB, free: 3.816 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02029/0.7363, allocations: 7.292 MB / 0.6419 GB, free: 12.39 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005547/0.7419, allocations: 3.884 MB / 0.6456 GB, free: 8.496 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01863/0.7606, allocations: 8.985 MB / 0.6544 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.704e-05/0.7607, allocations: 59.47 kB / 0.6545 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=246): time 7.064e-06/0.7607, allocations: 0 / 0.6545 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=288): time 0.1002/0.861, allocations: 32.72 MB / 0.6864 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001833/0.8612, allocations: 237.9 kB / 0.6867 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01516/0.8764, allocations: 6.649 MB / 0.6932 GB, free: 7.543 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.00107/0.8775, allocations: 69.7 kB / 0.6932 GB, free: 7.469 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004869/0.8824, allocations: 4.377 MB / 0.6975 GB, free: 3.098 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002079/0.8845, allocations: 1.101 MB / 0.6986 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005276/0.8898, allocations: 1.788 MB / 0.7003 GB, free: 212 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.89, allocations: 301.1 kB / 0.7006 GB, free: 15.91 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006112/0.8961, allocations: 3.613 MB / 0.7041 GB, free: 12.29 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01072/0.9068, allocations: 8.62 MB / 0.7126 GB, free: 1.289 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2534/1.16, allocations: 13.15 MB / 0.7254 GB, free: 174.4 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000336/1.161, allocations: 49.72 kB / 0.7254 GB, free: 174.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=1138) (initialization): time 0.03313/1.194, allocations: 14.04 MB / 0.7392 GB, free: 169.7 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002516/1.194, allocations: 79.92 kB / 0.7392 GB, free: 169.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004344/1.195, allocations: 173.9 kB / 0.7394 GB, free: 169.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006909/1.201, allocations: 2.261 MB / 0.7416 GB, free: 169.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007383/1.209, allocations: 2.021 MB / 0.7436 GB, free: 169.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01762/1.227, allocations: 14.25 MB / 0.7575 GB, free: 161.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008236/1.235, allocations: 0.503 MB / 0.758 GB, free: 161.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002064/1.237, allocations: 0.5059 MB / 0.7585 GB, free: 161.6 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 796 * Number of states: 0 () * Number of discrete variables: 67 (force2.forceArrow.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.twoHeadedArrow,force1.forceArrow.headAtOrigin,fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (1058): * Single equations (assignments): 1051 * Array equations: 5 * 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,22,100.0%), (2,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007515/1.244, allocations: 2.988 MB / 0.7614 GB, free: 159.6 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001749/1.246, allocations: 0.5527 MB / 0.7619 GB, free: 159.3 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01395/1.26, allocations: 7.228 MB / 0.769 GB, free: 153.6 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.754e-05/1.26, allocations: 34.91 kB / 0.769 GB, free: 153.6 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.312e-05/1.26, allocations: 12 kB / 0.769 GB, free: 153.6 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.783e-05/1.26, allocations: 11.58 kB / 0.769 GB, free: 153.6 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0319/1.292, allocations: 15.15 MB / 0.7838 GB, free: 139.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.922e-05/1.292, allocations: 8 kB / 0.7838 GB, free: 139.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002578/1.295, allocations: 0.4917 MB / 0.7843 GB, free: 139.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005211/1.3, allocations: 2.019 MB / 0.7863 GB, free: 137 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008032/1.301, allocations: 52.78 kB / 0.7863 GB, free: 137 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01591/1.317, allocations: 13.52 MB / 0.7996 GB, free: 123.3 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/1.317, allocations: 13.08 kB / 0.7996 GB, free: 123.3 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01883/1.336, allocations: 11.46 MB / 0.8108 GB, free: 111.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002206/1.338, allocations: 0.6342 MB / 0.8114 GB, free: 111.1 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002257/1.34, allocations: 55.98 kB / 0.8114 GB, free: 111.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004275/1.345, allocations: 201.1 kB / 0.8116 GB, free: 110.9 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00108/1.346, allocations: 181.6 kB / 0.8118 GB, free: 110.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006222/1.346, allocations: 72.5 kB / 0.8119 GB, free: 110.6 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.009206/1.356, allocations: 4.264 MB / 0.816 GB, free: 106.4 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.31e-07/1.356, allocations: 0 / 0.816 GB, free: 106.4 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01133/1.367, allocations: 1.595 MB / 0.8176 GB, free: 104.8 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.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 (232): * Single equations (assignments): 227 * 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 {(4,17,75.0%), (4,17,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001255/1.368, allocations: 193.7 kB / 0.8178 GB, free: 104.6 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01499/1.383, allocations: 10.48 MB / 0.828 GB, free: 94.13 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.912e-05/1.383, allocations: 4 kB / 0.828 GB, free: 94.13 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005598/1.389, allocations: 3.537 MB / 0.8315 GB, free: 90.57 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005965/1.395, allocations: 0.7265 MB / 0.8322 GB, free: 89.86 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0276/1.423, allocations: 15.67 MB / 0.8475 GB, free: 74.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007269/1.43, allocations: 4.512 MB / 0.8519 GB, free: 69.55 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002158/1.432, allocations: 439.4 kB / 0.8523 GB, free: 69.12 MB / 0.545 GB Notification: Performance of SimCode: time 9.62e-07/1.432, allocations: 4 kB / 0.8523 GB, free: 69.12 MB / 0.545 GB Notification: Performance of Templates: time 0.3819/1.814, allocations: 142.9 MB / 0.9918 GB, free: 113.7 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Force/Force.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches