Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.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.0008422/0.0008422, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.004484/0.004484, allocations: 164 kB / 24.7 MB, free: 8.891 MB / 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.8726/0.8726, allocations: 177.1 MB / 205 MB, free: 5.738 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.2445/0.2445, allocations: 32.8 MB / 294.2 MB, free: 1.18 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.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 440.8 MB, free: 3.734 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.048e-05/3.228e-05, allocations: 2.281 kB / 440.8 MB, free: 3.73 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.2042/0.2042, allocations: 10.51 MB / 451.4 MB, free: 41 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005654/0.2099, allocations: 4.115 MB / 455.5 MB, free: 38.47 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007372/0.2106, allocations: 92.81 kB / 455.6 MB, free: 38.44 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002179/0.2128, allocations: 2.802 MB / 458.4 MB, free: 37.25 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002401/0.2152, allocations: 2.105 MB / 460.5 MB, free: 36.25 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001086/0.2163, allocations: 1.007 MB / 461.5 MB, free: 35.83 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003475/0.2198, allocations: 6.403 MB / 467.9 MB, free: 33.41 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00188/0.2217, allocations: 3.33 MB / 471.2 MB, free: 31.98 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001856/0.2235, allocations: 2.644 MB / 473.9 MB, free: 30.84 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001812/0.2253, allocations: 2.821 MB / 476.7 MB, free: 30.1 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003111/0.2256, allocations: 395.2 kB / 477.1 MB, free: 30.1 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001308/0.2269, allocations: 1.354 MB / 478.4 MB, free: 29.86 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001076/0.228, allocations: 2.341 MB / 480.8 MB, free: 28.87 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001147/0.2292, allocations: 1.443 MB / 482.2 MB, free: 28.16 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00767/0.2368, allocations: 8.063 MB / 490.3 MB, free: 25.36 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.2368, allocations: 1.219 kB / 490.3 MB, free: 25.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.2369, allocations: 0 / 490.3 MB, free: 25.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001723/0.237, allocations: 0 / 490.3 MB, free: 25.36 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.00963/0.2467, allocations: 5.619 MB / 495.9 MB, free: 22.41 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.2467, allocations: 9.125 kB / 495.9 MB, free: 22.41 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006361/0.2531, allocations: 2.587 MB / 498.5 MB, free: 21.25 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004979/0.258, allocations: 3.294 MB / 0.49 GB, free: 19.25 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001665/0.2582, allocations: 238.9 kB / 0.4902 GB, free: 19.14 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005572/0.2588, allocations: 333.8 kB / 0.4906 GB, free: 19.02 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01203/0.2708, allocations: 10.95 MB / 0.5012 GB, free: 11.22 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.53e-05/0.2709, allocations: 60.59 kB / 0.5013 GB, free: 11.16 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003106/0.2712, allocations: 151.9 kB / 0.5014 GB, free: 11.02 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001618/0.2728, allocations: 1.994 MB / 0.5034 GB, free: 9.012 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0102/0.283, allocations: 9.42 MB / 0.5126 GB, free: 15.58 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03339/0.3164, allocations: 38.32 MB / 0.55 GB, free: 8.188 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006457/0.3228, allocations: 3.773 MB / 0.5537 GB, free: 4.375 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001628/0.3245, allocations: 1.771 MB / 0.5554 GB, free: 2.594 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007144/0.3316, allocations: 6.004 MB / 0.5613 GB, free: 12.55 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.3316, allocations: 51.56 kB / 0.5613 GB, free: 12.5 MB / 474.7 MB Notification: Performance of pre-optimization done (n=180): time 3.456e-06/0.3317, allocations: 3.938 kB / 0.5613 GB, free: 12.49 MB / 474.7 MB Notification: Performance of matching and sorting (n=236): time 0.08623/0.4179, allocations: 41.91 MB / 0.6023 GB, free: 2.559 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.645e-05/0.418, allocations: 209.9 kB / 0.6025 GB, free: 2.309 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004417/0.4224, allocations: 4.205 MB / 0.6066 GB, free: 14.11 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002574/0.4226, allocations: 57.7 kB / 0.6066 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001464/0.4241, allocations: 3.28 MB / 0.6098 GB, free: 10.74 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006823/0.4248, allocations: 0.9185 MB / 0.6107 GB, free: 9.812 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001377/0.4262, allocations: 1.342 MB / 0.612 GB, free: 8.461 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.532e-05/0.4262, allocations: 301.1 kB / 0.6123 GB, free: 8.164 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003391/0.4296, allocations: 3.624 MB / 0.6159 GB, free: 4.535 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00485/0.4345, allocations: 7.344 MB / 0.623 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2096/0.644, allocations: 11.62 MB / 0.6344 GB, free: 151.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001193/0.6441, allocations: 34.88 kB / 0.6344 GB, free: 151.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=855) (initialization): time 0.02514/0.6693, allocations: 16.16 MB / 0.6502 GB, free: 147.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.895e-05/0.6694, allocations: 62.28 kB / 0.6503 GB, free: 147.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001044/0.6695, allocations: 127.2 kB / 0.6504 GB, free: 147.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01323/0.6827, allocations: 6.225 MB / 0.6565 GB, free: 146.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003929/0.6866, allocations: 1.488 MB / 0.6579 GB, free: 146.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02701/0.7136, allocations: 27.17 MB / 0.6845 GB, free: 133.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004495/0.7181, allocations: 475.2 kB / 0.6849 GB, free: 133.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007548/0.7189, allocations: 385.5 kB / 0.6853 GB, free: 133.8 MB / 0.5261 GB 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.003541/0.7224, allocations: 2.212 MB / 0.6874 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007371/0.7232, allocations: 370.4 kB / 0.6878 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01499/0.7381, allocations: 11.22 MB / 0.6987 GB, free: 125.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.145e-05/0.7382, allocations: 29.59 kB / 0.6988 GB, free: 125.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.486e-05/0.7382, allocations: 16 kB / 0.6988 GB, free: 125.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.201e-05/0.7382, allocations: 15.89 kB / 0.6988 GB, free: 125.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02456/0.7628, allocations: 18.97 MB / 0.7173 GB, free: 106.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.532e-05/0.7628, allocations: 4 kB / 0.7173 GB, free: 106.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001588/0.7644, allocations: 396 kB / 0.7177 GB, free: 106 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01148/0.7759, allocations: 5.298 MB / 0.7229 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006047/0.7765, allocations: 51.81 kB / 0.7229 GB, free: 100.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01708/0.7936, allocations: 22.27 MB / 0.7447 GB, free: 78.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/0.7936, allocations: 7.938 kB / 0.7447 GB, free: 78.26 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01767/0.8113, allocations: 14.54 MB / 0.7589 GB, free: 63.77 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001165/0.8124, allocations: 381.1 kB / 0.7593 GB, free: 63.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000514/0.8129, allocations: 51.45 kB / 0.7593 GB, free: 63.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00138/0.8143, allocations: 235.5 kB / 0.7595 GB, free: 63.13 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004573/0.8148, allocations: 160.9 kB / 0.7597 GB, free: 62.97 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001346/0.8149, allocations: 64 kB / 0.7597 GB, free: 62.91 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002624/0.8175, allocations: 2.49 MB / 0.7622 GB, free: 60.44 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.5e-07/0.8175, allocations: 0 / 0.7622 GB, free: 60.44 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004882/0.8224, allocations: 1.486 MB / 0.7636 GB, free: 58.96 MB / 0.5261 GB 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.0005504/0.823, allocations: 197 kB / 0.7638 GB, free: 58.77 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007953/0.8309, allocations: 8.007 MB / 0.7716 GB, free: 50.78 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.939e-06/0.8309, allocations: 4 kB / 0.7716 GB, free: 50.78 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002699/0.8336, allocations: 2.986 MB / 0.7745 GB, free: 47.78 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002331/0.836, allocations: 453.5 kB / 0.775 GB, free: 47.36 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01384/0.8498, allocations: 12.36 MB / 0.7871 GB, free: 34.92 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002494/0.8523, allocations: 2.954 MB / 0.7899 GB, free: 31.95 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001204/0.8535, allocations: 304.4 kB / 0.7902 GB, free: 31.65 MB / 0.5261 GB Notification: Performance of SimCode: time 1.813e-06/0.8535, allocations: 0 / 0.7902 GB, free: 31.65 MB / 0.5261 GB Notification: Performance of Templates: time 0.2991/1.153, allocations: 111 MB / 0.8986 GB, free: 132 MB / 0.5417 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/SphericalSpherical/SphericalSpherical.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 9.729704212397337]