Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.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.Universal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal") translateModel(ModelicaTest.MultiBody.Joints.Universal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001455/0.001455, allocations: 113 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.001658/0.001658, allocations: 208.9 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.374/1.374, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2138/0.2138, allocations: 46.09 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 75.88 kB / 482 MB, free: 4.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3155/0.317, allocations: 62.44 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01409/0.3311, allocations: 13.46 MB / 0.5448 GB, free: 3.043 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009458/0.3406, allocations: 4.205 MB / 0.5489 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003275/0.3439, allocations: 70 kB / 0.549 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004546/0.3485, allocations: 1.961 MB / 0.5509 GB, free: 13.97 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005505/0.3541, allocations: 1.89 MB / 0.5527 GB, free: 12.07 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001817/0.3559, allocations: 0.5537 MB / 0.5533 GB, free: 11.52 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006442/0.3624, allocations: 4.041 MB / 0.5572 GB, free: 7.469 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00418/0.3666, allocations: 2.866 MB / 0.56 GB, free: 4.555 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002848/0.3695, allocations: 1.452 MB / 0.5614 GB, free: 3.098 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003767/0.3733, allocations: 2.009 MB / 0.5634 GB, free: 1.082 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001124/0.3744, allocations: 308 kB / 0.5637 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002869/0.3773, allocations: 1.003 MB / 0.5647 GB, free: 15.78 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002411/0.3797, allocations: 1.847 MB / 0.5665 GB, free: 13.93 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003321/0.3831, allocations: 2.244 MB / 0.5687 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008457/0.3915, allocations: 7.276 MB / 0.5758 GB, free: 4.367 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.3916, allocations: 0 / 0.5758 GB, free: 4.367 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.3916, allocations: 4 kB / 0.5758 GB, free: 4.363 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002368/0.3918, allocations: 0 / 0.5758 GB, free: 4.363 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: 1760 * Number of variables: 1760 Notification: Performance of Generate backend data structure: time 0.01126/0.4031, allocations: 4.885 MB / 0.5805 GB, free: 15.41 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.4032, allocations: 8.031 kB / 0.5806 GB, free: 15.4 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01137/0.4145, allocations: 3.134 MB / 0.5836 GB, free: 12.26 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004893/0.4195, allocations: 2.184 MB / 0.5857 GB, free: 10.02 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002512/0.4198, allocations: 234.2 kB / 0.586 GB, free: 9.793 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001221/0.421, allocations: 315.9 kB / 0.5863 GB, free: 9.484 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02245/0.4435, allocations: 12.08 MB / 0.5981 GB, free: 12.86 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001757/0.4437, allocations: 35.69 kB / 0.5981 GB, free: 12.83 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00111/0.4448, allocations: 151.8 kB / 0.5982 GB, free: 12.68 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005186/0.45, allocations: 2.832 MB / 0.601 GB, free: 9.84 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02252/0.4726, allocations: 11.36 MB / 0.6121 GB, free: 14.46 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06176/0.5344, allocations: 41.02 MB / 0.6522 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01223/0.5466, allocations: 6.074 MB / 0.6581 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003962/0.5506, allocations: 3.008 MB / 0.661 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001748/0.5524, allocations: 1.884 MB / 0.6629 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.498e-05/0.5525, allocations: 60.56 kB / 0.6629 GB, free: 8.82 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=262): time 5.84e-06/0.5525, allocations: 0 / 0.6629 GB, free: 8.82 MB / 0.5137 GB Notification: Performance of matching and sorting (n=283): time 0.05283/0.6053, allocations: 20.14 MB / 0.6826 GB, free: 4.504 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.658e-05/0.6054, allocations: 77.41 kB / 0.6827 GB, free: 4.418 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005076/0.6105, allocations: 3.023 MB / 0.6856 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004701/0.611, allocations: 61.7 kB / 0.6857 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002296/0.6133, allocations: 2.989 MB / 0.6886 GB, free: 14.28 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001401/0.6148, allocations: 1.021 MB / 0.6896 GB, free: 13.24 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002464/0.6172, allocations: 1.195 MB / 0.6908 GB, free: 12.04 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.6173, allocations: 301.1 kB / 0.6911 GB, free: 11.74 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00436/0.6217, allocations: 2.85 MB / 0.6938 GB, free: 8.883 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006757/0.6285, allocations: 6.034 MB / 0.6997 GB, free: 1.305 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01263/0.6412, allocations: 9.669 MB / 0.7092 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001185/0.6413, allocations: 43.92 kB / 0.7092 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of matching and sorting (n=792) (initialization): time 0.01902/0.6604, allocations: 10.04 MB / 0.719 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001168/0.6605, allocations: 58.12 kB / 0.7191 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001715/0.6607, allocations: 108 kB / 0.7192 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003787/0.6645, allocations: 1.369 MB / 0.7205 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005177/0.6697, allocations: 1.372 MB / 0.7219 GB, free: 9.082 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01052/0.6802, allocations: 7.804 MB / 0.7295 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004403/0.6847, allocations: 367.7 kB / 0.7298 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001157/0.6859, allocations: 344 kB / 0.7302 GB, free: 448 kB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 501 * Number of states: 0 () * Number of discrete variables: 32 (axis1.headAtOrigin,axis2.headAtOrigin,axis1.color[3],axis1.color[2],axis1.color[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],axis2.color[3],axis2.color[2],axis2.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (722): * Single equations (assignments): 715 * Array equations: 6 * 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 {(3,20,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.2554/0.9413, allocations: 2.294 MB / 0.7324 GB, free: 175.6 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006094/0.9419, allocations: 300.2 kB / 0.7327 GB, free: 175.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01031/0.9522, allocations: 6.624 MB / 0.7392 GB, free: 173.7 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.994e-05/0.9523, allocations: 51.72 kB / 0.7392 GB, free: 173.7 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.196e-05/0.9524, allocations: 8.094 kB / 0.7392 GB, free: 173.7 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.618e-05/0.9524, allocations: 12.56 kB / 0.7392 GB, free: 173.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01912/0.9715, allocations: 13.88 MB / 0.7528 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.776e-05/0.9716, allocations: 6 kB / 0.7528 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002164/0.9738, allocations: 458.5 kB / 0.7532 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003028/0.9768, allocations: 1.21 MB / 0.7544 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003704/0.9772, allocations: 54.97 kB / 0.7545 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007008/0.9842, allocations: 7.016 MB / 0.7613 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.622e-06/0.9843, allocations: 9.062 kB / 0.7613 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01154/0.9958, allocations: 9.866 MB / 0.7709 GB, free: 152.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006014/0.9964, allocations: 354.7 kB / 0.7713 GB, free: 152.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004448/0.9969, allocations: 44 kB / 0.7713 GB, free: 152.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00154/0.9984, allocations: 191.7 kB / 0.7715 GB, free: 152.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004077/0.9988, allocations: 169.5 kB / 0.7717 GB, free: 152.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001834/0.999, allocations: 79.81 kB / 0.7717 GB, free: 152.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0021/1.001, allocations: 1.87 MB / 0.7736 GB, free: 150.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.8e-07/1.001, allocations: 0 / 0.7736 GB, free: 150.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003871/1.005, allocations: 1.1 MB / 0.7746 GB, free: 149.2 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * 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 (218): * Single equations (assignments): 211 * Array equations: 6 * 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 {(4,16,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005457/1.006, allocations: 188.6 kB / 0.7748 GB, free: 149.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.008043/1.014, allocations: 7.002 MB / 0.7817 GB, free: 142.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.987e-06/1.014, allocations: 4 kB / 0.7817 GB, free: 142.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003229/1.017, allocations: 2.858 MB / 0.7845 GB, free: 139.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00203/1.019, allocations: 419.3 kB / 0.7849 GB, free: 138.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01504/1.034, allocations: 11.82 MB / 0.7964 GB, free: 126.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002935/1.037, allocations: 3.585 MB / 0.7999 GB, free: 123.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001314/1.038, allocations: 295.3 kB / 0.8002 GB, free: 123 MB / 0.5762 GB Notification: Performance of SimCode: time 1.804e-06/1.038, allocations: 0 / 0.8002 GB, free: 123 MB / 0.5762 GB Notification: Performance of Templates: time 0.08726/1.126, allocations: 84.23 MB / 0.8824 GB, free: 38.91 MB / 0.5762 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Universal/Universal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches