Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.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.001036/0.001036, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 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.001047/0.001047, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 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 0.9916/0.9916, allocations: 177 MB / 204.8 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] 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.275/0.275, allocations: 34.86 MB / 296.3 MB, free: 488 kB / 266.7 MB " [Timeout remaining time 180] 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.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 378.8 MB, free: 2.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.205e-05/3.425e-05, allocations: 7.156 kB / 378.8 MB, free: 2.082 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.01908/0.01912, allocations: 14.44 MB / 393.2 MB, free: 3.574 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00959/0.02871, allocations: 4.752 MB / 398 MB, free: 14.81 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002554/0.03126, allocations: 107.5 kB / 398.1 MB, free: 14.7 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004248/0.03551, allocations: 3.383 MB / 401.4 MB, free: 11.31 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005681/0.04119, allocations: 2.691 MB / 404.1 MB, free: 8.605 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00177/0.04296, allocations: 1.123 MB / 405.3 MB, free: 7.48 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.007598/0.05056, allocations: 7.808 MB / 413.1 MB, free: 15.66 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004881/0.05544, allocations: 4.243 MB / 417.3 MB, free: 11.35 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005454/0.06089, allocations: 3.383 MB / 420.7 MB, free: 7.957 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00493/0.06582, allocations: 3.648 MB / 424.3 MB, free: 4.301 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00112/0.06694, allocations: 500 kB / 424.8 MB, free: 3.812 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002335/0.06928, allocations: 1.467 MB / 426.3 MB, free: 2.344 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002342/0.07162, allocations: 3.074 MB / 429.4 MB, free: 15.26 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002276/0.0739, allocations: 1.857 MB / 431.2 MB, free: 13.4 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007574/0.08147, allocations: 6.885 MB / 438.1 MB, free: 6.488 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.08148, allocations: 0 / 438.1 MB, free: 6.488 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.08148, allocations: 0 / 438.1 MB, free: 6.488 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000235/0.08171, allocations: 4 kB / 438.1 MB, free: 6.484 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.1822/0.2639, allocations: 7.954 MB / 446.1 MB, free: 93 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/0.264, allocations: 10.69 kB / 446.1 MB, free: 93 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009807/0.2738, allocations: 4.676 MB / 450.8 MB, free: 92.54 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006688/0.2805, allocations: 3.67 MB / 454.4 MB, free: 91.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001969/0.2807, allocations: 324.2 kB / 454.7 MB, free: 91.87 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001095/0.2818, allocations: 431.7 kB / 455.2 MB, free: 91.86 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01374/0.2955, allocations: 9.002 MB / 464.2 MB, free: 87.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001367/0.2956, allocations: 63.69 kB / 464.2 MB, free: 87.31 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000393/0.296, allocations: 201 kB / 464.4 MB, free: 87.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002658/0.2987, allocations: 3.219 MB / 467.6 MB, free: 86.69 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01362/0.3123, allocations: 5.223 MB / 472.9 MB, free: 85.83 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05475/0.3671, allocations: 60.03 MB / 0.5204 GB, free: 35.42 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006915/0.374, allocations: 3.037 MB / 0.5234 GB, free: 32.96 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001944/0.3759, allocations: 1.189 MB / 0.5245 GB, free: 31.87 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01495/0.3909, allocations: 8.337 MB / 0.5327 GB, free: 23.66 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.464e-05/0.3909, allocations: 63.39 kB / 0.5327 GB, free: 23.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=292): time 7.424e-06/0.3909, allocations: 0 / 0.5327 GB, free: 23.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=342): time 0.05735/0.4483, allocations: 27.26 MB / 0.5593 GB, free: 12.39 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001302/0.4484, allocations: 217.9 kB / 0.5596 GB, free: 12.13 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006462/0.4549, allocations: 4.716 MB / 0.5642 GB, free: 7.402 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000873/0.4557, allocations: 77.7 kB / 0.5642 GB, free: 7.32 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002864/0.4586, allocations: 4.724 MB / 0.5688 GB, free: 2.629 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00151/0.4601, allocations: 1.361 MB / 0.5702 GB, free: 1.285 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002083/0.4622, allocations: 1.923 MB / 0.5721 GB, free: 15.34 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003752/0.4626, allocations: 484.8 kB / 0.5725 GB, free: 14.87 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002762/0.4653, allocations: 1.669 MB / 0.5741 GB, free: 13.19 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006675/0.472, allocations: 9.087 MB / 0.583 GB, free: 0.7578 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01205/0.4841, allocations: 11.73 MB / 0.5945 GB, free: 1.715 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001829/0.4842, allocations: 52 kB / 0.5945 GB, free: 1.664 MB / 458.7 MB Notification: Performance of matching and sorting (n=1186) (initialization): time 0.0272/0.5114, allocations: 12.34 MB / 0.6066 GB, free: 5.281 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001136/0.5116, allocations: 80 kB / 0.6067 GB, free: 5.203 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001764/0.5117, allocations: 172 kB / 0.6068 GB, free: 5.035 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0139/0.5256, allocations: 4.866 MB / 0.6116 GB, free: 164 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1991/0.7248, allocations: 2.121 MB / 0.6136 GB, free: 130.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01223/0.737, allocations: 9.348 MB / 0.6228 GB, free: 126.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005434/0.7424, allocations: 0.6245 MB / 0.6234 GB, free: 126.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001287/0.7437, allocations: 0.5112 MB / 0.6239 GB, free: 126.7 MB / 474.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.00258/0.7463, allocations: 0.8577 MB / 0.6247 GB, free: 126.5 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001016/0.7473, allocations: 0.5633 MB / 0.6253 GB, free: 126.5 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0137/0.761, allocations: 7.28 MB / 0.6324 GB, free: 126.3 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.83e-05/0.7611, allocations: 57.28 kB / 0.6324 GB, free: 126.3 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.634e-05/0.7611, allocations: 16.59 kB / 0.6324 GB, free: 126.3 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.034e-05/0.7612, allocations: 19.12 kB / 0.6325 GB, free: 126.3 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0286/0.7898, allocations: 15.81 MB / 0.6479 GB, free: 122.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.089e-05/0.7898, allocations: 3.781 kB / 0.6479 GB, free: 122.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003161/0.793, allocations: 0.5885 MB / 0.6485 GB, free: 122.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01304/0.806, allocations: 4.258 MB / 0.6526 GB, free: 121.9 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008597/0.8069, allocations: 64.47 kB / 0.6527 GB, free: 121.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01122/0.8181, allocations: 8.149 MB / 0.6607 GB, free: 116.5 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.226e-06/0.8181, allocations: 10.53 kB / 0.6607 GB, free: 116.5 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01681/0.8349, allocations: 8.396 MB / 0.6689 GB, free: 113.5 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001279/0.8362, allocations: 472.3 kB / 0.6693 GB, free: 113.5 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006308/0.8368, allocations: 62.3 kB / 0.6694 GB, free: 113.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001654/0.8385, allocations: 307.2 kB / 0.6697 GB, free: 113.3 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005397/0.839, allocations: 205.2 kB / 0.6699 GB, free: 113.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001827/0.8392, allocations: 86.61 kB / 0.6699 GB, free: 113.1 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002773/0.842, allocations: 2.007 MB / 0.6719 GB, free: 112.1 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.842, allocations: 0 / 0.6719 GB, free: 112.1 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005985/0.8479, allocations: 1.867 MB / 0.6737 GB, free: 111.1 MB / 474.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.000546/0.8485, allocations: 222.7 kB / 0.6739 GB, free: 110.9 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00837/0.8569, allocations: 5.915 MB / 0.6797 GB, free: 105 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.116e-06/0.8569, allocations: 0 / 0.6797 GB, free: 105 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002586/0.8595, allocations: 1.963 MB / 0.6816 GB, free: 103.1 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00285/0.8623, allocations: 0.5504 MB / 0.6822 GB, free: 102.5 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01743/0.8797, allocations: 12.53 MB / 0.6944 GB, free: 89.84 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001811/0.8815, allocations: 1.876 MB / 0.6962 GB, free: 87.93 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003747/0.8853, allocations: 2.378 MB / 0.6986 GB, free: 85.55 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009481/0.8862, allocations: 336.4 kB / 0.6989 GB, free: 85.23 MB / 474.7 MB Notification: Performance of SimCode: time 3.096e-06/0.8862, allocations: 0 / 0.6989 GB, free: 85.23 MB / 474.7 MB Notification: Performance of Templates: time 0.08021/0.9665, allocations: 75.21 MB / 0.7723 GB, free: 10.46 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.516558303963393]