Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00185/0.00185, allocations: 105.1 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002283/0.002283, allocations: 213.9 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.553/1.553, allocations: 230.3 MB / 258 MB, free: 8.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2471/0.2471, allocations: 46.89 MB / 361.3 MB, free: 4.469 MB / 286.1 MB " [Timeout remaining time 179] 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.Spherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.Q.1.|body.Q.2.|body.Q.3.|body.Q.4.|body.w_a.1.|body.w_a.2.|body.w_a.3.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical") translateModel(ModelicaTest.MultiBody.Joints.Spherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.Q.1.|body.Q.2.|body.Q.3.|body.Q.4.|body.w_a.1.|body.w_a.2.|body.w_a.3.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002276/0.002276, allocations: 75.88 kB / 0.4971 GB, free: 7.613 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3986/0.4008, allocations: 66.03 MB / 0.5615 GB, free: 4.629 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.01542/0.4163, allocations: 11.82 MB / 0.5731 GB, free: 8.746 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01039/0.4267, allocations: 4.109 MB / 0.5771 GB, free: 4.625 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00246/0.4291, allocations: 67.75 kB / 0.5772 GB, free: 4.559 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003227/0.4323, allocations: 1.206 MB / 0.5783 GB, free: 3.348 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005315/0.4377, allocations: 1.779 MB / 0.5801 GB, free: 1.562 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001733/0.4394, allocations: 0.5574 MB / 0.5806 GB, free: 1.004 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0065/0.4459, allocations: 4.041 MB / 0.5846 GB, free: 12.96 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002807/0.4487, allocations: 1.456 MB / 0.586 GB, free: 11.47 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002475/0.4512, allocations: 1.179 MB / 0.5871 GB, free: 10.29 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003202/0.4544, allocations: 1.853 MB / 0.589 GB, free: 8.43 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007225/0.4551, allocations: 216 kB / 0.5892 GB, free: 8.219 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002733/0.4578, allocations: 1.342 MB / 0.5905 GB, free: 6.875 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001835/0.4597, allocations: 1.608 MB / 0.592 GB, free: 5.262 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002252/0.4619, allocations: 1.82 MB / 0.5938 GB, free: 3.43 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008426/0.4703, allocations: 6.203 MB / 0.5999 GB, free: 13.2 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.4704, allocations: 0 / 0.5999 GB, free: 13.2 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.4704, allocations: 0 / 0.5999 GB, free: 13.2 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002532/0.4706, allocations: 0 / 0.5999 GB, free: 13.2 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: 1482 * Number of variables: 1482 Notification: Performance of Generate backend data structure: time 0.009125/0.4797, allocations: 4.114 MB / 0.6039 GB, free: 9.027 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.4798, allocations: 12.03 kB / 0.6039 GB, free: 9.016 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02194/0.5017, allocations: 6.155 MB / 0.6099 GB, free: 2.848 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006298/0.508, allocations: 2.122 MB / 0.612 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000193/0.5082, allocations: 176.8 kB / 0.6122 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001145/0.5094, allocations: 319.6 kB / 0.6125 GB, free: 216 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02065/0.53, allocations: 10.72 MB / 0.6229 GB, free: 5.027 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.894e-05/0.5301, allocations: 27.77 kB / 0.623 GB, free: 5 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003938/0.5305, allocations: 111.8 kB / 0.6231 GB, free: 4.891 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004302/0.5348, allocations: 2.463 MB / 0.6255 GB, free: 2.426 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02198/0.5568, allocations: 10.16 MB / 0.6354 GB, free: 8.254 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05814/0.6149, allocations: 35.44 MB / 0.67 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01208/0.627, allocations: 4.48 MB / 0.6744 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003332/0.6303, allocations: 2.185 MB / 0.6765 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00122/0.6315, allocations: 0.5518 MB / 0.677 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4e-05/0.6316, allocations: 52.5 kB / 0.6771 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=224): time 3.517e-06/0.6316, allocations: 0 / 0.6771 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of matching and sorting (n=231): time 0.03785/0.6694, allocations: 14.78 MB / 0.6915 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001571/0.671, allocations: 1.507 MB / 0.693 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004338/0.6753, allocations: 2.795 MB / 0.6957 GB, free: 9.367 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005627/0.6759, allocations: 61.61 kB / 0.6958 GB, free: 9.305 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002293/0.6782, allocations: 2.788 MB / 0.6985 GB, free: 6.488 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001216/0.6794, allocations: 0.8914 MB / 0.6994 GB, free: 5.59 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001825/0.6812, allocations: 1.108 MB / 0.7005 GB, free: 4.469 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001998/0.6814, allocations: 309.1 kB / 0.7008 GB, free: 4.164 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004017/0.6854, allocations: 2.627 MB / 0.7033 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006979/0.6924, allocations: 5.651 MB / 0.7088 GB, free: 10.41 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01258/0.705, allocations: 8.945 MB / 0.7176 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.207e-05/0.7051, allocations: 28 kB / 0.7176 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of matching and sorting (n=733) (initialization): time 0.3915/1.097, allocations: 17.14 MB / 0.7343 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001188/1.097, allocations: 51.5 kB / 0.7344 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04501/1.142, allocations: 10.62 MB / 0.7448 GB, free: 148.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04868/1.19, allocations: 8.64 MB / 0.7532 GB, free: 145.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004739/1.195, allocations: 1.317 MB / 0.7545 GB, free: 144.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02595/1.221, allocations: 17.61 MB / 0.7717 GB, free: 127.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004639/1.226, allocations: 423.5 kB / 0.7721 GB, free: 127.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006856/1.226, allocations: 316 kB / 0.7724 GB, free: 126.8 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 476 * Number of states: 0 () * Number of discrete variables: 24 (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],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[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 (661): * Single equations (assignments): 650 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,9)} Notification: Performance of prepare postOptimizeDAE: time 0.00298/1.229, allocations: 2.025 MB / 0.7744 GB, free: 124.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004528/1.23, allocations: 284.4 kB / 0.7746 GB, free: 124.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00736/1.237, allocations: 5.106 MB / 0.7796 GB, free: 119.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00622/1.243, allocations: 4.398 MB / 0.7839 GB, free: 115.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.188e-05/1.243, allocations: 0 / 0.7839 GB, free: 115.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-05/1.243, allocations: 7.969 kB / 0.7839 GB, free: 115.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01877/1.262, allocations: 12.74 MB / 0.7964 GB, free: 102.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.597e-05/1.262, allocations: 8 kB / 0.7964 GB, free: 102.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00194/1.264, allocations: 463.2 kB / 0.7968 GB, free: 102 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00279/1.267, allocations: 0.9346 MB / 0.7977 GB, free: 101.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002581/1.267, allocations: 51.97 kB / 0.7978 GB, free: 101 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005801/1.273, allocations: 5.63 MB / 0.8033 GB, free: 95.19 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008631/1.274, allocations: 1.451 MB / 0.8047 GB, free: 93.63 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01024/1.284, allocations: 7.739 MB / 0.8123 GB, free: 85.93 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009538/1.285, allocations: 267.3 kB / 0.8125 GB, free: 85.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004929/1.286, allocations: 40 kB / 0.8125 GB, free: 85.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001628/1.287, allocations: 195.6 kB / 0.8127 GB, free: 85.54 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000401/1.288, allocations: 152.7 kB / 0.8129 GB, free: 85.39 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001731/1.288, allocations: 67.98 kB / 0.8129 GB, free: 85.33 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00233/1.29, allocations: 1.72 MB / 0.8146 GB, free: 83.61 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.29, allocations: 0 / 0.8146 GB, free: 83.61 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005167/1.295, allocations: 1.092 MB / 0.8157 GB, free: 82.52 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 6 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.w_a[1],body.w_a[2],body.w_a[3]) * 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 (170): * Single equations (assignments): 161 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004806/1.296, allocations: 182.1 kB / 0.8159 GB, free: 82.34 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009944/1.306, allocations: 6.225 MB / 0.8219 GB, free: 76.12 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.86e-05/1.306, allocations: 0 / 0.8219 GB, free: 76.12 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003449/1.309, allocations: 2.3 MB / 0.8242 GB, free: 73.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002366/1.312, allocations: 380.7 kB / 0.8245 GB, free: 73.43 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01691/1.328, allocations: 10.05 MB / 0.8344 GB, free: 63.25 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003212/1.332, allocations: 3.163 MB / 0.8375 GB, free: 60.06 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003946/1.336, allocations: 2.06 MB / 0.8395 GB, free: 58 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006671/1.336, allocations: 207.4 kB / 0.8397 GB, free: 57.79 MB / 0.5606 GB Notification: Performance of SimCode: time 1.463e-06/1.336, allocations: 0 / 0.8397 GB, free: 57.79 MB / 0.5606 GB Notification: Performance of Templates: time 0.07061/1.407, allocations: 48.34 MB / 0.8869 GB, free: 9.578 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Spherical/Spherical.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.82442060764879]