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.001408/0.001408, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001442/0.001442, allocations: 164.4 kB / 24.82 MB, free: 9.266 MB / 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.1/1.1, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] 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.3225/0.3225, allocations: 34.26 MB / 296.1 MB, free: 0.7266 MB / 266.7 MB " [Timeout remaining time 180] 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.663e-06/1.663e-06, allocations: 0 / 378.5 MB, free: 2.422 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.112e-05/2.278e-05, allocations: 5.266 kB / 378.5 MB, free: 2.418 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.01569/0.01571, allocations: 14.08 MB / 392.6 MB, free: 4.266 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008988/0.0247, allocations: 4.706 MB / 397.3 MB, free: 15.55 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001071/0.02577, allocations: 107.5 kB / 397.4 MB, free: 15.44 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003224/0.029, allocations: 3.344 MB / 400.7 MB, free: 12.09 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003756/0.03275, allocations: 2.699 MB / 403.4 MB, free: 9.375 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00141/0.03416, allocations: 1.119 MB / 404.5 MB, free: 8.254 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006409/0.04057, allocations: 7.815 MB / 412.3 MB, free: 436 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004428/0.045, allocations: 4.247 MB / 416.6 MB, free: 12.11 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005177/0.05017, allocations: 4.448 MB / 421 MB, free: 7.652 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003401/0.05357, allocations: 3.577 MB / 424.6 MB, free: 4.066 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005322/0.05411, allocations: 492 kB / 425.1 MB, free: 3.586 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002018/0.05612, allocations: 1.455 MB / 426.6 MB, free: 2.129 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00179/0.05792, allocations: 3.062 MB / 429.6 MB, free: 15.06 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001392/0.05931, allocations: 1.846 MB / 431.5 MB, free: 13.21 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005155/0.06446, allocations: 6.874 MB / 438.3 MB, free: 6.309 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.06447, allocations: 0 / 438.3 MB, free: 6.309 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.06447, allocations: 0 / 438.3 MB, free: 6.309 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.499e-05/0.06451, allocations: 3.938 kB / 438.3 MB, free: 6.305 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.2006/0.2652, allocations: 7.398 MB / 445.7 MB, free: 92.65 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.2652, allocations: 10.77 kB / 445.8 MB, free: 92.65 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006826/0.272, allocations: 2.785 MB / 448.5 MB, free: 92.19 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003831/0.2759, allocations: 3.054 MB / 451.6 MB, free: 91.84 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001709/0.276, allocations: 317.8 kB / 451.9 MB, free: 91.83 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000598/0.2766, allocations: 428.8 kB / 452.3 MB, free: 91.82 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00906/0.2857, allocations: 8.091 MB / 460.4 MB, free: 87.51 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001214/0.2858, allocations: 56.67 kB / 460.5 MB, free: 87.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000375/0.2862, allocations: 205.2 kB / 460.7 MB, free: 87.42 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002109/0.2883, allocations: 2.861 MB / 463.5 MB, free: 86.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007695/0.296, allocations: 3.954 MB / 467.5 MB, free: 86.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03738/0.3334, allocations: 59.23 MB / 0.5144 GB, free: 38.44 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005247/0.3386, allocations: 2.553 MB / 0.5169 GB, free: 37.48 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009607/0.3396, allocations: 0.8792 MB / 0.5177 GB, free: 36.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007934/0.3475, allocations: 6.997 MB / 0.5246 GB, free: 30.77 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/0.3475, allocations: 63.33 kB / 0.5246 GB, free: 30.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=272): time 4.448e-06/0.3475, allocations: 0 / 0.5246 GB, free: 30.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=303): time 0.02298/0.3705, allocations: 10.96 MB / 0.5353 GB, free: 20.9 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.963e-05/0.3706, allocations: 209.9 kB / 0.5355 GB, free: 20.65 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0039/0.3745, allocations: 4.805 MB / 0.5402 GB, free: 15.84 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001289/0.3746, allocations: 65.7 kB / 0.5403 GB, free: 15.77 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001739/0.3763, allocations: 4.859 MB / 0.545 GB, free: 10.87 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006931/0.377, allocations: 1.233 MB / 0.5462 GB, free: 9.629 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001476/0.3785, allocations: 1.95 MB / 0.5481 GB, free: 7.66 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.714e-05/0.3786, allocations: 484.7 kB / 0.5486 GB, free: 7.184 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001438/0.38, allocations: 1.032 MB / 0.5496 GB, free: 6.145 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005233/0.3852, allocations: 8.755 MB / 0.5581 GB, free: 9.902 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009806/0.3951, allocations: 10.6 MB / 0.5685 GB, free: 11.85 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.152e-05/0.3951, allocations: 52 kB / 0.5685 GB, free: 11.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=1175) (initialization): time 0.01115/0.4063, allocations: 7.57 MB / 0.5759 GB, free: 4.188 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.976e-05/0.4064, allocations: 87.94 kB / 0.576 GB, free: 4.102 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001784/0.4065, allocations: 184.1 kB / 0.5762 GB, free: 3.922 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002038/0.4086, allocations: 0.8296 MB / 0.577 GB, free: 3.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003503/0.4121, allocations: 1.977 MB / 0.5789 GB, free: 1.109 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005047/0.4171, allocations: 5.571 MB / 0.5844 GB, free: 11.32 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004038/0.4212, allocations: 363.7 kB / 0.5847 GB, free: 10.96 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004582/0.4216, allocations: 452 kB / 0.5851 GB, free: 10.52 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.002229/0.4239, allocations: 0.8762 MB / 0.586 GB, free: 9.625 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007192/0.4246, allocations: 0.5476 MB / 0.5865 GB, free: 9.074 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003489/0.4281, allocations: 2.449 MB / 0.5889 GB, free: 6.605 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.641e-05/0.4281, allocations: 51.98 kB / 0.589 GB, free: 6.555 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.338e-05/0.4281, allocations: 7.938 kB / 0.589 GB, free: 6.547 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.544e-05/0.4281, allocations: 11.95 kB / 0.589 GB, free: 6.535 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01211/0.4403, allocations: 7.176 MB / 0.596 GB, free: 15.18 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-05/0.4403, allocations: 8.031 kB / 0.596 GB, free: 15.17 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001133/0.4414, allocations: 403.4 kB / 0.5964 GB, free: 14.78 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001588/0.443, allocations: 0.5652 MB / 0.597 GB, free: 14.21 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001951/0.4432, allocations: 55.98 kB / 0.597 GB, free: 14.15 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003905/0.4471, allocations: 4.604 MB / 0.6015 GB, free: 9.316 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/0.4471, allocations: 11.94 kB / 0.6015 GB, free: 9.305 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004902/0.452, allocations: 3.734 MB / 0.6052 GB, free: 5.387 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000832/0.4528, allocations: 448.6 kB / 0.6056 GB, free: 4.945 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003382/0.4532, allocations: 51.98 kB / 0.6056 GB, free: 4.895 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009418/0.4541, allocations: 51.98 kB / 0.6057 GB, free: 4.844 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002694/0.4544, allocations: 177.5 kB / 0.6059 GB, free: 4.668 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001276/0.4545, allocations: 60 kB / 0.6059 GB, free: 4.609 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002059/0.4566, allocations: 1.91 MB / 0.6078 GB, free: 2.707 MB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4566, allocations: 4.031 kB / 0.6078 GB, free: 2.703 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00465/0.4612, allocations: 1.558 MB / 0.6093 GB, free: 1.145 MB / 474.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.0004069/0.4616, allocations: 210.7 kB / 0.6095 GB, free: 0.9297 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.1698/0.6314, allocations: 4.351 MB / 0.6138 GB, free: 136.4 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.008e-05/0.6314, allocations: 2.875 kB / 0.6138 GB, free: 136.4 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00135/0.6328, allocations: 1.171 MB / 0.6149 GB, free: 136.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002242/0.635, allocations: 0.5485 MB / 0.6154 GB, free: 136.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01189/0.6469, allocations: 11.48 MB / 0.6267 GB, free: 131.7 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001398/0.6483, allocations: 1.837 MB / 0.6284 GB, free: 131.4 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001746/0.6501, allocations: 0.7131 MB / 0.6291 GB, free: 131.3 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001172/0.6512, allocations: 0.7864 MB / 0.6299 GB, free: 131.3 MB / 474.7 MB Notification: Performance of SimCode: time 1.293e-06/0.6512, allocations: 0 / 0.6299 GB, free: 131.3 MB / 474.7 MB Notification: Performance of Templates: time 0.06826/0.7195, allocations: 51.17 MB / 0.6799 GB, free: 104.5 MB / 474.7 MB " [Timeout remaining time 659] 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","",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.203351994976401]