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.001569/0.001569, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001819/0.001819, allocations: 206 kB / 23.72 MB, free: 4.391 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.533/1.533, allocations: 230.5 MB / 257.4 MB, free: 7.77 MB / 206.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.23/0.23, allocations: 46.95 MB / 360.8 MB, free: 3.902 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.002544/0.002544, allocations: 79.88 kB / 0.4966 GB, free: 7.031 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4184/0.421, allocations: 66.08 MB / 0.5612 GB, free: 3.938 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.01594/0.4369, allocations: 11.66 MB / 0.5725 GB, free: 8.223 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01237/0.4493, allocations: 4.591 MB / 0.577 GB, free: 3.621 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00274/0.452, allocations: 115.4 kB / 0.5771 GB, free: 3.508 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007832/0.4599, allocations: 3.641 MB / 0.5807 GB, free: 15.86 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006342/0.4662, allocations: 2.225 MB / 0.5829 GB, free: 13.62 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003032/0.4692, allocations: 1.08 MB / 0.5839 GB, free: 12.54 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01118/0.4804, allocations: 6.67 MB / 0.5904 GB, free: 5.859 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007049/0.4875, allocations: 3.523 MB / 0.5939 GB, free: 2.27 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005474/0.4929, allocations: 2.06 MB / 0.5959 GB, free: 208 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005398/0.4983, allocations: 2.784 MB / 0.5986 GB, free: 13.41 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001547/0.4999, allocations: 428 kB / 0.599 GB, free: 12.99 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003777/0.5037, allocations: 1.346 MB / 0.6003 GB, free: 11.64 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004179/0.5078, allocations: 2.524 MB / 0.6028 GB, free: 9.113 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00504/0.5129, allocations: 2.066 MB / 0.6048 GB, free: 7.035 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01602/0.5289, allocations: 8.833 MB / 0.6134 GB, free: 14.16 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.012e-05/0.5289, allocations: 0 / 0.6134 GB, free: 14.16 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.5289, allocations: 0 / 0.6134 GB, free: 14.16 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004399/0.5293, allocations: 0 / 0.6134 GB, free: 14.16 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.02021/0.5496, allocations: 6.326 MB / 0.6196 GB, free: 7.773 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.5496, allocations: 8.031 kB / 0.6196 GB, free: 7.766 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01219/0.5618, allocations: 2.56 MB / 0.6221 GB, free: 5.199 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01112/0.5729, allocations: 3.891 MB / 0.6259 GB, free: 1.246 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000327/0.5732, allocations: 283.7 kB / 0.6262 GB, free: 0.9688 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001553/0.5748, allocations: 387.7 kB / 0.6266 GB, free: 0.5898 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02795/0.6027, allocations: 12.05 MB / 0.6383 GB, free: 3.738 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003703/0.6031, allocations: 67.52 kB / 0.6384 GB, free: 3.672 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001899/0.605, allocations: 183.8 kB / 0.6386 GB, free: 3.492 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004188/0.6092, allocations: 2.143 MB / 0.6407 GB, free: 1.344 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0251/0.6343, allocations: 10.33 MB / 0.6507 GB, free: 7.004 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07358/0.7079, allocations: 43.63 MB / 0.6934 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01546/0.7233, allocations: 5.159 MB / 0.6984 GB, free: 5.031 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004484/0.7278, allocations: 2.689 MB / 0.701 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01782/0.7456, allocations: 7.746 MB / 0.7086 GB, free: 10.54 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.777e-05/0.7457, allocations: 55.86 kB / 0.7086 GB, free: 10.48 MB / 0.545 GB Notification: Performance of pre-optimization done (n=206): time 6.452e-06/0.7457, allocations: 3.938 kB / 0.7086 GB, free: 10.47 MB / 0.545 GB Notification: Performance of matching and sorting (n=262): time 0.4654/1.211, allocations: 35.07 MB / 0.7429 GB, free: 153.2 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/1.211, allocations: 215.4 kB / 0.7431 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005846/1.217, allocations: 4.446 MB / 0.7474 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000579/1.218, allocations: 61.61 kB / 0.7475 GB, free: 151.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002301/1.22, allocations: 3.691 MB / 0.7511 GB, free: 149 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001115/1.221, allocations: 1.019 MB / 0.7521 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001752/1.223, allocations: 1.434 MB / 0.7535 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.7e-05/1.223, allocations: 308.8 kB / 0.7538 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003589/1.226, allocations: 3.171 MB / 0.7569 GB, free: 146.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005018/1.231, allocations: 7.092 MB / 0.7638 GB, free: 138.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009449/1.241, allocations: 10.95 MB / 0.7745 GB, free: 125.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001165/1.241, allocations: 42.25 kB / 0.7745 GB, free: 125.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=914) (initialization): time 0.02461/1.266, allocations: 13.68 MB / 0.7879 GB, free: 112 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001948/1.266, allocations: 64 kB / 0.788 GB, free: 112 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000261/1.266, allocations: 132 kB / 0.7881 GB, free: 111.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01179/1.278, allocations: 4.385 MB / 0.7924 GB, free: 107.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004939/1.283, allocations: 1.482 MB / 0.7938 GB, free: 106 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0359/1.319, allocations: 28.28 MB / 0.8214 GB, free: 77.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006374/1.325, allocations: 411.5 kB / 0.8218 GB, free: 77 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001292/1.326, allocations: 408 kB / 0.8222 GB, free: 76.61 MB / 0.5606 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.004941/1.331, allocations: 2.474 MB / 0.8246 GB, free: 74.12 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001363/1.333, allocations: 421.2 kB / 0.825 GB, free: 73.71 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01624/1.349, allocations: 8.38 MB / 0.8332 GB, free: 65.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-05/1.349, allocations: 24.88 kB / 0.8332 GB, free: 65.28 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-05/1.349, allocations: 18.72 kB / 0.8333 GB, free: 65.26 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.841e-05/1.349, allocations: 15.89 kB / 0.8333 GB, free: 65.25 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03208/1.381, allocations: 15.17 MB / 0.8481 GB, free: 50.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.55e-05/1.381, allocations: 4 kB / 0.8481 GB, free: 50.02 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001523/1.383, allocations: 303.5 kB / 0.8484 GB, free: 49.73 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01014/1.393, allocations: 3.966 MB / 0.8523 GB, free: 45.75 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006559/1.394, allocations: 44 kB / 0.8523 GB, free: 45.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0316/1.425, allocations: 27.09 MB / 0.8787 GB, free: 18.31 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.602e-06/1.425, allocations: 11.94 kB / 0.8788 GB, free: 18.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02064/1.446, allocations: 12.36 MB / 0.8908 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001658/1.447, allocations: 392.9 kB / 0.8912 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00145/1.449, allocations: 44 kB / 0.8912 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00298/1.452, allocations: 175.8 kB / 0.8914 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008725/1.453, allocations: 197.9 kB / 0.8916 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003185/1.453, allocations: 75.92 kB / 0.8917 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005243/1.458, allocations: 2.617 MB / 0.8942 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/1.458, allocations: 0 / 0.8942 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.009024/1.467, allocations: 1.437 MB / 0.8956 GB, free: 0.8789 MB / 0.5606 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.001029/1.468, allocations: 194.7 kB / 0.8958 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01684/1.485, allocations: 8.151 MB / 0.9038 GB, free: 8.512 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.434e-05/1.485, allocations: 0 / 0.9038 GB, free: 8.512 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006865/1.492, allocations: 3.316 MB / 0.907 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005142/1.497, allocations: 0.513 MB / 0.9075 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02821/1.525, allocations: 12.65 MB / 0.9199 GB, free: 7.898 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0069/1.532, allocations: 3.394 MB / 0.9232 GB, free: 4.469 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005418/1.538, allocations: 1.949 MB / 0.9251 GB, free: 2.512 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001124/1.539, allocations: 259.4 kB / 0.9253 GB, free: 2.258 MB / 0.5919 GB Notification: Performance of SimCode: time 1.222e-06/1.539, allocations: 0 / 0.9253 GB, free: 2.258 MB / 0.5919 GB Notification: Performance of Templates: time 0.4181/1.957, allocations: 69.98 MB / 0.9937 GB, free: 210.5 MB / 0.6387 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/SphericalAndUniversal/SphericalAndUniversal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 8.723175588995218]