Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.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.001705/0.001705, allocations: 84.23 kB / 20.21 MB, free: 4.227 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.00179/0.00179, allocations: 157.6 kB / 23.52 MB, free: 0.918 MB / 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 1.67/1.67, allocations: 158.6 MB / 185.3 MB, free: 2.879 MB / 170.7 MB " [Timeout remaining time 178] 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.2255/0.2255, allocations: 32.37 MB / 270 MB, free: 14.78 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.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.377e-06/3.377e-06, allocations: 0 / 346.9 MB, free: 9.824 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.856e-05/5.194e-05, allocations: 10.25 kB / 346.9 MB, free: 9.812 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.01165/0.0117, allocations: 11.76 MB / 358.7 MB, free: 14 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01257/0.02427, allocations: 4.604 MB / 363.3 MB, free: 9.379 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003868/0.02814, allocations: 115.4 kB / 363.4 MB, free: 9.266 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009153/0.03729, allocations: 3.894 MB / 367.3 MB, free: 5.359 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007912/0.0452, allocations: 2.34 MB / 369.6 MB, free: 3.004 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003574/0.04878, allocations: 1.208 MB / 370.8 MB, free: 1.793 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01216/0.06094, allocations: 7.15 MB / 378 MB, free: 10.63 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008421/0.06936, allocations: 4.458 MB / 382.5 MB, free: 6.105 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00886/0.07822, allocations: 3.2 MB / 385.7 MB, free: 2.898 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006553/0.08478, allocations: 3.196 MB / 388.9 MB, free: 15.7 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001507/0.08628, allocations: 448 kB / 389.3 MB, free: 15.26 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003374/0.08966, allocations: 1.416 MB / 390.7 MB, free: 13.84 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003785/0.09344, allocations: 2.688 MB / 393.4 MB, free: 11.14 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003676/0.09712, allocations: 1.675 MB / 395.1 MB, free: 9.465 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01393/0.111, allocations: 9.054 MB / 404.1 MB, free: 392 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.306e-06/0.1111, allocations: 0 / 404.1 MB, free: 392 kB / 330.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1111, allocations: 0 / 404.1 MB, free: 392 kB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003418/0.1114, allocations: 8 kB / 404.1 MB, free: 384 kB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.0214/0.1328, allocations: 6.486 MB / 410.6 MB, free: 9.82 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.852e-05/0.1329, allocations: 12.03 kB / 410.6 MB, free: 9.809 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01386/0.1467, allocations: 3.161 MB / 413.8 MB, free: 6.641 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01171/0.1584, allocations: 3.969 MB / 417.8 MB, free: 2.621 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004111/0.1588, allocations: 279.7 kB / 418 MB, free: 2.348 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002096/0.1609, allocations: 396.1 kB / 418.4 MB, free: 1.961 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02866/0.1896, allocations: 12.15 MB / 430.6 MB, free: 5.012 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000228/0.1898, allocations: 59.58 kB / 430.6 MB, free: 4.953 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000747/0.1906, allocations: 179.8 kB / 430.8 MB, free: 4.777 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003934/0.1945, allocations: 2.143 MB / 432.9 MB, free: 2.629 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02465/0.2191, allocations: 10.42 MB / 443.4 MB, free: 8.191 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2406/0.4598, allocations: 44.43 MB / 487.8 MB, free: 69.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01293/0.4727, allocations: 5.251 MB / 493 MB, free: 67.51 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002949/0.4757, allocations: 2.738 MB / 495.8 MB, free: 64.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01186/0.4875, allocations: 8.217 MB / 0.4922 GB, free: 56.68 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.4875, allocations: 51.88 kB / 0.4922 GB, free: 56.62 MB / 378.7 MB Notification: Performance of pre-optimization done (n=207): time 5.441e-06/0.4876, allocations: 0 / 0.4922 GB, free: 56.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=263): time 0.1252/0.6127, allocations: 41.81 MB / 0.5331 GB, free: 15.2 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.487e-05/0.6128, allocations: 209.9 kB / 0.5333 GB, free: 14.95 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006307/0.6191, allocations: 4.778 MB / 0.5379 GB, free: 10.31 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007257/0.6198, allocations: 65.7 kB / 0.538 GB, free: 10.24 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001843/0.6217, allocations: 3.662 MB / 0.5416 GB, free: 6.797 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001191/0.6229, allocations: 1.002 MB / 0.5426 GB, free: 5.809 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00201/0.6249, allocations: 1.409 MB / 0.5439 GB, free: 4.391 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.753e-05/0.6249, allocations: 309.1 kB / 0.5442 GB, free: 4.086 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003731/0.6287, allocations: 3.352 MB / 0.5475 GB, free: 0.7305 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01029/0.639, allocations: 7.229 MB / 0.5546 GB, free: 7.617 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01936/0.6583, allocations: 11.27 MB / 0.5656 GB, free: 10.48 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001805/0.6585, allocations: 40 kB / 0.5656 GB, free: 10.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=909) (initialization): time 0.03708/0.6956, allocations: 14.83 MB / 0.5801 GB, free: 11.59 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001205/0.6957, allocations: 64 kB / 0.5801 GB, free: 11.53 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002043/0.6959, allocations: 132 kB / 0.5803 GB, free: 11.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01923/0.7151, allocations: 6.104 MB / 0.5862 GB, free: 5.285 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005904/0.721, allocations: 1.494 MB / 0.5877 GB, free: 3.789 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1995/0.9205, allocations: 29.88 MB / 0.6169 GB, free: 142.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007483/0.928, allocations: 0.5414 MB / 0.6174 GB, free: 142.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001189/0.9292, allocations: 408.6 kB / 0.6178 GB, free: 142.6 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 606 * Number of states: 0 () * Number of discrete variables: 42 (Universal1.cylinderColor[3],Universal1.cylinderColor[2],Universal1.cylinderColor[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[1],b3.color[3],b3.color[2],b3.color[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 (793): * Single equations (assignments): 787 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(9,49,48.1%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,21)} Notification: Performance of prepare postOptimizeDAE: time 0.003654/0.9328, allocations: 2.465 MB / 0.6202 GB, free: 141.7 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001348/0.9342, allocations: 487.4 kB / 0.6207 GB, free: 141.6 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01754/0.9517, allocations: 9.266 MB / 0.6297 GB, free: 138.7 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.796e-05/0.9518, allocations: 30.72 kB / 0.6297 GB, free: 138.7 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-05/0.9518, allocations: 11.59 kB / 0.6297 GB, free: 138.7 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.343e-05/0.9519, allocations: 11.72 kB / 0.6298 GB, free: 138.7 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02965/0.9815, allocations: 16.62 MB / 0.646 GB, free: 127.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-05/0.9816, allocations: 4 kB / 0.646 GB, free: 127.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001545/0.9831, allocations: 326.8 kB / 0.6463 GB, free: 127 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01366/0.9968, allocations: 5.687 MB / 0.6519 GB, free: 121.3 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00054/0.9973, allocations: 48 kB / 0.6519 GB, free: 121.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03139/1.029, allocations: 28.77 MB / 0.68 GB, free: 92.51 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/1.029, allocations: 11.62 kB / 0.68 GB, free: 92.5 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02132/1.05, allocations: 13.59 MB / 0.6933 GB, free: 79 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003106/1.053, allocations: 0.9621 MB / 0.6942 GB, free: 78.04 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001147/1.054, allocations: 47.94 kB / 0.6943 GB, free: 78 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003016/1.057, allocations: 291.5 kB / 0.6946 GB, free: 77.71 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007913/1.058, allocations: 200.4 kB / 0.6947 GB, free: 77.52 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002147/1.058, allocations: 75.5 kB / 0.6948 GB, free: 77.45 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003731/1.062, allocations: 2.871 MB / 0.6976 GB, free: 74.57 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.1e-07/1.062, allocations: 4 kB / 0.6976 GB, free: 74.56 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007139/1.069, allocations: 1.646 MB / 0.6992 GB, free: 72.93 MB / 442.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 (159): * Single equations (assignments): 153 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(9,42,48.1%), (2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000656/1.07, allocations: 205.5 kB / 0.6994 GB, free: 72.73 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01208/1.082, allocations: 8.521 MB / 0.7077 GB, free: 64.2 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.253e-05/1.082, allocations: 4.062 kB / 0.7078 GB, free: 64.2 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005289/1.087, allocations: 3.535 MB / 0.7112 GB, free: 60.63 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003982/1.091, allocations: 0.5432 MB / 0.7117 GB, free: 60.11 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02114/1.112, allocations: 12.92 MB / 0.7244 GB, free: 47.06 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005336/1.118, allocations: 3.419 MB / 0.7277 GB, free: 43.61 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004413/1.122, allocations: 1.957 MB / 0.7296 GB, free: 41.65 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009025/1.123, allocations: 272.4 kB / 0.7299 GB, free: 41.38 MB / 442.7 MB Notification: Performance of SimCode: time 1.744e-06/1.123, allocations: 0 / 0.7299 GB, free: 41.38 MB / 442.7 MB Notification: Performance of Templates: time 0.2818/1.405, allocations: 70.43 MB / 0.7986 GB, free: 126.2 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/SphericalAndUniversal/SphericalAndUniversal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.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.451723322970793]