Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.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.Rotational.TestMove,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ActuatedRevolute1.frame_b.r_0.1.|ActuatedRevolute1.frame_b.r_0.2.|ActuatedRevolute1.frame_b.r_0.3.|ActuatedRevolute1.frame_b.f.1.|ActuatedRevolute1.frame_b.f.2.|ActuatedRevolute1.frame_b.f.3.|ActuatedRevolute1.frame_b.t.1.|ActuatedRevolute1.frame_b.t.2.|ActuatedRevolute1.frame_b.t.3.|Multiplex3_1.y.1.|Multiplex3_1.y.2.|Multiplex3_1.y.3.|Constant1.y|Constant2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.TestMove") translateModel(ModelicaTest.Rotational.TestMove,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ActuatedRevolute1.frame_b.r_0.1.|ActuatedRevolute1.frame_b.r_0.2.|ActuatedRevolute1.frame_b.r_0.3.|ActuatedRevolute1.frame_b.f.1.|ActuatedRevolute1.frame_b.f.2.|ActuatedRevolute1.frame_b.f.3.|ActuatedRevolute1.frame_b.t.1.|ActuatedRevolute1.frame_b.t.2.|ActuatedRevolute1.frame_b.t.3.|Multiplex3_1.y.1.|Multiplex3_1.y.2.|Multiplex3_1.y.3.|Constant1.y|Constant2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.TestMove") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001129/0.001129, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00114/0.001141, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.345/1.345, allocations: 227.4 MB / 246.9 MB, free: 8.961 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2116/0.2116, allocations: 46.1 MB / 344.3 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 75.19 kB / 417.5 MB, free: 20.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1051, allocations: 62.45 MB / 479.9 MB, free: 5.699 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.01472/0.1199, allocations: 14.38 MB / 494.3 MB, free: 7.258 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008804/0.1287, allocations: 4.537 MB / 498.8 MB, free: 2.703 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002061/0.1308, allocations: 59.81 kB / 498.9 MB, free: 2.645 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001862/0.1327, allocations: 0.7594 MB / 499.7 MB, free: 1.883 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002934/0.1357, allocations: 1.203 MB / 0.4891 GB, free: 0.6758 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001197/0.1369, allocations: 495.2 kB / 0.4896 GB, free: 196 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003909/0.1409, allocations: 3.487 MB / 0.493 GB, free: 12.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001936/0.1428, allocations: 1.205 MB / 0.4942 GB, free: 11.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001242/0.1441, allocations: 0.6729 MB / 0.4948 GB, free: 10.8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001802/0.1459, allocations: 1.215 MB / 0.496 GB, free: 9.586 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000482/0.1464, allocations: 96 kB / 0.4961 GB, free: 9.492 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00186/0.1483, allocations: 0.9515 MB / 0.497 GB, free: 8.539 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001152/0.1494, allocations: 0.9854 MB / 0.498 GB, free: 7.551 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001588/0.151, allocations: 1.187 MB / 0.4992 GB, free: 6.355 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003217/0.1543, allocations: 3.045 MB / 0.5021 GB, free: 3.305 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1543, allocations: 4 kB / 0.5021 GB, free: 3.301 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1543, allocations: 0 / 0.5021 GB, free: 3.301 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001038/0.1544, allocations: 0 / 0.5021 GB, free: 3.301 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: 954 * Number of variables: 954 Notification: Performance of Generate backend data structure: time 0.00568/0.1601, allocations: 2.926 MB / 0.505 GB, free: 324 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.1601, allocations: 8.875 kB / 0.505 GB, free: 316 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2163/0.3764, allocations: 1.645 MB / 0.5066 GB, free: 41.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002927/0.3794, allocations: 1.317 MB / 0.5079 GB, free: 40.89 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001134/0.3795, allocations: 127.9 kB / 0.508 GB, free: 40.89 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004301/0.38, allocations: 158.7 kB / 0.5082 GB, free: 40.89 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009861/0.3898, allocations: 6.46 MB / 0.5145 GB, free: 37.87 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.937e-05/0.39, allocations: 34.03 kB / 0.5145 GB, free: 37.85 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002776/0.3902, allocations: 86.09 kB / 0.5146 GB, free: 37.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002723/0.393, allocations: 1.435 MB / 0.516 GB, free: 37.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01088/0.4039, allocations: 5.738 MB / 0.5216 GB, free: 35.73 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02427/0.4282, allocations: 26.8 MB / 0.5478 GB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003573/0.4318, allocations: 2.133 MB / 0.5499 GB, free: 8.426 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001045/0.4329, allocations: 1.035 MB / 0.5509 GB, free: 7.379 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001625/0.4331, allocations: 174.5 kB / 0.551 GB, free: 7.172 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.4331, allocations: 46.83 kB / 0.5511 GB, free: 7.117 MB / 382.1 MB Notification: Performance of pre-optimization done (n=100): time 5.009e-06/0.4331, allocations: 4 kB / 0.5511 GB, free: 7.113 MB / 382.1 MB Notification: Performance of matching and sorting (n=112): time 0.01469/0.4478, allocations: 6.361 MB / 0.5573 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.069e-05/0.4479, allocations: 148.9 kB / 0.5574 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005055/0.453, allocations: 2.873 MB / 0.5602 GB, free: 13.65 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002282/0.4532, allocations: 41.7 kB / 0.5603 GB, free: 13.6 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001649/0.4549, allocations: 2.102 MB / 0.5623 GB, free: 11.47 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006319/0.4555, allocations: 458.3 kB / 0.5628 GB, free: 11.02 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001582/0.4571, allocations: 0.8928 MB / 0.5636 GB, free: 10.11 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.4573, allocations: 309.1 kB / 0.5639 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002351/0.4596, allocations: 1.426 MB / 0.5653 GB, free: 8.375 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004617/0.4643, allocations: 4.303 MB / 0.5695 GB, free: 2.621 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007771/0.4721, allocations: 6.208 MB / 0.5756 GB, free: 10.98 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001009/0.4722, allocations: 28 kB / 0.5756 GB, free: 10.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.01103/0.4833, allocations: 5.494 MB / 0.581 GB, free: 5.453 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000126/0.4834, allocations: 48.97 kB / 0.581 GB, free: 5.406 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001915/0.4836, allocations: 104 kB / 0.5811 GB, free: 5.305 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001702/0.4838, allocations: 136 kB / 0.5813 GB, free: 5.172 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004472/0.4883, allocations: 1.228 MB / 0.5825 GB, free: 3.941 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001976/0.4885, allocations: 203.2 kB / 0.5827 GB, free: 3.742 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003238/0.4918, allocations: 243.5 kB / 0.5829 GB, free: 3.504 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000796/0.4926, allocations: 287.9 kB / 0.5832 GB, free: 3.223 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * Number of states: 0 () * Number of discrete variables: 18 (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],ActuatedRevolute1.cylinderColor[3],ActuatedRevolute1.cylinderColor[2],ActuatedRevolute1.cylinderColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (557): * Single equations (assignments): 554 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00271/0.4953, allocations: 1.398 MB / 0.5845 GB, free: 1.816 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005758/0.4959, allocations: 236.9 kB / 0.5848 GB, free: 1.582 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002326/0.4983, allocations: 1.234 MB / 0.586 GB, free: 352 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-05/0.4983, allocations: 16 kB / 0.586 GB, free: 336 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/0.4983, allocations: 0 / 0.586 GB, free: 336 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.225e-05/0.4983, allocations: 3.984 kB / 0.586 GB, free: 332 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009115/0.5075, allocations: 4.561 MB / 0.5904 GB, free: 11.65 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.74e-05/0.5075, allocations: 8.375 kB / 0.5904 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001734/0.5093, allocations: 363.3 kB / 0.5908 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.447e-05/0.5093, allocations: 12 kB / 0.5908 GB, free: 11.28 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001125/0.5094, allocations: 27.92 kB / 0.5908 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.311e-05/0.5094, allocations: 8 kB / 0.5908 GB, free: 11.24 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.5095, allocations: 11.94 kB / 0.5908 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002831/0.5123, allocations: 2.16 MB / 0.593 GB, free: 9.004 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006873/0.513, allocations: 309.7 kB / 0.5932 GB, free: 8.684 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000498/0.5135, allocations: 20 kB / 0.5933 GB, free: 8.664 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001155/0.5147, allocations: 55.92 kB / 0.5933 GB, free: 8.609 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001873/0.5149, allocations: 71.73 kB / 0.5934 GB, free: 8.539 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001056/0.515, allocations: 43.98 kB / 0.5934 GB, free: 8.496 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003528/0.5185, allocations: 1.811 MB / 0.5952 GB, free: 6.68 MB / 430.1 MB Notification: Performance of sort global known variables: time 6.71e-07/0.5185, allocations: 0 / 0.5952 GB, free: 6.68 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003918/0.5225, allocations: 0.6119 MB / 0.5958 GB, free: 6.07 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 0 () * 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 (90): * Single equations (assignments): 87 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005598/0.5231, allocations: 160.9 kB / 0.596 GB, free: 5.91 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005673/0.5287, allocations: 3.267 MB / 0.5991 GB, free: 2.664 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.202e-05/0.5288, allocations: 4 kB / 0.5991 GB, free: 2.66 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001191/0.53, allocations: 0.7971 MB / 0.5999 GB, free: 1.863 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002543/0.5325, allocations: 259.2 kB / 0.6002 GB, free: 1.613 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01192/0.5445, allocations: 7.039 MB / 0.607 GB, free: 10.47 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003089/0.5476, allocations: 2.206 MB / 0.6092 GB, free: 8.23 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001015/0.5487, allocations: 211.3 kB / 0.6094 GB, free: 8.023 MB / 446.1 MB Notification: Performance of SimCode: time 1.202e-06/0.5487, allocations: 4 kB / 0.6094 GB, free: 8.02 MB / 446.1 MB Notification: Performance of Templates: time 0.05932/0.608, allocations: 37.11 MB / 0.6456 GB, free: 2.961 MB / 478.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.TestMove -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.TestMove_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/TestMove/TestMove.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches