Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.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.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization") translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001415/0.001415, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001371/0.001371, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2101/0.2101, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 75.86 kB / 481.3 MB, free: 4.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3402/0.3416, allocations: 62.44 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01064/0.3523, allocations: 10.24 MB / 0.541 GB, free: 5.559 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0082/0.3605, allocations: 3.799 MB / 0.5447 GB, free: 2.598 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002263/0.3628, allocations: 53.78 kB / 0.5448 GB, free: 2.59 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003697/0.3666, allocations: 1.934 MB / 0.5467 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004274/0.3709, allocations: 1.673 MB / 0.5483 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00145/0.3723, allocations: 0.6121 MB / 0.5489 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004829/0.3772, allocations: 3.369 MB / 0.5522 GB, free: 11.98 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003075/0.3803, allocations: 2.575 MB / 0.5547 GB, free: 9.355 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002061/0.3824, allocations: 1.23 MB / 0.5559 GB, free: 8.121 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002192/0.3846, allocations: 1.67 MB / 0.5575 GB, free: 6.445 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005792/0.3852, allocations: 252 kB / 0.5578 GB, free: 6.199 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002144/0.3873, allocations: 1.026 MB / 0.5588 GB, free: 5.172 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001488/0.3888, allocations: 1.562 MB / 0.5603 GB, free: 3.605 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001699/0.3905, allocations: 1.809 MB / 0.5621 GB, free: 1.785 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006227/0.3968, allocations: 5.783 MB / 0.5677 GB, free: 11.98 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.3968, allocations: 0 / 0.5677 GB, free: 11.98 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3968, allocations: 0 / 0.5677 GB, free: 11.98 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000108/0.3969, allocations: 0 / 0.5677 GB, free: 11.98 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.006587/0.4035, allocations: 3.999 MB / 0.5716 GB, free: 7.918 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.4035, allocations: 12.03 kB / 0.5716 GB, free: 7.906 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006007/0.4096, allocations: 1.77 MB / 0.5733 GB, free: 6.129 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003415/0.413, allocations: 1.92 MB / 0.5752 GB, free: 4.148 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001349/0.4131, allocations: 193.2 kB / 0.5754 GB, free: 3.957 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005096/0.4137, allocations: 255.7 kB / 0.5756 GB, free: 3.707 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01349/0.4272, allocations: 8.459 MB / 0.5839 GB, free: 10.58 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001003/0.4273, allocations: 39.59 kB / 0.5839 GB, free: 10.54 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003349/0.4276, allocations: 123.9 kB / 0.5841 GB, free: 10.42 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002767/0.4304, allocations: 1.699 MB / 0.5857 GB, free: 8.715 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01341/0.4438, allocations: 7.106 MB / 0.5927 GB, free: 1.598 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04348/0.4874, allocations: 34.01 MB / 0.6259 GB, free: 14.59 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007808/0.4952, allocations: 3.296 MB / 0.6291 GB, free: 11.13 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002142/0.4974, allocations: 1.469 MB / 0.6305 GB, free: 9.652 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007479/0.5049, allocations: 4.444 MB / 0.6349 GB, free: 4.984 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.376e-05/0.505, allocations: 55 kB / 0.6349 GB, free: 4.922 MB / 494.1 MB Notification: Performance of pre-optimization done (n=121): time 4.358e-06/0.505, allocations: 4 kB / 0.6349 GB, free: 4.918 MB / 494.1 MB Notification: Performance of matching and sorting (n=129): time 0.03/0.535, allocations: 11.55 MB / 0.6462 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.532e-05/0.5351, allocations: 170.9 kB / 0.6464 GB, free: 9.016 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004781/0.5399, allocations: 3.713 MB / 0.65 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002275/0.5401, allocations: 41.7 kB / 0.65 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001771/0.5419, allocations: 2.748 MB / 0.6527 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005509/0.5425, allocations: 0.5209 MB / 0.6532 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001333/0.5438, allocations: 1.079 MB / 0.6543 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.796e-05/0.5439, allocations: 305.1 kB / 0.6546 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002315/0.5462, allocations: 1.713 MB / 0.6562 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004393/0.5506, allocations: 5.139 MB / 0.6613 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00762/0.5583, allocations: 7.426 MB / 0.6685 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.389e-05/0.5584, allocations: 36 kB / 0.6686 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01032/0.5687, allocations: 6.729 MB / 0.6751 GB, free: 8.059 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.839e-05/0.5688, allocations: 59.94 kB / 0.6752 GB, free: 8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001072/0.5689, allocations: 120 kB / 0.6753 GB, free: 7.883 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005802/0.5695, allocations: 321.2 kB / 0.6756 GB, free: 7.566 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003419/0.5729, allocations: 1.248 MB / 0.6768 GB, free: 6.316 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002536/0.5755, allocations: 2.494 MB / 0.6793 GB, free: 3.684 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003185/0.5787, allocations: 295.5 kB / 0.6795 GB, free: 3.395 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004326/0.5791, allocations: 332 kB / 0.6799 GB, free: 3.07 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.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 (668): * Single equations (assignments): 664 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002445/0.5816, allocations: 1.787 MB / 0.6816 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005026/0.5821, allocations: 316 kB / 0.6819 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004524/0.5866, allocations: 2.37 MB / 0.6842 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.779e-05/0.5867, allocations: 16 kB / 0.6842 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/0.5867, allocations: 4 kB / 0.6842 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/0.5867, allocations: 3.984 kB / 0.6842 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01138/0.5981, allocations: 5.91 MB / 0.69 GB, free: 8.57 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.658e-05/0.5981, allocations: 0 / 0.69 GB, free: 8.57 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008665/0.599, allocations: 183.7 kB / 0.6902 GB, free: 8.391 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002168/0.6012, allocations: 0.7146 MB / 0.6909 GB, free: 7.672 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001358/0.6014, allocations: 24 kB / 0.6909 GB, free: 7.648 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005868/0.6072, allocations: 4.809 MB / 0.6956 GB, free: 2.691 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.6073, allocations: 7.938 kB / 0.6956 GB, free: 2.684 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006612/0.6139, allocations: 4.333 MB / 0.6998 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007166/0.6146, allocations: 364.9 kB / 0.7002 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003014/0.6149, allocations: 20.47 kB / 0.7002 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001009/0.6159, allocations: 83.91 kB / 0.7003 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002071/0.6162, allocations: 72.48 kB / 0.7004 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.365e-05/0.6163, allocations: 35.94 kB / 0.7004 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003154/0.6194, allocations: 2.319 MB / 0.7027 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6194, allocations: 7.938 kB / 0.7027 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003648/0.6231, allocations: 0.7969 MB / 0.7034 GB, free: 10.62 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.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 (96): * Single equations (assignments): 92 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000368/0.6235, allocations: 151 kB / 0.7036 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006182/0.6297, allocations: 4.057 MB / 0.7075 GB, free: 6.418 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.6297, allocations: 0 / 0.7075 GB, free: 6.418 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001562/0.6313, allocations: 1.112 MB / 0.7086 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002168/0.6334, allocations: 398 kB / 0.709 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01173/0.6452, allocations: 7.256 MB / 0.7161 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002925/0.6482, allocations: 2.785 MB / 0.7188 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003691/0.6519, allocations: 1.66 MB / 0.7204 GB, free: 9.141 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007552/0.6526, allocations: 211.4 kB / 0.7206 GB, free: 8.934 MB / 0.5762 GB Notification: Performance of SimCode: time 9.81e-07/0.6527, allocations: 4 kB / 0.7206 GB, free: 8.93 MB / 0.5762 GB Notification: Performance of Templates: time 0.3237/0.9763, allocations: 27.82 MB / 0.7478 GB, free: 172.2 MB / 0.5762 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches