Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.002054/0.002054, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002267/0.002267, allocations: 165.3 kB / 24.28 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.598/1.598, allocations: 177.2 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.3784/0.3784, allocations: 32.8 MB / 293.9 MB, free: 1.195 MB / 266.7 MB " [Timeout remaining time 179] 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.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.0.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.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 375.3 MB, free: 5 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.204e-05/3.363e-05, allocations: 5.547 kB / 375.3 MB, free: 4.996 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.02025/0.02028, allocations: 14.36 MB / 389.6 MB, free: 6.566 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0122/0.03248, allocations: 4.733 MB / 394.4 MB, free: 1.82 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003258/0.03574, allocations: 111.5 kB / 394.5 MB, free: 1.711 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007896/0.04364, allocations: 3.367 MB / 397.8 MB, free: 14.33 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008152/0.05179, allocations: 2.691 MB / 400.5 MB, free: 11.63 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003066/0.05486, allocations: 1.127 MB / 401.6 MB, free: 10.5 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01221/0.06707, allocations: 7.807 MB / 409.5 MB, free: 2.684 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006518/0.07358, allocations: 4.239 MB / 413.7 MB, free: 14.38 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006621/0.0802, allocations: 3.391 MB / 417.1 MB, free: 10.98 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006562/0.08677, allocations: 3.644 MB / 420.7 MB, free: 7.324 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001471/0.08824, allocations: 496 kB / 421.2 MB, free: 6.84 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003347/0.09159, allocations: 1.471 MB / 422.7 MB, free: 5.367 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003838/0.09542, allocations: 3.07 MB / 425.8 MB, free: 2.289 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003649/0.09907, allocations: 1.857 MB / 427.6 MB, free: 436 kB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01525/0.1143, allocations: 10.57 MB / 438.2 MB, free: 5.82 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.1143, allocations: 0 / 438.2 MB, free: 5.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1143, allocations: 0 / 438.2 MB, free: 5.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003204/0.1146, allocations: 0 / 438.2 MB, free: 5.82 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.1911/0.3058, allocations: 8.581 MB / 446.8 MB, free: 97.74 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/0.3058, allocations: 13.56 kB / 446.8 MB, free: 97.74 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01722/0.323, allocations: 4.666 MB / 451.4 MB, free: 96.97 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01083/0.3339, allocations: 3.709 MB / 455.1 MB, free: 95.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002758/0.3341, allocations: 322 kB / 455.5 MB, free: 95.61 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001869/0.336, allocations: 437.4 kB / 455.9 MB, free: 95.51 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02041/0.3564, allocations: 9.61 MB / 465.5 MB, free: 90.15 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001706/0.3566, allocations: 65.5 kB / 465.6 MB, free: 90.11 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006682/0.3573, allocations: 202.3 kB / 465.8 MB, free: 89.97 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004413/0.3617, allocations: 3.219 MB / 469 MB, free: 89.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02014/0.3818, allocations: 5.861 MB / 474.8 MB, free: 88.41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07442/0.4562, allocations: 68.13 MB / 0.5302 GB, free: 25.83 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01024/0.4665, allocations: 3.097 MB / 0.5333 GB, free: 22.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002481/0.469, allocations: 1.216 MB / 0.5345 GB, free: 21.44 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01864/0.4876, allocations: 8.575 MB / 0.5428 GB, free: 12.88 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.524e-05/0.4876, allocations: 71.31 kB / 0.5429 GB, free: 12.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=292): time 6.883e-06/0.4876, allocations: 0 / 0.5429 GB, free: 12.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=342): time 0.1076/0.5952, allocations: 27.45 MB / 0.5697 GB, free: 1.34 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002023/0.5954, allocations: 218 kB / 0.5699 GB, free: 1.082 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01105/0.6065, allocations: 5.927 MB / 0.5757 GB, free: 11.13 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009033/0.6074, allocations: 69.7 kB / 0.5758 GB, free: 11.06 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00554/0.6129, allocations: 5.003 MB / 0.5807 GB, free: 6.008 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00278/0.6157, allocations: 1.454 MB / 0.5821 GB, free: 4.543 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004429/0.6201, allocations: 2.287 MB / 0.5843 GB, free: 2.238 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002661/0.6204, allocations: 480.8 kB / 0.5848 GB, free: 1.766 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004277/0.6247, allocations: 1.779 MB / 0.5865 GB, free: 15.98 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01249/0.6371, allocations: 9.482 MB / 0.5958 GB, free: 3.141 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2535/0.8907, allocations: 12.37 MB / 0.6078 GB, free: 106.8 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002278/0.8909, allocations: 50.19 kB / 0.6079 GB, free: 106.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=1186) (initialization): time 0.03972/0.9306, allocations: 12.58 MB / 0.6202 GB, free: 105.3 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001329/0.9308, allocations: 78.66 kB / 0.6203 GB, free: 105.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002502/0.931, allocations: 175.2 kB / 0.6204 GB, free: 105.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02369/0.9547, allocations: 4.923 MB / 0.6252 GB, free: 105.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007279/0.962, allocations: 2.118 MB / 0.6273 GB, free: 105.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01943/0.9814, allocations: 9.923 MB / 0.637 GB, free: 101.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008146/0.9895, allocations: 0.6084 MB / 0.6376 GB, free: 101.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002011/0.9916, allocations: 0.5098 MB / 0.6381 GB, free: 101.1 MB / 458.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.004282/0.9958, allocations: 1 MB / 0.6391 GB, free: 100.5 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001547/0.9974, allocations: 0.5624 MB / 0.6396 GB, free: 100.4 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02728/1.025, allocations: 7.391 MB / 0.6468 GB, free: 99.05 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001325/1.025, allocations: 56 kB / 0.6469 GB, free: 99.04 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.119e-05/1.025, allocations: 7.562 kB / 0.6469 GB, free: 99.04 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.127e-05/1.025, allocations: 18.08 kB / 0.6469 GB, free: 99.04 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04627/1.071, allocations: 17.32 MB / 0.6638 GB, free: 88.05 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-05/1.071, allocations: 4 kB / 0.6638 GB, free: 88.05 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003138/1.074, allocations: 0.5856 MB / 0.6644 GB, free: 87.46 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02059/1.095, allocations: 4.3 MB / 0.6686 GB, free: 83.15 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009021/1.096, allocations: 59.17 kB / 0.6686 GB, free: 83.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01538/1.111, allocations: 8.569 MB / 0.677 GB, free: 74.38 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.533e-06/1.111, allocations: 15.06 kB / 0.677 GB, free: 74.37 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02659/1.138, allocations: 8.664 MB / 0.6855 GB, free: 65.75 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001661/1.139, allocations: 467.7 kB / 0.6859 GB, free: 65.3 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001111/1.141, allocations: 56 kB / 0.686 GB, free: 65.25 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003246/1.144, allocations: 307.4 kB / 0.6863 GB, free: 64.95 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007888/1.145, allocations: 205.3 kB / 0.6865 GB, free: 64.75 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002851/1.145, allocations: 87.98 kB / 0.6866 GB, free: 64.66 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003382/1.148, allocations: 2.42 MB / 0.6889 GB, free: 62.25 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/1.148, allocations: 0 / 0.6889 GB, free: 62.25 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007441/1.156, allocations: 1.862 MB / 0.6907 GB, free: 60.39 MB / 458.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.0006652/1.156, allocations: 227.5 kB / 0.691 GB, free: 60.18 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01156/1.168, allocations: 6.36 MB / 0.6972 GB, free: 53.81 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.011e-05/1.168, allocations: 8.109 kB / 0.6972 GB, free: 53.8 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003727/1.172, allocations: 2.085 MB / 0.6992 GB, free: 51.7 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004188/1.176, allocations: 0.5458 MB / 0.6997 GB, free: 51.18 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02348/1.199, allocations: 12.7 MB / 0.7121 GB, free: 38.31 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00479/1.204, allocations: 3.69 MB / 0.7158 GB, free: 34.59 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.005592/1.21, allocations: 2.381 MB / 0.7181 GB, free: 32.2 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001458/1.211, allocations: 340.4 kB / 0.7184 GB, free: 31.87 MB / 458.7 MB Notification: Performance of SimCode: time 2.745e-06/1.211, allocations: 0 / 0.7184 GB, free: 31.87 MB / 458.7 MB Notification: Performance of Templates: time 0.2795/1.491, allocations: 75.15 MB / 0.7918 GB, free: 137.5 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/UniversalSpherical/UniversalSpherical.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.485838338034227]