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.001425/0.001425, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001731/0.001731, allocations: 165 kB / 24.56 MB, free: 16 kB / 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.039/1.039, allocations: 177.1 MB / 205 MB, free: 5.297 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.3138/0.3138, allocations: 32.8 MB / 294.3 MB, free: 1.16 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 1.583e-06/1.583e-06, allocations: 0 / 376 MB, free: 4.684 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.742e-05/2.9e-05, allocations: 8.781 kB / 376 MB, free: 4.676 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.009794/0.009823, allocations: 11.63 MB / 387.6 MB, free: 8.984 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008563/0.01839, allocations: 4.236 MB / 391.9 MB, free: 4.734 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002344/0.02073, allocations: 91.56 kB / 392 MB, free: 4.645 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003824/0.02455, allocations: 2.924 MB / 394.9 MB, free: 1.711 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005688/0.03024, allocations: 2.127 MB / 397 MB, free: 15.57 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001707/0.03195, allocations: 1.006 MB / 398 MB, free: 14.57 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00689/0.03884, allocations: 6.415 MB / 404.4 MB, free: 8.141 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005515/0.04435, allocations: 3.432 MB / 407.9 MB, free: 4.66 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007833/0.05219, allocations: 3.633 MB / 411.5 MB, free: 1.02 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004975/0.05716, allocations: 2.818 MB / 414.3 MB, free: 14.2 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001842/0.059, allocations: 396 kB / 414.7 MB, free: 13.81 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003181/0.06218, allocations: 1.342 MB / 416.1 MB, free: 12.46 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002752/0.06494, allocations: 2.353 MB / 418.4 MB, free: 10.11 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004154/0.06909, allocations: 1.46 MB / 419.9 MB, free: 8.641 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008106/0.0772, allocations: 5.337 MB / 425.2 MB, free: 3.285 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.0772, allocations: 0 / 425.2 MB, free: 3.285 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.0772, allocations: 0 / 425.2 MB, free: 3.285 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001117/0.07732, allocations: 4 kB / 425.2 MB, free: 3.281 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.008639/0.08595, allocations: 6.01 MB / 431.2 MB, free: 13.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.08599, allocations: 12.03 kB / 431.2 MB, free: 13.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00642/0.09241, allocations: 2.943 MB / 434.2 MB, free: 10.23 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004977/0.09739, allocations: 2.823 MB / 437 MB, free: 7.359 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001816/0.09757, allocations: 242.4 kB / 437.2 MB, free: 7.121 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007084/0.09828, allocations: 332.3 kB / 437.6 MB, free: 6.797 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1993/0.2975, allocations: 6.705 MB / 444.3 MB, free: 89.83 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001734/0.2977, allocations: 46.41 kB / 444.3 MB, free: 89.83 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005098/0.2982, allocations: 152.5 kB / 444.5 MB, free: 89.83 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001624/0.2998, allocations: 1.954 MB / 446.4 MB, free: 89.82 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009213/0.3091, allocations: 3.791 MB / 450.2 MB, free: 89.76 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03082/0.3399, allocations: 45.05 MB / 495.3 MB, free: 54.59 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005554/0.3454, allocations: 2.093 MB / 497.3 MB, free: 54.17 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001004/0.3464, allocations: 0.5492 MB / 497.9 MB, free: 54.04 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007658/0.3541, allocations: 4.705 MB / 0.4908 GB, free: 51.9 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.317e-05/0.3541, allocations: 57.02 kB / 0.4909 GB, free: 51.84 MB / 410.7 MB Notification: Performance of pre-optimization done (n=163): time 3.787e-06/0.3541, allocations: 1.062 kB / 0.4909 GB, free: 51.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=200): time 0.03093/0.3851, allocations: 12.84 MB / 0.5034 GB, free: 48.13 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.008e-05/0.3852, allocations: 203.6 kB / 0.5036 GB, free: 47.91 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006161/0.3913, allocations: 3.794 MB / 0.5073 GB, free: 46.43 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003854/0.3917, allocations: 59.95 kB / 0.5074 GB, free: 46.38 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002279/0.394, allocations: 3.532 MB / 0.5108 GB, free: 43.65 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008639/0.3949, allocations: 0.8111 MB / 0.5116 GB, free: 43.05 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001423/0.3963, allocations: 1.374 MB / 0.513 GB, free: 42.31 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.532e-05/0.3963, allocations: 482 kB / 0.5134 GB, free: 41.84 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001481/0.3978, allocations: 0.8093 MB / 0.5142 GB, free: 41.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003522/0.4014, allocations: 6.489 MB / 0.5205 GB, free: 32.56 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005625/0.407, allocations: 7.972 MB / 0.5283 GB, free: 22.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.299e-05/0.407, allocations: 36 kB / 0.5284 GB, free: 22.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=843) (initialization): time 0.008763/0.4158, allocations: 6.346 MB / 0.5346 GB, free: 16.61 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.134e-05/0.4159, allocations: 68.03 kB / 0.5346 GB, free: 16.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001057/0.416, allocations: 132 kB / 0.5347 GB, free: 16.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002761/0.4187, allocations: 1.225 MB / 0.5359 GB, free: 15.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002722/0.4215, allocations: 1.493 MB / 0.5374 GB, free: 13.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005545/0.427, allocations: 6.345 MB / 0.5436 GB, free: 7.387 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003829/0.4308, allocations: 437.4 kB / 0.544 GB, free: 6.965 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004199/0.4313, allocations: 372 kB / 0.5444 GB, free: 6.602 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.001708/0.433, allocations: 0.6808 MB / 0.545 GB, free: 5.906 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005739/0.4335, allocations: 421.5 kB / 0.5454 GB, free: 5.492 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003296/0.4368, allocations: 2.241 MB / 0.5476 GB, free: 3.242 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.082e-05/0.4369, allocations: 22.73 kB / 0.5476 GB, free: 3.223 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/0.4369, allocations: 4 kB / 0.5477 GB, free: 3.219 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/0.4369, allocations: 15.91 kB / 0.5477 GB, free: 3.203 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01112/0.448, allocations: 7.1 MB / 0.5546 GB, free: 11.97 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.971e-05/0.448, allocations: 11.94 kB / 0.5546 GB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009674/0.449, allocations: 331.5 kB / 0.5549 GB, free: 11.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002755/0.4517, allocations: 1.013 MB / 0.5559 GB, free: 10.62 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002833/0.452, allocations: 41.95 kB / 0.556 GB, free: 10.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006254/0.4583, allocations: 5.632 MB / 0.5615 GB, free: 4.723 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.632e-06/0.4583, allocations: 15.94 kB / 0.5615 GB, free: 4.707 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005847/0.4641, allocations: 3.462 MB / 0.5649 GB, free: 1.109 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001471/0.4656, allocations: 377.4 kB / 0.5652 GB, free: 0.7383 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004252/0.466, allocations: 40.02 kB / 0.5653 GB, free: 0.6992 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001382/0.4674, allocations: 159 kB / 0.5654 GB, free: 0.5469 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003208/0.4677, allocations: 144.6 kB / 0.5655 GB, free: 416 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.841e-05/0.4678, allocations: 55.98 kB / 0.5656 GB, free: 360 kB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002648/0.4705, allocations: 1.66 MB / 0.5672 GB, free: 14.71 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4705, allocations: 0 / 0.5672 GB, free: 14.71 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00499/0.4755, allocations: 1.18 MB / 0.5684 GB, free: 13.53 MB / 442.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.0005202/0.476, allocations: 197.5 kB / 0.5686 GB, free: 13.33 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006297/0.4823, allocations: 3.443 MB / 0.5719 GB, free: 9.887 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.009e-05/0.4823, allocations: 0 / 0.5719 GB, free: 9.887 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001446/0.4837, allocations: 0.9822 MB / 0.5729 GB, free: 8.887 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002682/0.4864, allocations: 471.9 kB / 0.5733 GB, free: 8.445 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01487/0.5013, allocations: 8.315 MB / 0.5814 GB, free: 15.95 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001412/0.5027, allocations: 1.332 MB / 0.5827 GB, free: 14.59 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002989/0.5057, allocations: 1.601 MB / 0.5843 GB, free: 12.98 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006316/0.5063, allocations: 248.4 kB / 0.5845 GB, free: 12.74 MB / 458.7 MB Notification: Performance of SimCode: time 2.264e-06/0.5063, allocations: 0 / 0.5845 GB, free: 12.74 MB / 458.7 MB Notification: Performance of Templates: time 0.2262/0.7326, allocations: 40.39 MB / 0.624 GB, free: 121.3 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.925043617840856]