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.001857/0.001857, allocations: 103.5 kB / 20.97 MB, free: 3.449 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.001947/0.001947, allocations: 156.8 kB / 24.27 MB, free: 156 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 1.603/1.603, allocations: 177 MB / 204.4 MB, free: 5.625 MB / 186.7 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.3599/0.3599, allocations: 34.25 MB / 295.2 MB, free: 0.6211 MB / 266.7 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.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 1.352e-06/1.352e-06, allocations: 0 / 377.2 MB, free: 2.898 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.456e-05/2.591e-05, allocations: 3.859 kB / 377.2 MB, free: 2.895 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.01666/0.01668, allocations: 11.55 MB / 388.8 MB, free: 7.289 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01042/0.0271, allocations: 4.22 MB / 393 MB, free: 3.055 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001575/0.02868, allocations: 95.5 kB / 393.1 MB, free: 2.961 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006619/0.0353, allocations: 2.92 MB / 396 MB, free: 32 kB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00615/0.04145, allocations: 2.123 MB / 398.1 MB, free: 13.9 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002512/0.04396, allocations: 1.014 MB / 399.1 MB, free: 12.88 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01054/0.0545, allocations: 6.403 MB / 405.5 MB, free: 6.469 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006706/0.0612, allocations: 3.447 MB / 409 MB, free: 2.973 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007672/0.06887, allocations: 2.65 MB / 411.6 MB, free: 324 kB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005885/0.07476, allocations: 2.861 MB / 414.5 MB, free: 13.45 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001528/0.07629, allocations: 400 kB / 414.9 MB, free: 13.05 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003686/0.07997, allocations: 1.357 MB / 416.2 MB, free: 11.7 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003406/0.08338, allocations: 2.357 MB / 418.6 MB, free: 9.336 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003148/0.08653, allocations: 1.457 MB / 420 MB, free: 7.875 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01262/0.09914, allocations: 8.08 MB / 428.1 MB, free: 15.77 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.313e-06/0.09915, allocations: 0 / 428.1 MB, free: 15.77 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.09915, allocations: 0 / 428.1 MB, free: 15.77 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002813/0.09943, allocations: 0 / 428.1 MB, free: 15.77 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: 1538 * Number of variables: 1538 Notification: Performance of Generate backend data structure: time 0.01709/0.1165, allocations: 6.459 MB / 434.6 MB, free: 9.234 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/0.1166, allocations: 8.031 kB / 434.6 MB, free: 9.227 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01617/0.1327, allocations: 3.013 MB / 437.6 MB, free: 6.207 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01055/0.1433, allocations: 3.01 MB / 440.6 MB, free: 3.145 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003608/0.1437, allocations: 246.4 kB / 440.9 MB, free: 2.902 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00168/0.1453, allocations: 332.3 kB / 441.2 MB, free: 2.578 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.173/0.3183, allocations: 7.134 MB / 448.3 MB, free: 92.51 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000164/0.3185, allocations: 49.27 kB / 448.4 MB, free: 92.49 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000456/0.3189, allocations: 153.2 kB / 448.5 MB, free: 92.49 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002862/0.3218, allocations: 2.001 MB / 450.5 MB, free: 92.28 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01423/0.336, allocations: 4.23 MB / 454.7 MB, free: 91.59 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06748/0.4035, allocations: 48.9 MB / 0.4918 GB, free: 52.88 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01528/0.4188, allocations: 2.388 MB / 0.4942 GB, free: 52.4 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002433/0.4212, allocations: 0.7109 MB / 0.4949 GB, free: 52.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01628/0.4375, allocations: 4.764 MB / 0.4995 GB, free: 49.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.341e-05/0.4376, allocations: 53.36 kB / 0.4996 GB, free: 49.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=180): time 6.843e-06/0.4376, allocations: 1.969 kB / 0.4996 GB, free: 49.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=236): time 0.1184/0.556, allocations: 24.84 MB / 0.5238 GB, free: 33.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.987e-05/0.5561, allocations: 205.9 kB / 0.524 GB, free: 33.28 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007993/0.5641, allocations: 4.64 MB / 0.5286 GB, free: 28.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007302/0.5648, allocations: 61.69 kB / 0.5286 GB, free: 28.63 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002659/0.5675, allocations: 3.681 MB / 0.5322 GB, free: 24.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001587/0.569, allocations: 1.008 MB / 0.5332 GB, free: 23.96 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003462/0.5725, allocations: 1.68 MB / 0.5348 GB, free: 22.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.784e-05/0.5726, allocations: 476.8 kB / 0.5353 GB, free: 21.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003627/0.5762, allocations: 1.411 MB / 0.5367 GB, free: 20.39 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005949/0.5822, allocations: 7.08 MB / 0.5436 GB, free: 10.82 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01001/0.5922, allocations: 9.372 MB / 0.5527 GB, free: 15 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002778/0.5925, allocations: 36 kB / 0.5528 GB, free: 14.97 MB / 426.7 MB Notification: Performance of matching and sorting (n=855) (initialization): time 0.04167/0.6341, allocations: 10.63 MB / 0.5631 GB, free: 4.32 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002622/0.6344, allocations: 60.19 kB / 0.5632 GB, free: 4.262 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003425/0.6347, allocations: 132 kB / 0.5633 GB, free: 4.133 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02917/0.6639, allocations: 5.273 MB / 0.5685 GB, free: 14.84 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006198/0.6701, allocations: 1.486 MB / 0.5699 GB, free: 13.36 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02793/0.698, allocations: 10.53 MB / 0.5802 GB, free: 2.582 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006621/0.7046, allocations: 465.4 kB / 0.5807 GB, free: 2.129 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001602/0.7062, allocations: 383.9 kB / 0.581 GB, free: 1.754 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.003249/0.7095, allocations: 0.7668 MB / 0.5818 GB, free: 0.9727 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001594/0.7111, allocations: 443.8 kB / 0.5822 GB, free: 0.5391 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02923/0.7403, allocations: 6.821 MB / 0.5889 GB, free: 9.691 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.92e-05/0.7404, allocations: 27.94 kB / 0.5889 GB, free: 9.664 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.636e-05/0.7404, allocations: 12 kB / 0.5889 GB, free: 9.652 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.075e-05/0.7405, allocations: 7.969 kB / 0.5889 GB, free: 9.645 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2588/0.9993, allocations: 14.81 MB / 0.6034 GB, free: 120 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.722e-05/0.9993, allocations: 5.938 kB / 0.6034 GB, free: 120 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002009/1.001, allocations: 379.8 kB / 0.6037 GB, free: 120 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02267/1.024, allocations: 4.723 MB / 0.6084 GB, free: 120 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006209/1.025, allocations: 41.28 kB / 0.6084 GB, free: 120 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01728/1.042, allocations: 9.187 MB / 0.6174 GB, free: 116.1 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/1.042, allocations: 9.5 kB / 0.6174 GB, free: 116.1 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02605/1.068, allocations: 7.854 MB / 0.625 GB, free: 115.2 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001375/1.069, allocations: 380.1 kB / 0.6254 GB, free: 115.2 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008559/1.07, allocations: 43.8 kB / 0.6254 GB, free: 115.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002715/1.073, allocations: 226.4 kB / 0.6257 GB, free: 115.2 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007698/1.074, allocations: 159.2 kB / 0.6258 GB, free: 115.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002177/1.074, allocations: 68 kB / 0.6259 GB, free: 115.2 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003235/1.077, allocations: 1.937 MB / 0.6278 GB, free: 115 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.1e-08/1.077, allocations: 7.094 kB / 0.6278 GB, free: 115 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006783/1.084, allocations: 1.493 MB / 0.6292 GB, free: 115 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.0007409/1.085, allocations: 202.5 kB / 0.6294 GB, free: 114.9 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01242/1.097, allocations: 5.024 MB / 0.6343 GB, free: 113.5 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.117e-05/1.097, allocations: 3.219 kB / 0.6343 GB, free: 113.5 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003524/1.101, allocations: 1.776 MB / 0.6361 GB, free: 112.9 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00349/1.104, allocations: 475.8 kB / 0.6365 GB, free: 112.8 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01698/1.121, allocations: 9.367 MB / 0.6457 GB, free: 108.3 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004219/1.125, allocations: 2.699 MB / 0.6483 GB, free: 107.5 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004293/1.13, allocations: 1.596 MB / 0.6499 GB, free: 107.4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001395/1.131, allocations: 260.3 kB / 0.6501 GB, free: 107.4 MB / 458.7 MB Notification: Performance of SimCode: time 2.134e-06/1.131, allocations: 4 kB / 0.6501 GB, free: 107.4 MB / 458.7 MB Notification: Performance of Templates: time 0.09179/1.223, allocations: 67.34 MB / 0.7159 GB, free: 41.53 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.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.9280916299903765]