Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 79.59 kB / 21.18 MB, free: 3.383 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009475/0.0009475, allocations: 165 kB / 24.56 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9708/0.9708, allocations: 177.1 MB / 205 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2846/0.2846, allocations: 32.81 MB / 294.3 MB, free: 1.277 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 376 MB, free: 4.703 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.882e-05/3.07e-05, allocations: 2.312 kB / 376 MB, free: 4.699 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.01184/0.01187, allocations: 14.46 MB / 390.4 MB, free: 6.176 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008876/0.02074, allocations: 4.745 MB / 395.2 MB, free: 1.418 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002758/0.0235, allocations: 111.5 kB / 395.3 MB, free: 1.309 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005158/0.02866, allocations: 3.387 MB / 398.7 MB, free: 13.91 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005968/0.03463, allocations: 2.691 MB / 401.4 MB, free: 11.21 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001988/0.03661, allocations: 1.115 MB / 402.5 MB, free: 10.09 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.007558/0.04417, allocations: 7.819 MB / 410.3 MB, free: 2.258 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004985/0.04916, allocations: 4.235 MB / 414.5 MB, free: 13.95 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005881/0.05504, allocations: 3.391 MB / 417.9 MB, free: 10.55 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005113/0.06015, allocations: 3.644 MB / 421.6 MB, free: 6.902 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0016/0.06175, allocations: 500 kB / 422.1 MB, free: 6.414 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003119/0.06487, allocations: 1.475 MB / 423.5 MB, free: 4.938 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003242/0.06811, allocations: 3.062 MB / 426.6 MB, free: 1.867 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003448/0.07156, allocations: 1.865 MB / 428.5 MB, free: 15.99 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009443/0.081, allocations: 6.889 MB / 435.4 MB, free: 9.082 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.08101, allocations: 3.938 kB / 435.4 MB, free: 9.078 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.08101, allocations: 0 / 435.4 MB, free: 9.078 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003435/0.08135, allocations: 0 / 435.4 MB, free: 9.078 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.01321/0.09457, allocations: 7.952 MB / 443.3 MB, free: 1.039 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.09461, allocations: 8.031 kB / 443.3 MB, free: 1.031 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1801/0.2748, allocations: 4.672 MB / 448 MB, free: 94.38 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007152/0.2819, allocations: 3.68 MB / 451.7 MB, free: 94 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002176/0.2821, allocations: 319.6 kB / 452 MB, free: 93.99 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009222/0.283, allocations: 432.4 kB / 452.4 MB, free: 93.99 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0144/0.2974, allocations: 9.01 MB / 461.4 MB, free: 90.17 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001635/0.2976, allocations: 55.06 kB / 461.5 MB, free: 90.16 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005338/0.2981, allocations: 199.1 kB / 461.7 MB, free: 90.08 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003506/0.3016, allocations: 3.221 MB / 464.9 MB, free: 89.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01315/0.3148, allocations: 5.222 MB / 470.1 MB, free: 88.69 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05052/0.3653, allocations: 60.02 MB / 0.5177 GB, free: 39.88 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006663/0.372, allocations: 3.028 MB / 0.5207 GB, free: 37.41 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001855/0.3738, allocations: 1.194 MB / 0.5218 GB, free: 36.33 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01093/0.3848, allocations: 8.343 MB / 0.53 GB, free: 28.46 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.78e-05/0.3848, allocations: 67.38 kB / 0.53 GB, free: 28.39 MB / 410.7 MB Notification: Performance of pre-optimization done (n=292): time 6.071e-06/0.3848, allocations: 0 / 0.53 GB, free: 28.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=342): time 0.05503/0.4398, allocations: 27.26 MB / 0.5567 GB, free: 1.262 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.256e-05/0.4399, allocations: 217.9 kB / 0.5569 GB, free: 1.004 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005508/0.4454, allocations: 4.716 MB / 0.5615 GB, free: 12.28 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007978/0.4462, allocations: 73.7 kB / 0.5615 GB, free: 12.2 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002658/0.4489, allocations: 4.715 MB / 0.5661 GB, free: 7.52 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001557/0.4504, allocations: 1.36 MB / 0.5675 GB, free: 6.176 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002087/0.4525, allocations: 1.933 MB / 0.5694 GB, free: 4.227 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.4526, allocations: 476.8 kB / 0.5698 GB, free: 3.758 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002705/0.4553, allocations: 1.677 MB / 0.5715 GB, free: 2.07 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006047/0.4614, allocations: 9.086 MB / 0.5803 GB, free: 5.637 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0105/0.4719, allocations: 11.74 MB / 0.5918 GB, free: 6.578 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001438/0.472, allocations: 48 kB / 0.5918 GB, free: 6.531 MB / 458.7 MB Notification: Performance of matching and sorting (n=1186) (initialization): time 0.2028/0.6748, allocations: 12.33 MB / 0.6039 GB, free: 115.1 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001157/0.6749, allocations: 81.28 kB / 0.604 GB, free: 115.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001974/0.6751, allocations: 172.5 kB / 0.6041 GB, free: 115.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01364/0.6887, allocations: 4.866 MB / 0.6089 GB, free: 115.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005301/0.694, allocations: 2.116 MB / 0.6109 GB, free: 115.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01257/0.7066, allocations: 9.37 MB / 0.6201 GB, free: 111.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00521/0.7118, allocations: 0.6187 MB / 0.6207 GB, free: 111.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001359/0.7132, allocations: 0.5068 MB / 0.6212 GB, free: 111.2 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 789 * Number of states: 0 () * Number of discrete variables: 45 (fixedFrame4.color_x[3],fixedFrame4.color_x[2],fixedFrame4.color_x[1],b3.color[3],b3.color[2],b3.color[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.rodColor[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.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 (1095): * Single equations (assignments): 1087 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00287/0.716, allocations: 0.8512 MB / 0.622 GB, free: 110.8 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001109/0.7171, allocations: 0.5693 MB / 0.6226 GB, free: 110.8 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0192/0.7364, allocations: 7.279 MB / 0.6297 GB, free: 110.6 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001245/0.7365, allocations: 60.55 kB / 0.6297 GB, free: 110.6 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.764e-05/0.7365, allocations: 12.5 kB / 0.6298 GB, free: 110.6 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.626e-05/0.7366, allocations: 16.22 kB / 0.6298 GB, free: 110.6 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03723/0.7738, allocations: 15.81 MB / 0.6452 GB, free: 105.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.332e-05/0.7739, allocations: 7.031 kB / 0.6452 GB, free: 105.3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002672/0.7765, allocations: 0.5841 MB / 0.6458 GB, free: 105.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01457/0.7911, allocations: 4.261 MB / 0.6499 GB, free: 102.7 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007613/0.7919, allocations: 55.09 kB / 0.65 GB, free: 102.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01068/0.8026, allocations: 8.166 MB / 0.658 GB, free: 96.42 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.8026, allocations: 10.47 kB / 0.658 GB, free: 96.41 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01662/0.8192, allocations: 8.402 MB / 0.6662 GB, free: 88.99 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001217/0.8204, allocations: 467 kB / 0.6666 GB, free: 88.8 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000605/0.821, allocations: 54.66 kB / 0.6667 GB, free: 88.75 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001709/0.8227, allocations: 311.5 kB / 0.667 GB, free: 88.45 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005082/0.8232, allocations: 201.5 kB / 0.6672 GB, free: 88.25 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001832/0.8234, allocations: 86.66 kB / 0.6673 GB, free: 88.17 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002405/0.8258, allocations: 2.013 MB / 0.6692 GB, free: 86.16 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.8258, allocations: 0 / 0.6692 GB, free: 86.16 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005817/0.8316, allocations: 1.867 MB / 0.671 GB, free: 84.3 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 2 (j1.phi,j1.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 (257): * Single equations (assignments): 249 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006095/0.8322, allocations: 231.3 kB / 0.6713 GB, free: 84.09 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.008428/0.8407, allocations: 5.904 MB / 0.677 GB, free: 78.19 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.214e-06/0.8407, allocations: 0 / 0.677 GB, free: 78.19 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002726/0.8434, allocations: 1.974 MB / 0.679 GB, free: 76.21 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00268/0.8461, allocations: 0.5474 MB / 0.6795 GB, free: 75.69 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01513/0.8612, allocations: 12.52 MB / 0.6917 GB, free: 63 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001519/0.8627, allocations: 1.872 MB / 0.6936 GB, free: 61.1 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003711/0.8664, allocations: 2.381 MB / 0.6959 GB, free: 58.72 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001065/0.8675, allocations: 340.4 kB / 0.6962 GB, free: 58.39 MB / 458.7 MB Notification: Performance of SimCode: time 2.424e-06/0.8675, allocations: 0 / 0.6962 GB, free: 58.39 MB / 458.7 MB Notification: Performance of Templates: time 0.2331/1.101, allocations: 75.2 MB / 0.7696 GB, free: 132.6 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/UniversalSpherical/UniversalSpherical.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.496172679122537]