Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.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.00244/0.00244, allocations: 95.61 kB / 20.96 MB, free: 3.453 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.002706/0.002706, allocations: 161.3 kB / 24.27 MB, free: 152 kB / 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 1.631/1.631, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3764/0.3764, allocations: 34.27 MB / 295.3 MB, free: 0.668 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 377.3 MB, free: 2.996 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.088e-05/3.234e-05, allocations: 2.312 kB / 377.3 MB, free: 2.992 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.01939/0.01942, allocations: 14.36 MB / 391.6 MB, free: 4.559 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01241/0.03183, allocations: 4.729 MB / 396.4 MB, free: 15.82 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004138/0.03597, allocations: 107.5 kB / 396.5 MB, free: 15.71 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008772/0.04474, allocations: 3.379 MB / 399.8 MB, free: 12.32 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00834/0.05308, allocations: 2.687 MB / 402.5 MB, free: 9.621 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003161/0.05624, allocations: 1.123 MB / 403.7 MB, free: 8.496 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01285/0.06909, allocations: 7.81 MB / 411.5 MB, free: 0.6719 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0076/0.07669, allocations: 4.235 MB / 415.7 MB, free: 12.37 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01051/0.0872, allocations: 3.383 MB / 419.1 MB, free: 8.977 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008635/0.09584, allocations: 3.652 MB / 422.7 MB, free: 5.316 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001856/0.09769, allocations: 496 kB / 423.2 MB, free: 4.832 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004243/0.1019, allocations: 1.478 MB / 424.7 MB, free: 3.352 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004921/0.1069, allocations: 3.062 MB / 427.8 MB, free: 288 kB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005613/0.1125, allocations: 1.865 MB / 429.6 MB, free: 14.41 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01896/0.1314, allocations: 10.56 MB / 440.2 MB, free: 3.816 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/0.1314, allocations: 0 / 440.2 MB, free: 3.816 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.416e-06/0.1314, allocations: 0 / 440.2 MB, free: 3.816 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0007605/0.1322, allocations: 0 / 440.2 MB, free: 3.816 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: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.2486/0.3808, allocations: 8.574 MB / 448.8 MB, free: 96.34 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.3809, allocations: 8.656 kB / 448.8 MB, free: 96.34 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01684/0.3977, allocations: 4.684 MB / 453.4 MB, free: 95.56 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01062/0.4083, allocations: 3.705 MB / 457.2 MB, free: 94.29 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002871/0.4086, allocations: 319.1 kB / 457.5 MB, free: 94.19 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001808/0.4104, allocations: 432.6 kB / 457.9 MB, free: 94.1 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01963/0.4301, allocations: 9.62 MB / 467.5 MB, free: 88.72 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001565/0.4302, allocations: 57.41 kB / 467.6 MB, free: 88.69 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005416/0.4308, allocations: 206.5 kB / 467.8 MB, free: 88.54 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004354/0.4351, allocations: 3.219 MB / 471 MB, free: 87.96 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01981/0.4549, allocations: 5.864 MB / 476.8 MB, free: 86.97 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07282/0.5277, allocations: 68.11 MB / 0.5322 GB, free: 22.65 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01019/0.5379, allocations: 3.111 MB / 0.5352 GB, free: 19.49 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002475/0.5404, allocations: 1.216 MB / 0.5364 GB, free: 18.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.019/0.5594, allocations: 8.583 MB / 0.5448 GB, free: 9.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.168e-05/0.5594, allocations: 63.39 kB / 0.5449 GB, free: 9.605 MB / 410.7 MB Notification: Performance of pre-optimization done (n=292): time 6.081e-06/0.5595, allocations: 0 / 0.5449 GB, free: 9.605 MB / 410.7 MB Notification: Performance of matching and sorting (n=342): time 0.1051/0.6646, allocations: 27.47 MB / 0.5717 GB, free: 14.14 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001741/0.6648, allocations: 214 kB / 0.5719 GB, free: 13.89 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01013/0.6749, allocations: 5.931 MB / 0.5777 GB, free: 7.934 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009024/0.6758, allocations: 69.7 kB / 0.5777 GB, free: 7.859 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00494/0.6807, allocations: 4.995 MB / 0.5826 GB, free: 2.816 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002522/0.6833, allocations: 1.454 MB / 0.584 GB, free: 1.352 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004207/0.6875, allocations: 2.287 MB / 0.5863 GB, free: 15.04 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002668/0.6877, allocations: 476.8 kB / 0.5867 GB, free: 14.57 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004598/0.6923, allocations: 1.778 MB / 0.5885 GB, free: 12.79 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01299/0.7053, allocations: 9.49 MB / 0.5977 GB, free: 15.94 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01979/0.7251, allocations: 12.37 MB / 0.6098 GB, free: 224 kB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002383/0.7253, allocations: 52 kB / 0.6099 GB, free: 172 kB / 474.7 MB Notification: Performance of matching and sorting (n=1186) (initialization): time 0.255/0.9803, allocations: 12.58 MB / 0.6221 GB, free: 128.5 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001246/0.9805, allocations: 82.84 kB / 0.6222 GB, free: 128.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002116/0.9807, allocations: 174.4 kB / 0.6224 GB, free: 128.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.024/1.005, allocations: 4.915 MB / 0.6272 GB, free: 128.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007833/1.013, allocations: 2.118 MB / 0.6293 GB, free: 128.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0196/1.032, allocations: 9.912 MB / 0.6389 GB, free: 124.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008502/1.041, allocations: 0.6164 MB / 0.6395 GB, free: 124.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002067/1.043, allocations: 0.5087 MB / 0.64 GB, free: 124.3 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 789 * Number of states: 0 () * Number of discrete variables: 45 (fixedFrame4.color_x[3],fixedFrame4.color_x[2],fixedFrame4.color_x[1],b3.color[3],b3.color[2],b3.color[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.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 (1095): * Single equations (assignments): 1087 * Array equations: 6 * 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 {(2,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004483/1.047, allocations: 0.9998 MB / 0.641 GB, free: 124 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001643/1.049, allocations: 0.565 MB / 0.6416 GB, free: 124 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0284/1.077, allocations: 7.391 MB / 0.6488 GB, free: 123.6 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001251/1.077, allocations: 61.83 kB / 0.6488 GB, free: 123.6 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.13e-05/1.077, allocations: 8.844 kB / 0.6488 GB, free: 123.6 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.852e-05/1.077, allocations: 16.05 kB / 0.6489 GB, free: 123.6 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04824/1.126, allocations: 17.31 MB / 0.6658 GB, free: 113.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-05/1.126, allocations: 5.812 kB / 0.6658 GB, free: 113.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003334/1.129, allocations: 0.5864 MB / 0.6663 GB, free: 113.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02088/1.15, allocations: 4.304 MB / 0.6705 GB, free: 110.2 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008474/1.151, allocations: 57.88 kB / 0.6706 GB, free: 110.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01525/1.166, allocations: 8.567 MB / 0.679 GB, free: 101.5 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/1.166, allocations: 12.77 kB / 0.679 GB, free: 101.4 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02763/1.194, allocations: 8.665 MB / 0.6874 GB, free: 92.83 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001717/1.195, allocations: 468.1 kB / 0.6879 GB, free: 92.38 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001212/1.197, allocations: 55.83 kB / 0.6879 GB, free: 92.32 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003342/1.2, allocations: 310.7 kB / 0.6882 GB, free: 92.02 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007856/1.201, allocations: 209.4 kB / 0.6884 GB, free: 91.82 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002651/1.201, allocations: 84 kB / 0.6885 GB, free: 91.73 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003498/1.204, allocations: 2.416 MB / 0.6909 GB, free: 89.32 MB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/1.204, allocations: 0 / 0.6909 GB, free: 89.32 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008487/1.213, allocations: 1.869 MB / 0.6927 GB, free: 87.46 MB / 474.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 (257): * Single equations (assignments): 249 * Array equations: 6 * 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 {(2,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008542/1.214, allocations: 216 kB / 0.6929 GB, free: 87.26 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01105/1.225, allocations: 6.371 MB / 0.6991 GB, free: 80.88 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.085e-05/1.225, allocations: 4 kB / 0.6991 GB, free: 80.88 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00348/1.228, allocations: 2.09 MB / 0.7012 GB, free: 78.77 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003489/1.232, allocations: 0.55 MB / 0.7017 GB, free: 78.25 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02056/1.252, allocations: 12.69 MB / 0.7141 GB, free: 65.39 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003941/1.256, allocations: 3.695 MB / 0.7177 GB, free: 61.66 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.005409/1.262, allocations: 2.381 MB / 0.72 GB, free: 59.27 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001462/1.263, allocations: 336.4 kB / 0.7204 GB, free: 58.95 MB / 474.7 MB Notification: Performance of SimCode: time 1.523e-06/1.263, allocations: 0 / 0.7204 GB, free: 58.95 MB / 474.7 MB Notification: Performance of Templates: time 0.2745/1.538, allocations: 75.15 MB / 0.7937 GB, free: 135.5 MB / 490.7 MB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/UniversalSpherical/UniversalSpherical.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.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.792491524014622]