Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.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.001325/0.001325, allocations: 116.9 kB / 19.13 MB, free: 3.922 MB / 14.72 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.001372/0.001372, allocations: 214.5 kB / 22.08 MB, free: 0.9727 MB / 14.72 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.502/1.502, allocations: 227.4 MB / 252.3 MB, free: 112 kB / 190.1 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.2358/0.2358, allocations: 46.17 MB / 351.8 MB, free: 14.32 MB / 286.1 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.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003277/0.003277, allocations: 82 kB / 490.9 MB, free: 27.83 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1574, allocations: 62.45 MB / 0.5403 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.01548/0.1729, allocations: 13.38 MB / 0.5534 GB, free: 6.828 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01084/0.1838, allocations: 4.805 MB / 0.5581 GB, free: 2.004 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002606/0.1865, allocations: 95.69 kB / 0.5582 GB, free: 1.91 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007411/0.194, allocations: 3.734 MB / 0.5618 GB, free: 14.16 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006123/0.2001, allocations: 2.15 MB / 0.5639 GB, free: 12.01 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002691/0.2029, allocations: 1.072 MB / 0.565 GB, free: 10.93 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01027/0.2131, allocations: 6.665 MB / 0.5715 GB, free: 4.254 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006009/0.2192, allocations: 4.502 MB / 0.5759 GB, free: 15.68 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003855/0.2231, allocations: 2.025 MB / 0.5779 GB, free: 13.65 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004795/0.2279, allocations: 2.734 MB / 0.5805 GB, free: 10.91 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001631/0.2296, allocations: 432 kB / 0.5809 GB, free: 10.49 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003191/0.2328, allocations: 1.432 MB / 0.5823 GB, free: 9.055 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002674/0.2355, allocations: 2.443 MB / 0.5847 GB, free: 6.605 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003717/0.2392, allocations: 2.762 MB / 0.5874 GB, free: 3.828 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01078/0.25, allocations: 8.794 MB / 0.596 GB, free: 11 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.2501, allocations: 0 / 0.596 GB, free: 11 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.2501, allocations: 0 / 0.596 GB, free: 11 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002744/0.2504, allocations: 0 / 0.596 GB, free: 11 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.01648/0.2669, allocations: 6.398 MB / 0.6023 GB, free: 4.52 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.2669, allocations: 8.031 kB / 0.6023 GB, free: 4.512 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01152/0.2784, allocations: 2.56 MB / 0.6048 GB, free: 1.945 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2938/0.5722, allocations: 3.95 MB / 0.6086 GB, free: 54.6 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003548/0.5726, allocations: 286.3 kB / 0.6089 GB, free: 54.59 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001774/0.5744, allocations: 390.3 kB / 0.6093 GB, free: 54.59 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02589/0.6003, allocations: 12 MB / 0.621 GB, free: 49.28 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000238/0.6006, allocations: 60.98 kB / 0.621 GB, free: 49.25 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006777/0.6013, allocations: 182.7 kB / 0.6212 GB, free: 49.16 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003923/0.6052, allocations: 2.143 MB / 0.6233 GB, free: 48.77 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02093/0.6262, allocations: 10.37 MB / 0.6334 GB, free: 45.08 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0498/0.676, allocations: 47.36 MB / 0.6797 GB, free: 13.88 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01534/0.6914, allocations: 5.833 MB / 0.6854 GB, free: 7.898 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004215/0.6957, allocations: 2.974 MB / 0.6883 GB, free: 4.906 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01484/0.7105, allocations: 8.885 MB / 0.697 GB, free: 12 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.625e-05/0.7106, allocations: 55.81 kB / 0.697 GB, free: 11.94 MB / 494.1 MB Notification: Performance of pre-optimization done (n=206): time 5.521e-06/0.7107, allocations: 4 kB / 0.697 GB, free: 11.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=262): time 0.1281/0.8388, allocations: 35.19 MB / 0.7314 GB, free: 8.797 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001477/0.839, allocations: 213.9 kB / 0.7316 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007614/0.8466, allocations: 4.769 MB / 0.7362 GB, free: 3.77 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0006691/0.8473, allocations: 61.7 kB / 0.7363 GB, free: 3.703 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003097/0.8504, allocations: 3.682 MB / 0.7399 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.00145/0.8519, allocations: 1.019 MB / 0.7409 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002189/0.8541, allocations: 1.429 MB / 0.7423 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.8542, allocations: 305.1 kB / 0.7426 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004794/0.859, allocations: 3.18 MB / 0.7457 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008809/0.8678, allocations: 7.032 MB / 0.7526 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01598/0.8838, allocations: 10.96 MB / 0.7633 GB, free: 4.281 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001153/0.884, allocations: 40 kB / 0.7633 GB, free: 4.242 MB / 0.545 GB Notification: Performance of matching and sorting (n=914) (initialization): time 0.03043/0.9144, allocations: 13.76 MB / 0.7767 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001061/0.9146, allocations: 62.81 kB / 0.7768 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001732/0.9148, allocations: 140.2 kB / 0.7769 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01364/0.9284, allocations: 4.377 MB / 0.7812 GB, free: 1.867 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004971/0.9334, allocations: 1.482 MB / 0.7827 GB, free: 392 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04392/0.9774, allocations: 29.04 MB / 0.811 GB, free: 2.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006333/0.9837, allocations: 411.5 kB / 0.8114 GB, free: 2.508 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00129/0.985, allocations: 404 kB / 0.8118 GB, free: 2.113 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 612 * Number of states: 0 () * Number of discrete variables: 42 (Universal1.cylinderColor[3],Universal1.cylinderColor[2],Universal1.cylinderColor[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[1],b3.color[3],b3.color[2],b3.color[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 (798): * Single equations (assignments): 792 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,50,50.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,21)} Notification: Performance of prepare postOptimizeDAE: time 0.004857/0.9899, allocations: 2.474 MB / 0.8142 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001125/0.991, allocations: 457 kB / 0.8146 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01838/1.009, allocations: 8.483 MB / 0.8229 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.294e-05/1.01, allocations: 28 kB / 0.823 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.581e-05/1.01, allocations: 12 kB / 0.823 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.874e-05/1.01, allocations: 19.89 kB / 0.823 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03394/1.044, allocations: 16.92 MB / 0.8395 GB, free: 5.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.117e-05/1.044, allocations: 7.938 kB / 0.8395 GB, free: 5.492 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001526/1.045, allocations: 308.1 kB / 0.8398 GB, free: 5.191 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01177/1.057, allocations: 3.963 MB / 0.8437 GB, free: 1.215 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000567/1.058, allocations: 52 kB / 0.8437 GB, free: 1.164 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3773/1.435, allocations: 27.79 MB / 0.8709 GB, free: 195.5 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.025e-06/1.435, allocations: 5.781 kB / 0.8709 GB, free: 195.5 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02023/1.455, allocations: 12.46 MB / 0.883 GB, free: 190.9 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001315/1.456, allocations: 0.5055 MB / 0.8835 GB, free: 190.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008054/1.457, allocations: 45.72 kB / 0.8836 GB, free: 190.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002155/1.459, allocations: 179.6 kB / 0.8838 GB, free: 190.7 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008306/1.46, allocations: 192 kB / 0.8839 GB, free: 190.7 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002084/1.461, allocations: 69.22 kB / 0.884 GB, free: 190.7 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.003973/1.465, allocations: 3.008 MB / 0.8869 GB, free: 189.7 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.81e-07/1.465, allocations: 3.312 kB / 0.8869 GB, free: 189.7 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00675/1.471, allocations: 1.454 MB / 0.8884 GB, free: 189.5 MB / 0.6231 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 (158): * Single equations (assignments): 152 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,43,50.0%), (2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005965/1.472, allocations: 185.6 kB / 0.8885 GB, free: 189.4 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01233/1.484, allocations: 8.474 MB / 0.8968 GB, free: 185.2 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 9.889e-06/1.484, allocations: 0 / 0.8968 GB, free: 185.2 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.005386/1.49, allocations: 3.539 MB / 0.9003 GB, free: 182.1 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003829/1.494, allocations: 0.5849 MB / 0.9008 GB, free: 181.6 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01934/1.513, allocations: 13.09 MB / 0.9136 GB, free: 168.9 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003839/1.517, allocations: 3.892 MB / 0.9174 GB, free: 165 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001241/1.518, allocations: 324.5 kB / 0.9177 GB, free: 164.6 MB / 0.6231 GB Notification: Performance of SimCode: time 1.012e-06/1.518, allocations: 0 / 0.9177 GB, free: 164.6 MB / 0.6231 GB Notification: Performance of Templates: time 0.1836/1.702, allocations: 142.4 MB / 1.057 GB, free: 22.28 MB / 0.6231 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/SphericalAndUniversal/SphericalAndUniversal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.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: 16.823049407918006]