Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001532/0.001532, allocations: 80.05 kB / 20.72 MB, free: 3.766 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.001612/0.001612, allocations: 173 kB / 24.14 MB, free: 356 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9947/0.9947, allocations: 158.6 MB / 186 MB, free: 2.77 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1256/0.1256, allocations: 32.38 MB / 270.7 MB, free: 14.6 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 299.1 MB, free: 2.223 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.104e-05/3.299e-05, allocations: 6.312 kB / 299.1 MB, free: 2.215 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.1722/0.1722, allocations: 14.17 MB / 313.2 MB, free: 12.44 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01193/0.1842, allocations: 4.908 MB / 318.1 MB, free: 9.328 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00393/0.1881, allocations: 108.8 kB / 318.2 MB, free: 9.297 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005747/0.1938, allocations: 3.397 MB / 321.6 MB, free: 7.145 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009047/0.2029, allocations: 2.759 MB / 324.4 MB, free: 4.859 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002547/0.2054, allocations: 1.134 MB / 325.5 MB, free: 3.723 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.008976/0.2144, allocations: 7.316 MB / 332.9 MB, free: 12.39 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006442/0.2208, allocations: 4.376 MB / 337.2 MB, free: 7.926 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008761/0.2296, allocations: 4.085 MB / 341.3 MB, free: 3.832 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006581/0.2362, allocations: 3.433 MB / 344.7 MB, free: 396 kB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002157/0.2383, allocations: 496 kB / 345.2 MB, free: 15.9 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004128/0.2425, allocations: 1.467 MB / 346.7 MB, free: 14.43 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004327/0.2468, allocations: 3.097 MB / 349.8 MB, free: 11.33 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00478/0.2516, allocations: 1.885 MB / 351.7 MB, free: 9.438 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0111/0.2627, allocations: 6.951 MB / 358.6 MB, free: 2.461 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.2627, allocations: 0 / 358.6 MB, free: 2.461 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.2627, allocations: 0 / 358.6 MB, free: 2.461 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003657/0.2631, allocations: 0 / 358.6 MB, free: 2.461 MB / 314.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.01375/0.2768, allocations: 6.615 MB / 365.2 MB, free: 11.77 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.2769, allocations: 8.031 kB / 365.3 MB, free: 11.77 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005838/0.2827, allocations: 1.828 MB / 367.1 MB, free: 9.938 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005952/0.2886, allocations: 2.862 MB / 369.9 MB, free: 7.016 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002339/0.2889, allocations: 316.4 kB / 370.3 MB, free: 6.703 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001272/0.2902, allocations: 432.2 kB / 370.7 MB, free: 6.281 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01432/0.3045, allocations: 7.329 MB / 378 MB, free: 14 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001948/0.3047, allocations: 55.52 kB / 378.1 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006674/0.3053, allocations: 211.7 kB / 378.3 MB, free: 13.74 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003009/0.3083, allocations: 2.853 MB / 381.1 MB, free: 10.88 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01064/0.319, allocations: 3.94 MB / 385.1 MB, free: 6.918 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04994/0.3689, allocations: 43.37 MB / 428.4 MB, free: 10.06 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005846/0.3748, allocations: 2.58 MB / 431 MB, free: 7.441 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001248/0.376, allocations: 0.7226 MB / 431.7 MB, free: 6.707 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.012/0.388, allocations: 6.655 MB / 438.4 MB, free: 20 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.77e-05/0.3881, allocations: 64.5 kB / 438.5 MB, free: 15.95 MB / 410.7 MB Notification: Performance of pre-optimization done (n=272): time 9.618e-06/0.3881, allocations: 0 / 438.5 MB, free: 15.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=303): time 0.02594/0.414, allocations: 9.952 MB / 448.4 MB, free: 6.047 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.644e-05/0.4141, allocations: 209.9 kB / 448.6 MB, free: 5.801 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005039/0.4192, allocations: 4.359 MB / 453 MB, free: 1.43 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000597/0.4198, allocations: 65.7 kB / 453 MB, free: 1.359 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1638/0.5836, allocations: 4.336 MB / 457.4 MB, free: 120.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001415/0.585, allocations: 1.169 MB / 458.5 MB, free: 120.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002179/0.5872, allocations: 1.666 MB / 460.2 MB, free: 120 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.276e-05/0.5872, allocations: 305.9 kB / 460.5 MB, free: 119.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002499/0.5897, allocations: 1.268 MB / 461.8 MB, free: 119.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004215/0.5939, allocations: 6.261 MB / 468 MB, free: 113 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006706/0.6006, allocations: 8.192 MB / 476.2 MB, free: 106 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001064/0.6007, allocations: 57.31 kB / 476.3 MB, free: 106 MB / 410.7 MB Notification: Performance of matching and sorting (n=1175) (initialization): time 0.008313/0.6091, allocations: 6.447 MB / 482.7 MB, free: 104.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.308e-05/0.6091, allocations: 90.84 kB / 482.8 MB, free: 104.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001549/0.6093, allocations: 180.4 kB / 483 MB, free: 104.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00181/0.6111, allocations: 0.8267 MB / 483.8 MB, free: 104.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003263/0.6144, allocations: 1.976 MB / 485.8 MB, free: 104.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003735/0.6181, allocations: 4.369 MB / 490.2 MB, free: 100.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003686/0.6218, allocations: 368.2 kB / 490.5 MB, free: 100.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000425/0.6222, allocations: 448.2 kB / 491 MB, free: 100.2 MB / 410.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.001848/0.624, allocations: 0.8297 MB / 491.8 MB, free: 99.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005653/0.6246, allocations: 330.1 kB / 492.1 MB, free: 99.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00278/0.6274, allocations: 2.133 MB / 494.2 MB, free: 97.59 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-05/0.6274, allocations: 51.98 kB / 494.3 MB, free: 97.54 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.164e-05/0.6275, allocations: 4 kB / 494.3 MB, free: 97.54 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.74e-05/0.6275, allocations: 21.53 kB / 494.3 MB, free: 97.53 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009017/0.6365, allocations: 6.394 MB / 0.489 GB, free: 92.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/0.6365, allocations: 4 kB / 0.489 GB, free: 92.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001087/0.6376, allocations: 403.4 kB / 0.4894 GB, free: 91.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001801/0.6394, allocations: 0.794 MB / 0.4901 GB, free: 90.97 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001513/0.6395, allocations: 52 kB / 0.4902 GB, free: 90.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002657/0.6422, allocations: 3.437 MB / 0.4935 GB, free: 87.31 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.6422, allocations: 14.05 kB / 0.4936 GB, free: 87.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003776/0.646, allocations: 3.116 MB / 0.4966 GB, free: 84.03 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001257/0.6472, allocations: 0.7196 MB / 0.4973 GB, free: 83.32 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004718/0.6477, allocations: 48 kB / 0.4974 GB, free: 83.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009466/0.6486, allocations: 48 kB / 0.4974 GB, free: 83.22 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002583/0.6489, allocations: 185.5 kB / 0.4976 GB, free: 83.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001125/0.649, allocations: 59.98 kB / 0.4976 GB, free: 82.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001435/0.6505, allocations: 1.607 MB / 0.4992 GB, free: 81.38 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.6505, allocations: 0 / 0.4992 GB, free: 81.38 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005594/0.656, allocations: 1.6 MB / 0.5008 GB, free: 79.79 MB / 410.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.000492/0.6565, allocations: 202.8 kB / 0.501 GB, free: 79.59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00519/0.6617, allocations: 3.903 MB / 0.5048 GB, free: 75.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001744/0.6619, allocations: 116.2 kB / 0.5049 GB, free: 75.56 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001131/0.663, allocations: 0.9773 MB / 0.5058 GB, free: 74.58 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00287/0.6659, allocations: 0.8682 MB / 0.5067 GB, free: 73.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01317/0.6791, allocations: 11.38 MB / 0.5178 GB, free: 62.18 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001415/0.6805, allocations: 1.827 MB / 0.5196 GB, free: 60.32 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001978/0.6825, allocations: 0.7179 MB / 0.5203 GB, free: 59.62 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001162/0.6836, allocations: 0.7455 MB / 0.521 GB, free: 58.88 MB / 410.7 MB Notification: Performance of SimCode: time 2.205e-06/0.6836, allocations: 0 / 0.521 GB, free: 58.88 MB / 410.7 MB Notification: Performance of Templates: time 0.06723/0.7509, allocations: 51.66 MB / 0.5715 GB, free: 7.223 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 4.78897795220837]