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.001355/0.001355, allocations: 83.75 kB / 21.19 MB, free: 3.375 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.001666/0.001666, allocations: 165.4 kB / 24.56 MB, free: 8 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.044/1.044, allocations: 177.1 MB / 205 MB, free: 5.285 MB / 186.7 MB " [Timeout remaining time 179] 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.2837/0.2837, allocations: 32.81 MB / 294.3 MB, free: 1.246 MB / 266.7 MB " [Timeout remaining time 180] 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.693e-06/1.693e-06, allocations: 0 / 376 MB, free: 4.703 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.967e-05/3.136e-05, allocations: 6.25 kB / 376 MB, free: 4.695 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.01267/0.0127, allocations: 14.45 MB / 390.5 MB, free: 6.176 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01019/0.02289, allocations: 4.745 MB / 395.2 MB, free: 1.418 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003035/0.02593, allocations: 107.5 kB / 395.3 MB, free: 1.312 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004981/0.03091, allocations: 3.387 MB / 398.7 MB, free: 13.91 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00724/0.03815, allocations: 2.699 MB / 401.4 MB, free: 11.2 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002207/0.04035, allocations: 1.119 MB / 402.5 MB, free: 10.08 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.009752/0.05011, allocations: 7.818 MB / 410.3 MB, free: 2.254 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006841/0.05695, allocations: 4.239 MB / 414.6 MB, free: 13.95 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008523/0.06547, allocations: 4.444 MB / 419 MB, free: 9.492 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006493/0.07196, allocations: 3.574 MB / 422.6 MB, free: 5.91 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002098/0.07406, allocations: 492 kB / 423.1 MB, free: 5.43 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003496/0.07756, allocations: 1.467 MB / 424.5 MB, free: 3.961 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003043/0.0806, allocations: 3.047 MB / 427.6 MB, free: 0.9062 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003073/0.08367, allocations: 1.853 MB / 429.4 MB, free: 15.05 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009878/0.09355, allocations: 6.873 MB / 436.3 MB, free: 8.148 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.778e-06/0.09356, allocations: 0 / 436.3 MB, free: 8.148 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.09356, allocations: 3.938 kB / 436.3 MB, free: 8.145 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003665/0.09393, allocations: 0 / 436.3 MB, free: 8.145 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.01371/0.1076, allocations: 7.945 MB / 444.3 MB, free: 116 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.874e-05/0.1077, allocations: 12.03 kB / 444.3 MB, free: 104 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2033/0.311, allocations: 4.58 MB / 448.8 MB, free: 93.98 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006596/0.3176, allocations: 3.489 MB / 452.3 MB, free: 93.63 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000232/0.3178, allocations: 319.9 kB / 452.6 MB, free: 93.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001453/0.3193, allocations: 434.8 kB / 453.1 MB, free: 93.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01415/0.3334, allocations: 9.021 MB / 462.1 MB, free: 89.83 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001574/0.3336, allocations: 60.17 kB / 462.2 MB, free: 89.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004316/0.334, allocations: 203.6 kB / 462.4 MB, free: 89.74 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002627/0.3367, allocations: 3.162 MB / 465.5 MB, free: 89.21 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01186/0.3485, allocations: 5.12 MB / 470.6 MB, free: 88.34 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05688/0.4054, allocations: 60.14 MB / 0.5183 GB, free: 39.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008388/0.4138, allocations: 2.816 MB / 0.5211 GB, free: 36.91 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001983/0.4158, allocations: 1.041 MB / 0.5221 GB, free: 35.96 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01254/0.4283, allocations: 7.526 MB / 0.5294 GB, free: 29.05 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.246e-05/0.4284, allocations: 67.33 kB / 0.5295 GB, free: 28.98 MB / 410.7 MB Notification: Performance of pre-optimization done (n=272): time 6.863e-06/0.4284, allocations: 0 / 0.5295 GB, free: 28.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=303): time 0.03676/0.4651, allocations: 16.11 MB / 0.5452 GB, free: 13 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.844e-05/0.4652, allocations: 213.9 kB / 0.5454 GB, free: 12.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00467/0.4699, allocations: 4.844 MB / 0.5502 GB, free: 7.902 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003113/0.4702, allocations: 65.7 kB / 0.5502 GB, free: 7.832 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001901/0.4721, allocations: 4.813 MB / 0.5549 GB, free: 3.055 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008748/0.4729, allocations: 1.229 MB / 0.5561 GB, free: 1.84 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001487/0.4744, allocations: 1.902 MB / 0.558 GB, free: 15.92 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.4746, allocations: 484.7 kB / 0.5585 GB, free: 15.45 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001939/0.4765, allocations: 1.161 MB / 0.5596 GB, free: 14.28 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005764/0.4823, allocations: 8.842 MB / 0.5682 GB, free: 1.949 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01112/0.4934, allocations: 10.95 MB / 0.5789 GB, free: 3.551 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002145/0.4936, allocations: 52 kB / 0.579 GB, free: 3.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=1175) (initialization): time 0.01536/0.5089, allocations: 8.367 MB / 0.5871 GB, free: 11.09 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.001e-05/0.509, allocations: 83.94 kB / 0.5872 GB, free: 11.01 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001761/0.5092, allocations: 180 kB / 0.5874 GB, free: 10.84 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002326/0.5115, allocations: 1.024 MB / 0.5884 GB, free: 9.809 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004948/0.5165, allocations: 2.117 MB / 0.5905 GB, free: 7.688 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006156/0.5226, allocations: 5.854 MB / 0.5962 GB, free: 1.602 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005592/0.5282, allocations: 0.5735 MB / 0.5967 GB, free: 1.027 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001426/0.5297, allocations: 0.5039 MB / 0.5972 GB, free: 0.5234 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 823 * 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 (1108): * Single equations (assignments): 1100 * 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,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.2055/0.7352, allocations: 0.8784 MB / 0.5981 GB, free: 116.5 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001111/0.7363, allocations: 0.5426 MB / 0.5986 GB, free: 116.5 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004659/0.7409, allocations: 2.866 MB / 0.6014 GB, free: 116.4 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.737e-05/0.741, allocations: 55.34 kB / 0.6015 GB, free: 116.4 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.317e-05/0.741, allocations: 5.312 kB / 0.6015 GB, free: 116.4 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.75e-05/0.741, allocations: 12.7 kB / 0.6015 GB, free: 116.4 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0156/0.7566, allocations: 9.342 MB / 0.6106 GB, free: 115.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.718e-05/0.7566, allocations: 6.219 kB / 0.6106 GB, free: 115.3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001391/0.758, allocations: 0.5249 MB / 0.6111 GB, free: 115.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001801/0.7598, allocations: 0.7583 MB / 0.6119 GB, free: 115.3 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001857/0.76, allocations: 49.34 kB / 0.6119 GB, free: 115.3 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003744/0.7638, allocations: 4.844 MB / 0.6166 GB, free: 111.7 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.7638, allocations: 5 kB / 0.6166 GB, free: 111.7 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006083/0.7699, allocations: 4.294 MB / 0.6208 GB, free: 110.7 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00105/0.7709, allocations: 466.2 kB / 0.6213 GB, free: 110.7 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000406/0.7713, allocations: 47.95 kB / 0.6213 GB, free: 110.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001163/0.7725, allocations: 239.7 kB / 0.6216 GB, free: 110.7 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003302/0.7728, allocations: 177.1 kB / 0.6217 GB, free: 110.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001322/0.7729, allocations: 78.77 kB / 0.6218 GB, free: 110.7 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002676/0.7756, allocations: 2.056 MB / 0.6238 GB, free: 110.4 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.7756, allocations: 0 / 0.6238 GB, free: 110.4 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004813/0.7804, allocations: 1.568 MB / 0.6253 GB, free: 110.4 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 (239): * Single equations (assignments): 231 * 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,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004667/0.7809, allocations: 211.5 kB / 0.6255 GB, free: 110.4 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007064/0.788, allocations: 4.723 MB / 0.6302 GB, free: 109.3 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.107e-06/0.788, allocations: 1.25 kB / 0.6302 GB, free: 109.3 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001989/0.79, allocations: 1.307 MB / 0.6314 GB, free: 108.9 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002427/0.7924, allocations: 0.5358 MB / 0.632 GB, free: 108.7 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01676/0.8091, allocations: 11.57 MB / 0.6433 GB, free: 103.1 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00189/0.811, allocations: 1.832 MB / 0.645 GB, free: 102.5 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004484/0.8155, allocations: 2.386 MB / 0.6474 GB, free: 102.3 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001094/0.8166, allocations: 331.8 kB / 0.6477 GB, free: 102.3 MB / 458.7 MB Notification: Performance of SimCode: time 2.335e-06/0.8166, allocations: 0 / 0.6477 GB, free: 102.3 MB / 458.7 MB Notification: Performance of Templates: time 0.06726/0.8839, allocations: 48.47 MB / 0.695 GB, free: 59.9 MB / 458.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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.137855212204158]