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.001304/0.001304, allocations: 82.25 kB / 21.25 MB, free: 0.5469 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.001735/0.001735, allocations: 159.3 kB / 24.5 MB, free: 3.719 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.459/1.459, allocations: 177.1 MB / 204.7 MB, free: 8.941 MB / 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.2132/0.2132, allocations: 34.26 MB / 295.4 MB, free: 14.48 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.002468/0.002468, allocations: 83.86 kB / 443.1 MB, free: 6.496 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3356, allocations: 66.06 MB / 0.4973 GB, free: 29.76 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.00977/0.3454, allocations: 11.68 MB / 0.5087 GB, free: 22.14 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008261/0.3536, allocations: 4.574 MB / 0.5131 GB, free: 19.21 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002091/0.3557, allocations: 113.2 kB / 0.5132 GB, free: 19.18 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006364/0.3621, allocations: 3.639 MB / 0.5168 GB, free: 17.62 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005624/0.3677, allocations: 2.225 MB / 0.519 GB, free: 16.57 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002332/0.37, allocations: 1.081 MB / 0.52 GB, free: 16.11 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.009371/0.3794, allocations: 6.669 MB / 0.5265 GB, free: 13.63 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005098/0.3845, allocations: 3.526 MB / 0.53 GB, free: 11.99 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004585/0.3891, allocations: 2.06 MB / 0.532 GB, free: 11.12 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006699/0.3958, allocations: 2.789 MB / 0.5347 GB, free: 10.12 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002358/0.3982, allocations: 433 kB / 0.5351 GB, free: 10.12 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004063/0.4022, allocations: 1.342 MB / 0.5364 GB, free: 9.641 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003424/0.4056, allocations: 2.527 MB / 0.5389 GB, free: 8.148 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002999/0.4086, allocations: 2.064 MB / 0.5409 GB, free: 6.766 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008595/0.4172, allocations: 8.839 MB / 0.5496 GB, free: 15.86 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.4172, allocations: 0 / 0.5496 GB, free: 15.86 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.4173, allocations: 0 / 0.5496 GB, free: 15.86 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003158/0.4176, allocations: 0 / 0.5496 GB, free: 15.86 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.01567/0.4332, allocations: 6.318 MB / 0.5557 GB, free: 9.48 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.4333, allocations: 12.03 kB / 0.5557 GB, free: 9.469 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01167/0.4449, allocations: 2.65 MB / 0.5583 GB, free: 6.812 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009407/0.4544, allocations: 3.891 MB / 0.5621 GB, free: 2.859 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002712/0.4546, allocations: 283.7 kB / 0.5624 GB, free: 2.582 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001207/0.4558, allocations: 391.7 kB / 0.5628 GB, free: 2.199 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02446/0.4803, allocations: 12.06 MB / 0.5745 GB, free: 5.34 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000172/0.4805, allocations: 59.58 kB / 0.5746 GB, free: 5.281 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005196/0.481, allocations: 183.8 kB / 0.5748 GB, free: 5.102 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003483/0.4845, allocations: 2.139 MB / 0.5769 GB, free: 2.957 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02141/0.5059, allocations: 10.34 MB / 0.587 GB, free: 8.605 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06289/0.5688, allocations: 43.78 MB / 0.6297 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01567/0.5844, allocations: 5.322 MB / 0.6349 GB, free: 6.316 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004021/0.5885, allocations: 2.692 MB / 0.6375 GB, free: 3.609 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01449/0.6029, allocations: 7.796 MB / 0.6451 GB, free: 11.77 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.619e-05/0.603, allocations: 55.81 kB / 0.6452 GB, free: 11.71 MB / 0.545 GB Notification: Performance of pre-optimization done (n=206): time 5.06e-06/0.603, allocations: 0 / 0.6452 GB, free: 11.71 MB / 0.545 GB Notification: Performance of matching and sorting (n=262): time 0.133/0.736, allocations: 36.08 MB / 0.6804 GB, free: 7.637 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001462/0.7362, allocations: 213.9 kB / 0.6806 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006747/0.7429, allocations: 4.448 MB / 0.685 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0009551/0.7439, allocations: 61.7 kB / 0.685 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.253/0.9969, allocations: 3.685 MB / 0.6886 GB, free: 149.6 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001269/0.9982, allocations: 1.022 MB / 0.6896 GB, free: 149.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002232/1, allocations: 1.43 MB / 0.691 GB, free: 149.3 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.066e-05/1, allocations: 303.1 kB / 0.6913 GB, free: 149 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004467/1.005, allocations: 3.181 MB / 0.6944 GB, free: 147.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004993/1.01, allocations: 7.089 MB / 0.7014 GB, free: 141.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009898/1.02, allocations: 10.95 MB / 0.712 GB, free: 133.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001096/1.02, allocations: 39.28 kB / 0.7121 GB, free: 133.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=914) (initialization): time 0.03078/1.051, allocations: 13.66 MB / 0.7254 GB, free: 128.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001319/1.051, allocations: 72.12 kB / 0.7255 GB, free: 128.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002152/1.051, allocations: 133.4 kB / 0.7256 GB, free: 128.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01312/1.064, allocations: 4.386 MB / 0.7299 GB, free: 127.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004932/1.069, allocations: 1.476 MB / 0.7313 GB, free: 127.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03256/1.102, allocations: 28.28 MB / 0.759 GB, free: 110.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005498/1.107, allocations: 405.8 kB / 0.7593 GB, free: 110.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009037/1.108, allocations: 415.6 kB / 0.7597 GB, free: 109.7 MB / 0.5762 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.004223/1.112, allocations: 2.473 MB / 0.7622 GB, free: 107.6 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009989/1.113, allocations: 413.4 kB / 0.7626 GB, free: 107.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01491/1.128, allocations: 8.381 MB / 0.7707 GB, free: 99.22 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.636e-05/1.128, allocations: 31.94 kB / 0.7708 GB, free: 99.19 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-05/1.128, allocations: 12 kB / 0.7708 GB, free: 99.18 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.356e-05/1.128, allocations: 16.61 kB / 0.7708 GB, free: 99.16 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02522/1.154, allocations: 15.21 MB / 0.7857 GB, free: 83.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.697e-05/1.154, allocations: 4 kB / 0.7857 GB, free: 83.93 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001361/1.155, allocations: 295.6 kB / 0.7859 GB, free: 83.64 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009634/1.165, allocations: 3.961 MB / 0.7898 GB, free: 79.66 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000347/1.165, allocations: 48 kB / 0.7899 GB, free: 79.62 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02917/1.194, allocations: 27.09 MB / 0.8163 GB, free: 52.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-06/1.194, allocations: 16.81 kB / 0.8163 GB, free: 52.22 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01993/1.214, allocations: 12.36 MB / 0.8284 GB, free: 39.73 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001156/1.215, allocations: 385.9 kB / 0.8288 GB, free: 39.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005995/1.216, allocations: 51.98 kB / 0.8288 GB, free: 39.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00209/1.218, allocations: 171.8 kB / 0.829 GB, free: 39.14 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006607/1.219, allocations: 202 kB / 0.8292 GB, free: 38.94 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002026/1.219, allocations: 67.52 kB / 0.8292 GB, free: 38.88 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003105/1.222, allocations: 2.625 MB / 0.8318 GB, free: 36.25 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/1.222, allocations: 64 / 0.8318 GB, free: 36.25 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005953/1.228, allocations: 1.443 MB / 0.8332 GB, free: 34.81 MB / 0.5762 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.00045/1.228, allocations: 183.5 kB / 0.8334 GB, free: 34.63 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01158/1.24, allocations: 8.147 MB / 0.8413 GB, free: 26.46 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.738e-06/1.24, allocations: 0 / 0.8413 GB, free: 26.46 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004702/1.245, allocations: 3.33 MB / 0.8446 GB, free: 23.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003013/1.248, allocations: 0.5164 MB / 0.8451 GB, free: 22.59 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01693/1.264, allocations: 12.64 MB / 0.8574 GB, free: 9.871 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003569/1.268, allocations: 3.398 MB / 0.8608 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003871/1.272, allocations: 1.953 MB / 0.8627 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006744/1.273, allocations: 256.5 kB / 0.8629 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of SimCode: time 7.52e-07/1.273, allocations: 4 kB / 0.8629 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of Templates: time 0.112/1.385, allocations: 64.37 MB / 0.9258 GB, free: 4.27 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 -s ida -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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/SphericalAndUniversal/SphericalAndUniversal.csv","/var/lib/jenkins1/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.048685907036997]