Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.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.001946/0.001946, allocations: 87.67 kB / 20.21 MB, free: 4.207 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.001948/0.001948, allocations: 165.2 kB / 23.52 MB, free: 0.8945 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.474/1.474, allocations: 158.6 MB / 185.3 MB, free: 2.887 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.219/0.219, allocations: 32.38 MB / 270 MB, free: 14.62 MB / 266.7 MB " [Timeout remaining time 179] 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.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.455e-06/2.455e-06, allocations: 0 / 346.9 MB, free: 9.793 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.733e-05/3.978e-05, allocations: 2.312 kB / 346.9 MB, free: 9.789 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.01123/0.01127, allocations: 11.64 MB / 358.6 MB, free: 14.1 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01096/0.02223, allocations: 4.222 MB / 362.8 MB, free: 9.867 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002644/0.02488, allocations: 87.56 kB / 362.9 MB, free: 9.781 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006438/0.03131, allocations: 2.932 MB / 365.8 MB, free: 6.84 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006578/0.03789, allocations: 2.15 MB / 368 MB, free: 4.68 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002547/0.04044, allocations: 1.021 MB / 369 MB, free: 3.656 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.009787/0.05023, allocations: 5.927 MB / 374.9 MB, free: 13.71 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00542/0.05565, allocations: 3.467 MB / 378.4 MB, free: 10.2 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005306/0.06095, allocations: 2.674 MB / 381 MB, free: 7.52 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005691/0.06664, allocations: 2.884 MB / 383.9 MB, free: 4.629 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00121/0.06785, allocations: 396 kB / 384.3 MB, free: 4.242 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003196/0.07105, allocations: 1.373 MB / 385.7 MB, free: 2.867 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003338/0.07439, allocations: 2.384 MB / 388.1 MB, free: 488 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004612/0.079, allocations: 1.48 MB / 389.6 MB, free: 14.99 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01674/0.09574, allocations: 8.15 MB / 397.7 MB, free: 6.816 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.23e-05/0.09576, allocations: 4 kB / 397.7 MB, free: 6.812 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.09576, allocations: 0 / 397.7 MB, free: 6.812 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003396/0.0961, allocations: 0 / 397.7 MB, free: 6.812 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1538 * Number of variables: 1538 Notification: Performance of Generate backend data structure: time 0.02029/0.1164, allocations: 6.494 MB / 404.2 MB, free: 248 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.604e-05/0.1164, allocations: 12.03 kB / 404.2 MB, free: 236 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01377/0.1302, allocations: 3.009 MB / 407.2 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009524/0.1397, allocations: 3.053 MB / 410.3 MB, free: 10.11 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002907/0.14, allocations: 238.5 kB / 410.5 MB, free: 9.871 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00152/0.1415, allocations: 328.3 kB / 410.8 MB, free: 9.551 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02146/0.163, allocations: 7.144 MB / 418 MB, free: 1.398 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003577/0.1634, allocations: 51.58 kB / 418 MB, free: 1.348 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001402/0.1648, allocations: 155.9 kB / 418.2 MB, free: 1.195 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006101/0.1709, allocations: 2.006 MB / 420.2 MB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02477/0.1956, allocations: 4.228 MB / 424.4 MB, free: 10.95 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2661/0.4617, allocations: 48.94 MB / 473.4 MB, free: 63.21 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009461/0.4712, allocations: 2.387 MB / 475.7 MB, free: 63.05 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001682/0.4729, allocations: 0.7131 MB / 476.5 MB, free: 63 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01165/0.4845, allocations: 4.781 MB / 481.2 MB, free: 61.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.394e-05/0.4846, allocations: 64.81 kB / 481.3 MB, free: 61.46 MB / 378.7 MB Notification: Performance of pre-optimization done (n=180): time 4.368e-06/0.4846, allocations: 0 / 481.3 MB, free: 61.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=236): time 0.09602/0.5806, allocations: 24.91 MB / 0.4943 GB, free: 42.33 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.099e-05/0.5807, allocations: 209.4 kB / 0.4945 GB, free: 42.08 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006659/0.5873, allocations: 4.705 MB / 0.4991 GB, free: 37.54 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000743/0.5881, allocations: 57.7 kB / 0.4992 GB, free: 37.48 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002458/0.5905, allocations: 3.689 MB / 0.5028 GB, free: 33.9 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001453/0.592, allocations: 1.006 MB / 0.5038 GB, free: 32.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002359/0.5943, allocations: 1.682 MB / 0.5054 GB, free: 31.21 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.993e-05/0.5944, allocations: 476.8 kB / 0.5059 GB, free: 30.75 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002702/0.5971, allocations: 1.403 MB / 0.5072 GB, free: 29.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004662/0.6018, allocations: 7.093 MB / 0.5142 GB, free: 19.82 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008979/0.6108, allocations: 9.363 MB / 0.5233 GB, free: 8.012 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001807/0.6109, allocations: 39.94 kB / 0.5234 GB, free: 7.973 MB / 378.7 MB Notification: Performance of matching and sorting (n=855) (initialization): time 0.03476/0.6457, allocations: 10.62 MB / 0.5337 GB, free: 13.33 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001326/0.6458, allocations: 63.98 kB / 0.5338 GB, free: 13.27 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002371/0.6461, allocations: 124 kB / 0.5339 GB, free: 13.15 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02804/0.6741, allocations: 5.279 MB / 0.5391 GB, free: 7.855 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006172/0.6803, allocations: 1.489 MB / 0.5405 GB, free: 6.363 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02601/0.7063, allocations: 10.52 MB / 0.5508 GB, free: 11.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007725/0.714, allocations: 483.3 kB / 0.5513 GB, free: 11.13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001591/0.7156, allocations: 388 kB / 0.5516 GB, free: 10.75 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 582 * Number of states: 0 () * Number of discrete variables: 42 (b3.color[3],b3.color[2],b3.color[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.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 (778): * Single equations (assignments): 773 * Array equations: 3 * 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 {(3,51,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003273/0.7189, allocations: 0.7622 MB / 0.5524 GB, free: 9.984 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001488/0.7204, allocations: 445.5 kB / 0.5528 GB, free: 9.547 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02845/0.7488, allocations: 6.821 MB / 0.5595 GB, free: 2.695 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.482e-05/0.7489, allocations: 31.61 kB / 0.5595 GB, free: 2.668 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-05/0.7489, allocations: 8 kB / 0.5595 GB, free: 2.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.364e-05/0.749, allocations: 19.89 kB / 0.5595 GB, free: 2.641 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0502/0.7992, allocations: 14.87 MB / 0.574 GB, free: 3.336 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.866e-05/0.7992, allocations: 4 kB / 0.574 GB, free: 3.332 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002319/0.8016, allocations: 383.4 kB / 0.5744 GB, free: 2.957 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02468/0.8262, allocations: 4.713 MB / 0.579 GB, free: 14.23 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006759/0.8269, allocations: 55.58 kB / 0.5791 GB, free: 14.18 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02199/0.8489, allocations: 9.197 MB / 0.588 GB, free: 4.75 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.869e-06/0.8489, allocations: 7.938 kB / 0.588 GB, free: 4.742 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02943/0.8784, allocations: 7.867 MB / 0.5957 GB, free: 12.77 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003773/0.8821, allocations: 0.8642 MB / 0.5966 GB, free: 11.91 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009892/0.8831, allocations: 44.23 kB / 0.5966 GB, free: 11.86 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003018/0.8861, allocations: 239.6 kB / 0.5968 GB, free: 11.63 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007753/0.8869, allocations: 160.9 kB / 0.597 GB, free: 11.47 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002429/0.8872, allocations: 63.98 kB / 0.5971 GB, free: 11.41 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.005154/0.8923, allocations: 1.979 MB / 0.599 GB, free: 9.449 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.91e-07/0.8923, allocations: 0 / 0.599 GB, free: 9.449 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0098/0.9021, allocations: 1.508 MB / 0.6005 GB, free: 7.941 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 (167): * Single equations (assignments): 162 * Array equations: 3 * 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 {(3,45,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009641/0.9031, allocations: 210.2 kB / 0.6007 GB, free: 7.727 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01282/0.9159, allocations: 5.017 MB / 0.6056 GB, free: 2.707 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.614e-05/0.9159, allocations: 4 kB / 0.6056 GB, free: 2.703 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004185/0.9201, allocations: 1.771 MB / 0.6073 GB, free: 0.9141 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003852/0.9239, allocations: 482.5 kB / 0.6078 GB, free: 464 kB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1801/1.104, allocations: 9.4 MB / 0.6169 GB, free: 155.4 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003318/1.107, allocations: 2.709 MB / 0.6196 GB, free: 155.2 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003433/1.111, allocations: 1.605 MB / 0.6211 GB, free: 155.1 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009255/1.112, allocations: 260.8 kB / 0.6214 GB, free: 155.1 MB / 458.7 MB Notification: Performance of SimCode: time 1.583e-06/1.112, allocations: 0 / 0.6214 GB, free: 155.1 MB / 458.7 MB Notification: Performance of Templates: time 0.08837/1.2, allocations: 67.98 MB / 0.6878 GB, free: 96.85 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/SphericalSpherical/SphericalSpherical.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.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: 7.823973202030174]