Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001036/0.001036, 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.001153/0.001153, allocations: 165.8 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.077/1.077, allocations: 177.1 MB / 205.3 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3124/0.3124, allocations: 32.81 MB / 294.6 MB, free: 1.184 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.415e-06/2.415e-06, allocations: 0 / 376.5 MB, free: 4.402 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.749e-05/2.991e-05, allocations: 10.25 kB / 376.5 MB, free: 4.391 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.01192/0.01195, allocations: 11.35 MB / 387.8 MB, free: 8.984 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006531/0.01848, allocations: 4.205 MB / 392 MB, free: 4.766 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001115/0.01959, allocations: 91.5 kB / 392.1 MB, free: 4.676 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002958/0.02255, allocations: 2.885 MB / 395 MB, free: 1.781 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003028/0.02558, allocations: 2.123 MB / 397.1 MB, free: 15.65 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001283/0.02686, allocations: 1.017 MB / 398.1 MB, free: 14.63 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005751/0.03261, allocations: 6.413 MB / 404.5 MB, free: 8.207 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003199/0.03581, allocations: 3.439 MB / 408 MB, free: 4.719 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00353/0.03934, allocations: 3.626 MB / 411.6 MB, free: 1.086 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002496/0.04184, allocations: 2.818 MB / 414.4 MB, free: 14.26 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000432/0.04227, allocations: 396 kB / 414.8 MB, free: 13.88 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001582/0.04385, allocations: 1.354 MB / 416.2 MB, free: 12.52 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001382/0.04524, allocations: 2.357 MB / 418.5 MB, free: 10.16 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001106/0.04634, allocations: 1.445 MB / 420 MB, free: 8.707 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003977/0.05032, allocations: 5.345 MB / 425.3 MB, free: 3.344 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.05032, allocations: 0 / 425.3 MB, free: 3.344 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.05032, allocations: 0 / 425.3 MB, free: 3.344 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.234e-05/0.05039, allocations: 0 / 425.3 MB, free: 3.344 MB / 394.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.006417/0.0568, allocations: 5.595 MB / 430.9 MB, free: 13.67 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.05684, allocations: 12.03 kB / 430.9 MB, free: 13.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006656/0.0635, allocations: 2.023 MB / 432.9 MB, free: 11.63 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003766/0.06727, allocations: 2.464 MB / 435.4 MB, free: 9.117 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00017/0.06744, allocations: 242.5 kB / 435.6 MB, free: 8.879 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000547/0.06798, allocations: 336.3 kB / 436 MB, free: 8.551 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008718/0.0767, allocations: 6.016 MB / 442 MB, free: 1.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001124/0.07681, allocations: 47.62 kB / 442 MB, free: 1.473 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003515/0.07717, allocations: 155.8 kB / 442.2 MB, free: 1.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.1573/0.2345, allocations: 1.793 MB / 444 MB, free: 91.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007742/0.2422, allocations: 2.908 MB / 446.9 MB, free: 91.17 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02671/0.2689, allocations: 44.62 MB / 491.5 MB, free: 56.97 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004144/0.2731, allocations: 1.922 MB / 493.4 MB, free: 56.63 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005628/0.2736, allocations: 489.4 kB / 493.9 MB, free: 56.54 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005224/0.2789, allocations: 4.429 MB / 498.3 MB, free: 54.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.2789, allocations: 55.42 kB / 498.4 MB, free: 54.36 MB / 410.7 MB Notification: Performance of pre-optimization done (n=163): time 3.978e-06/0.2789, allocations: 3.5 kB / 498.4 MB, free: 54.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=200): time 0.02089/0.2998, allocations: 8.887 MB / 0.4954 GB, free: 53 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/0.2998, allocations: 206.2 kB / 0.4956 GB, free: 52.78 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003881/0.3037, allocations: 3.75 MB / 0.4993 GB, free: 51.51 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002288/0.304, allocations: 51.2 kB / 0.4993 GB, free: 51.46 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001727/0.3057, allocations: 3.562 MB / 0.5028 GB, free: 48.65 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006982/0.3064, allocations: 0.8312 MB / 0.5036 GB, free: 48.02 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001196/0.3076, allocations: 1.404 MB / 0.505 GB, free: 47.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.43e-05/0.3076, allocations: 477.5 kB / 0.5054 GB, free: 46.79 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001176/0.3088, allocations: 0.7175 MB / 0.5061 GB, free: 46.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00311/0.3119, allocations: 6.439 MB / 0.5124 GB, free: 38.89 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004925/0.3169, allocations: 7.729 MB / 0.52 GB, free: 30.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.192e-05/0.3169, allocations: 37.84 kB / 0.52 GB, free: 30.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=843) (initialization): time 0.007833/0.3248, allocations: 5.705 MB / 0.5256 GB, free: 25.42 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.834e-05/0.3248, allocations: 64 kB / 0.5256 GB, free: 25.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001032/0.3249, allocations: 136.7 kB / 0.5258 GB, free: 25.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002141/0.3271, allocations: 0.9613 MB / 0.5267 GB, free: 24.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00205/0.3291, allocations: 1.431 MB / 0.5281 GB, free: 23.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004098/0.3332, allocations: 5.946 MB / 0.5339 GB, free: 17.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002642/0.3358, allocations: 283.4 kB / 0.5342 GB, free: 17.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002474/0.3361, allocations: 332 kB / 0.5345 GB, free: 16.9 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 609 * 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 (791): * Single equations (assignments): 786 * 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,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001327/0.3374, allocations: 0.6829 MB / 0.5352 GB, free: 16.21 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004813/0.3379, allocations: 429.5 kB / 0.5356 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002554/0.3405, allocations: 1.855 MB / 0.5374 GB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.627e-05/0.3405, allocations: 31.98 kB / 0.5374 GB, free: 14.36 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/0.3405, allocations: 4 kB / 0.5374 GB, free: 14.36 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.358e-05/0.3405, allocations: 7.078 kB / 0.5374 GB, free: 14.36 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007023/0.3475, allocations: 5.476 MB / 0.5428 GB, free: 8.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/0.3475, allocations: 4 kB / 0.5428 GB, free: 8.926 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006362/0.3482, allocations: 279.7 kB / 0.543 GB, free: 8.652 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001776/0.3499, allocations: 0.7431 MB / 0.5438 GB, free: 7.906 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.779e-05/0.35, allocations: 40 kB / 0.5438 GB, free: 7.867 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00327/0.3533, allocations: 5.296 MB / 0.549 GB, free: 2.363 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.3533, allocations: 11.2 kB / 0.549 GB, free: 2.355 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003352/0.3566, allocations: 3.001 MB / 0.5519 GB, free: 15.23 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005709/0.3572, allocations: 365.3 kB / 0.5523 GB, free: 14.87 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002512/0.3575, allocations: 43.98 kB / 0.5523 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007092/0.3582, allocations: 32 kB / 0.5523 GB, free: 14.79 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001932/0.3584, allocations: 136.6 kB / 0.5525 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.402e-05/0.3585, allocations: 56.02 kB / 0.5525 GB, free: 14.61 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001408/0.3599, allocations: 1.531 MB / 0.554 GB, free: 13.09 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3599, allocations: 3.609 kB / 0.554 GB, free: 13.09 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003755/0.3636, allocations: 1.184 MB / 0.5552 GB, free: 11.91 MB / 426.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 (153): * Single equations (assignments): 148 * 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,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003258/0.3639, allocations: 198.7 kB / 0.5554 GB, free: 11.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003698/0.3676, allocations: 3.189 MB / 0.5585 GB, free: 8.516 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.3677, allocations: 0 / 0.5585 GB, free: 8.516 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008907/0.3685, allocations: 0.9057 MB / 0.5594 GB, free: 7.586 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001441/0.37, allocations: 452 kB / 0.5598 GB, free: 7.148 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00962/0.3796, allocations: 8.28 MB / 0.5679 GB, free: 14.68 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001344/0.3809, allocations: 1.328 MB / 0.5692 GB, free: 13.33 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002028/0.383, allocations: 0.5254 MB / 0.5697 GB, free: 12.8 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001421/0.3844, allocations: 0.6231 MB / 0.5703 GB, free: 12.18 MB / 442.7 MB Notification: Performance of SimCode: time 2.265e-06/0.3844, allocations: 0 / 0.5703 GB, free: 12.18 MB / 442.7 MB Notification: Performance of Templates: time 0.2249/0.6093, allocations: 42.37 MB / 0.6117 GB, free: 124.8 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/SphericalSpherical/SphericalSpherical.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.514969351235777]