Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002128/0.002128, allocations: 88.28 kB / 20.96 MB, free: 3.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002633/0.002633, allocations: 156.9 kB / 24.26 MB, free: 144 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.564/1.564, allocations: 177 MB / 204.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3923/0.3923, allocations: 34.25 MB / 295.2 MB, free: 0.6562 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 377.2 MB, free: 2.922 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.988e-05/3.169e-05, allocations: 3.156 kB / 377.2 MB, free: 2.918 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.01635/0.01639, allocations: 11.67 MB / 388.9 MB, free: 7.188 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01089/0.02728, allocations: 4.617 MB / 393.5 MB, free: 2.559 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002218/0.0295, allocations: 115.4 kB / 393.6 MB, free: 2.445 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008089/0.03759, allocations: 3.878 MB / 397.5 MB, free: 14.55 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006698/0.04429, allocations: 2.294 MB / 399.8 MB, free: 12.25 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003268/0.04755, allocations: 1.201 MB / 401 MB, free: 11.05 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01284/0.0604, allocations: 7.709 MB / 408.7 MB, free: 3.324 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009768/0.07017, allocations: 4.423 MB / 413.1 MB, free: 14.83 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01008/0.08024, allocations: 3.169 MB / 416.3 MB, free: 11.66 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006591/0.08683, allocations: 3.168 MB / 419.4 MB, free: 8.48 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001818/0.08865, allocations: 452 kB / 419.9 MB, free: 8.039 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00398/0.09263, allocations: 1.4 MB / 421.3 MB, free: 6.637 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004378/0.09701, allocations: 2.669 MB / 423.9 MB, free: 3.961 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004741/0.1018, allocations: 1.659 MB / 425.6 MB, free: 2.297 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01442/0.1162, allocations: 8.976 MB / 434.6 MB, free: 9.293 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.726e-06/0.1162, allocations: 0 / 434.6 MB, free: 9.293 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1162, allocations: 0 / 434.6 MB, free: 9.293 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003243/0.1165, allocations: 0 / 434.6 MB, free: 9.293 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: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.01958/0.1361, allocations: 6.474 MB / 441.1 MB, free: 2.754 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.1361, allocations: 8.031 kB / 441.1 MB, free: 2.746 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.216/0.3521, allocations: 3.161 MB / 444.2 MB, free: 97.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008806/0.3609, allocations: 3.861 MB / 448.1 MB, free: 96.55 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000224/0.3611, allocations: 284.3 kB / 448.4 MB, free: 96.46 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001352/0.3625, allocations: 390.5 kB / 448.7 MB, free: 96.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01968/0.3822, allocations: 12.14 MB / 460.9 MB, free: 90.85 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001736/0.3823, allocations: 61.75 kB / 460.9 MB, free: 90.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004645/0.3828, allocations: 178.9 kB / 461.1 MB, free: 90.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002695/0.3855, allocations: 2.152 MB / 463.3 MB, free: 90.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01979/0.4053, allocations: 10.42 MB / 473.7 MB, free: 87.1 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05882/0.4641, allocations: 44.38 MB / 0.5059 GB, free: 51.62 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01252/0.4766, allocations: 5.245 MB / 0.5111 GB, free: 47.14 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002788/0.4794, allocations: 2.747 MB / 0.5137 GB, free: 44.39 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01164/0.4911, allocations: 8.19 MB / 0.5217 GB, free: 36.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.413e-05/0.4911, allocations: 59.38 kB / 0.5218 GB, free: 36.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=207): time 4.679e-06/0.4911, allocations: 0 / 0.5218 GB, free: 36.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=263): time 0.128/0.6191, allocations: 41.72 MB / 0.5625 GB, free: 10.54 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001907/0.6193, allocations: 213.9 kB / 0.5627 GB, free: 10.29 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01035/0.6297, allocations: 4.661 MB / 0.5673 GB, free: 5.605 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007113/0.6304, allocations: 61.7 kB / 0.5674 GB, free: 5.539 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003773/0.6341, allocations: 3.667 MB / 0.5709 GB, free: 1.836 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002132/0.6363, allocations: 0.996 MB / 0.5719 GB, free: 0.832 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002689/0.639, allocations: 1.413 MB / 0.5733 GB, free: 15.41 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002003/0.6392, allocations: 301.1 kB / 0.5736 GB, free: 15.11 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006941/0.6461, allocations: 3.348 MB / 0.5768 GB, free: 11.76 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01256/0.6587, allocations: 7.233 MB / 0.5839 GB, free: 2.645 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01836/0.677, allocations: 11.26 MB / 0.5949 GB, free: 5.523 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001644/0.6772, allocations: 36 kB / 0.5949 GB, free: 5.488 MB / 458.7 MB Notification: Performance of matching and sorting (n=909) (initialization): time 0.2664/0.9436, allocations: 14.84 MB / 0.6094 GB, free: 125.1 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001134/0.9437, allocations: 60.09 kB / 0.6095 GB, free: 125.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001776/0.9439, allocations: 142.8 kB / 0.6096 GB, free: 125.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01606/0.96, allocations: 6.098 MB / 0.6156 GB, free: 123.9 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005182/0.9651, allocations: 1.491 MB / 0.617 GB, free: 123.9 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04183/1.007, allocations: 29.89 MB / 0.6462 GB, free: 109.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006377/1.013, allocations: 0.5305 MB / 0.6467 GB, free: 109.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001393/1.015, allocations: 404.6 kB / 0.6471 GB, free: 109.6 MB / 458.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.004676/1.019, allocations: 2.465 MB / 0.6495 GB, free: 108.5 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001618/1.021, allocations: 492.5 kB / 0.65 GB, free: 108.5 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01704/1.038, allocations: 9.257 MB / 0.659 GB, free: 105.4 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.031e-05/1.038, allocations: 26.69 kB / 0.6591 GB, free: 105.4 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.695e-05/1.038, allocations: 12.06 kB / 0.6591 GB, free: 105.4 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.368e-05/1.038, allocations: 18.77 kB / 0.6591 GB, free: 105.4 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02964/1.068, allocations: 16.59 MB / 0.6753 GB, free: 89.12 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.149e-05/1.068, allocations: 11.5 kB / 0.6753 GB, free: 89.11 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001464/1.069, allocations: 315.5 kB / 0.6756 GB, free: 88.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01332/1.083, allocations: 5.682 MB / 0.6812 GB, free: 83.11 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005931/1.083, allocations: 51.98 kB / 0.6812 GB, free: 83.06 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04866/1.132, allocations: 28.78 MB / 0.7093 GB, free: 54.18 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.967e-06/1.132, allocations: 7.938 kB / 0.7093 GB, free: 54.18 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03431/1.166, allocations: 13.59 MB / 0.7226 GB, free: 40.46 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001817/1.168, allocations: 442.2 kB / 0.723 GB, free: 40.04 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001754/1.17, allocations: 44 kB / 0.7231 GB, free: 39.99 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004821/1.175, allocations: 279.5 kB / 0.7233 GB, free: 39.72 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001397/1.176, allocations: 205.9 kB / 0.7235 GB, free: 39.52 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000571/1.177, allocations: 68.11 kB / 0.7236 GB, free: 39.45 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.006095/1.183, allocations: 2.804 MB / 0.7263 GB, free: 36.64 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.11e-07/1.183, allocations: 0 / 0.7263 GB, free: 36.64 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01103/1.194, allocations: 1.62 MB / 0.7279 GB, free: 35.02 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 (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.001137/1.195, allocations: 206.5 kB / 0.7281 GB, free: 34.83 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01629/1.211, allocations: 8.517 MB / 0.7364 GB, free: 26.3 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.773e-05/1.211, allocations: 4 kB / 0.7364 GB, free: 26.3 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005899/1.217, allocations: 3.531 MB / 0.7399 GB, free: 22.72 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004992/1.222, allocations: 0.5386 MB / 0.7404 GB, free: 22.2 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02161/1.244, allocations: 12.87 MB / 0.753 GB, free: 9.227 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00534/1.249, allocations: 3.396 MB / 0.7563 GB, free: 5.797 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004469/1.253, allocations: 1.953 MB / 0.7582 GB, free: 3.84 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001233/1.255, allocations: 272.4 kB / 0.7584 GB, free: 3.57 MB / 458.7 MB Notification: Performance of SimCode: time 1.262e-06/1.255, allocations: 3.938 kB / 0.7585 GB, free: 3.566 MB / 458.7 MB Notification: Performance of Templates: time 0.3402/1.595, allocations: 69.78 MB / 0.8266 GB, free: 113.7 MB / 474.7 MB " [Timeout remaining time 658] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/SphericalAndUniversal/SphericalAndUniversal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.472887958050705]