Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.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.001603/0.001603, allocations: 79.69 kB / 21.7 MB, free: 2.844 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.001846/0.001846, allocations: 161 kB / 24.99 MB, free: 8.797 MB / 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 1.063/1.063, allocations: 177 MB / 205.2 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.2935/0.2935, allocations: 34.86 MB / 296.6 MB, free: 500 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.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 378.7 MB, free: 2.402 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.12e-05/3.322e-05, allocations: 8.641 kB / 378.7 MB, free: 2.395 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.01106/0.0111, allocations: 11.58 MB / 390.3 MB, free: 6.754 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008591/0.01969, allocations: 4.232 MB / 394.6 MB, free: 2.508 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002377/0.02207, allocations: 91.56 kB / 394.6 MB, free: 2.418 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003956/0.02602, allocations: 2.924 MB / 397.6 MB, free: 15.48 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004203/0.03022, allocations: 2.103 MB / 399.7 MB, free: 13.37 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001496/0.03172, allocations: 1.029 MB / 400.7 MB, free: 12.34 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005888/0.03761, allocations: 6.41 MB / 407.1 MB, free: 5.918 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003466/0.04107, allocations: 3.432 MB / 410.5 MB, free: 2.438 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003559/0.04463, allocations: 2.65 MB / 413.2 MB, free: 15.78 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003215/0.04785, allocations: 2.872 MB / 416.1 MB, free: 12.9 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000887/0.04874, allocations: 400 kB / 416.5 MB, free: 12.51 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002308/0.05104, allocations: 1.357 MB / 417.8 MB, free: 11.15 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001698/0.05274, allocations: 2.349 MB / 420.2 MB, free: 8.797 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001984/0.05473, allocations: 1.453 MB / 421.6 MB, free: 7.34 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006502/0.06123, allocations: 5.345 MB / 427 MB, free: 1.977 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.06124, allocations: 4 kB / 427 MB, free: 1.973 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.06124, allocations: 3.938 kB / 427 MB, free: 1.969 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002032/0.06144, allocations: 0 / 427 MB, free: 1.969 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1538 * Number of variables: 1538 Notification: Performance of Generate backend data structure: time 0.008714/0.07015, allocations: 5.998 MB / 433 MB, free: 11.89 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.0702, allocations: 8.031 kB / 433 MB, free: 11.88 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006848/0.07705, allocations: 3.017 MB / 436 MB, free: 8.859 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004973/0.08202, allocations: 2.967 MB / 439 MB, free: 5.84 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001505/0.08217, allocations: 238.5 kB / 439.2 MB, free: 5.605 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007229/0.08289, allocations: 336.3 kB / 439.5 MB, free: 5.277 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1845/0.2674, allocations: 6.702 MB / 446.2 MB, free: 94.54 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001976/0.2676, allocations: 47.98 kB / 446.3 MB, free: 94.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000391/0.268, allocations: 155.8 kB / 446.4 MB, free: 94.52 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002335/0.2704, allocations: 1.994 MB / 448.4 MB, free: 94.49 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01061/0.281, allocations: 3.889 MB / 452.3 MB, free: 94.25 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03082/0.3118, allocations: 44.91 MB / 497.2 MB, free: 57.57 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006208/0.318, allocations: 2.303 MB / 499.5 MB, free: 57.15 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001265/0.3193, allocations: 0.6836 MB / 0.4885 GB, free: 56.99 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007384/0.3266, allocations: 4.689 MB / 0.4931 GB, free: 54.61 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.649e-05/0.3267, allocations: 54.61 kB / 0.4931 GB, free: 54.55 MB / 410.7 MB Notification: Performance of pre-optimization done (n=180): time 6.362e-06/0.3267, allocations: 0 / 0.4931 GB, free: 54.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=236): time 0.0596/0.3863, allocations: 24.6 MB / 0.5171 GB, free: 42.01 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.266e-05/0.3864, allocations: 217.8 kB / 0.5173 GB, free: 41.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003637/0.39, allocations: 3.691 MB / 0.5209 GB, free: 38.15 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004256/0.3904, allocations: 61.7 kB / 0.521 GB, free: 38.08 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001237/0.3917, allocations: 3.455 MB / 0.5244 GB, free: 34.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007155/0.3924, allocations: 0.9362 MB / 0.5253 GB, free: 33.71 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001188/0.3936, allocations: 1.414 MB / 0.5267 GB, free: 32.29 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.458e-05/0.3936, allocations: 480.8 kB / 0.5271 GB, free: 31.81 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001729/0.3953, allocations: 1.317 MB / 0.5284 GB, free: 30.49 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002909/0.3983, allocations: 6.775 MB / 0.535 GB, free: 21.23 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005734/0.404, allocations: 8.856 MB / 0.5437 GB, free: 9.926 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.946e-05/0.404, allocations: 40 kB / 0.5437 GB, free: 9.887 MB / 410.7 MB Notification: Performance of matching and sorting (n=855) (initialization): time 0.01913/0.4232, allocations: 10.41 MB / 0.5539 GB, free: 15.46 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001021/0.4233, allocations: 60 kB / 0.5539 GB, free: 15.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001578/0.4234, allocations: 128 kB / 0.5541 GB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01493/0.4384, allocations: 5.218 MB / 0.5592 GB, free: 10.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003672/0.442, allocations: 1.493 MB / 0.5606 GB, free: 8.551 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01505/0.4571, allocations: 9.911 MB / 0.5703 GB, free: 14.39 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004744/0.4618, allocations: 459.4 kB / 0.5707 GB, free: 13.95 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00105/0.4629, allocations: 391.9 kB / 0.5711 GB, free: 13.56 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 582 * Number of states: 0 () * Number of discrete variables: 42 (b3.color[3],b3.color[2],b3.color[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.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 (778): * Single equations (assignments): 773 * Array equations: 3 * 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 {(3,51,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00209/0.465, allocations: 0.6733 MB / 0.5718 GB, free: 12.88 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001023/0.466, allocations: 439.5 kB / 0.5722 GB, free: 12.45 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01507/0.4811, allocations: 6.711 MB / 0.5787 GB, free: 5.711 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-05/0.4811, allocations: 27.94 kB / 0.5788 GB, free: 5.684 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.041e-05/0.4811, allocations: 12 kB / 0.5788 GB, free: 5.672 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.57e-05/0.4812, allocations: 11.95 kB / 0.5788 GB, free: 5.66 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02607/0.5072, allocations: 13.66 MB / 0.5921 GB, free: 7.543 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.92e-05/0.5073, allocations: 7.938 kB / 0.5921 GB, free: 7.535 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001354/0.5086, allocations: 387.4 kB / 0.5925 GB, free: 7.156 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01284/0.5215, allocations: 4.674 MB / 0.5971 GB, free: 2.469 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000513/0.522, allocations: 36 kB / 0.5971 GB, free: 2.434 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2052/0.7272, allocations: 8.721 MB / 0.6056 GB, free: 124.3 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.7272, allocations: 8.719 kB / 0.6056 GB, free: 124.3 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01504/0.7422, allocations: 7.609 MB / 0.6131 GB, free: 123.3 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00138/0.7436, allocations: 377.8 kB / 0.6134 GB, free: 123.3 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006541/0.7443, allocations: 41.91 kB / 0.6135 GB, free: 123.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001557/0.7458, allocations: 226.3 kB / 0.6137 GB, free: 123.3 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006364/0.7465, allocations: 161 kB / 0.6138 GB, free: 123.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001535/0.7466, allocations: 67.41 kB / 0.6139 GB, free: 123.3 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002232/0.7488, allocations: 1.623 MB / 0.6155 GB, free: 123.2 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.7488, allocations: 3.469 kB / 0.6155 GB, free: 123.2 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005445/0.7543, allocations: 1.489 MB / 0.6169 GB, free: 123.2 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 (167): * Single equations (assignments): 162 * Array equations: 3 * 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 {(3,45,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006285/0.7549, allocations: 196.3 kB / 0.6171 GB, free: 123.1 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.008057/0.763, allocations: 4.641 MB / 0.6217 GB, free: 122 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.021e-05/0.763, allocations: 3.953 kB / 0.6217 GB, free: 122 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002609/0.7656, allocations: 1.676 MB / 0.6233 GB, free: 121.5 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002444/0.768, allocations: 480.5 kB / 0.6237 GB, free: 121.3 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01276/0.7808, allocations: 9.257 MB / 0.6328 GB, free: 116.9 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00143/0.7822, allocations: 1.374 MB / 0.6341 GB, free: 116.5 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002944/0.7852, allocations: 1.592 MB / 0.6357 GB, free: 116.4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008126/0.786, allocations: 255.3 kB / 0.6359 GB, free: 116.4 MB / 458.7 MB Notification: Performance of SimCode: time 2.315e-06/0.786, allocations: 0 / 0.6359 GB, free: 116.4 MB / 458.7 MB Notification: Performance of Templates: time 0.07721/0.8632, allocations: 67.4 MB / 0.7017 GB, free: 60.49 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/SphericalSpherical/SphericalSpherical.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.145452185999602]