Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.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.001623/0.001623, allocations: 112.6 kB / 21.18 MB, free: 0.7422 MB / 14.72 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.00179/0.00179, allocations: 212.2 kB / 24.48 MB, free: 4.191 MB / 14.72 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.427/1.427, allocations: 230.2 MB / 257.8 MB, free: 8.5 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2285/0.2285, allocations: 46.9 MB / 361.1 MB, free: 4.621 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_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.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002248/0.002248, allocations: 79.88 kB / 0.4968 GB, free: 7.824 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3294/0.3317, allocations: 65.99 MB / 0.5612 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.01352/0.3452, allocations: 12.1 MB / 0.573 GB, free: 8.871 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008716/0.3539, allocations: 4.352 MB / 0.5773 GB, free: 4.504 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00206/0.3559, allocations: 79.75 kB / 0.5773 GB, free: 4.426 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005445/0.3614, allocations: 2.78 MB / 0.5801 GB, free: 1.637 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00524/0.3666, allocations: 2.039 MB / 0.582 GB, free: 15.59 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002164/0.3688, allocations: 0.9084 MB / 0.5829 GB, free: 14.68 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008014/0.3768, allocations: 5.669 MB / 0.5885 GB, free: 9 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004321/0.3811, allocations: 2.542 MB / 0.591 GB, free: 6.41 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003595/0.3847, allocations: 1.729 MB / 0.5926 GB, free: 4.676 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004674/0.3894, allocations: 2.714 MB / 0.5953 GB, free: 1.953 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00091/0.3903, allocations: 388 kB / 0.5957 GB, free: 1.574 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002668/0.393, allocations: 1.428 MB / 0.5971 GB, free: 148 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002409/0.3954, allocations: 2.244 MB / 0.5992 GB, free: 13.89 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002888/0.3983, allocations: 2.424 MB / 0.6016 GB, free: 11.45 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01038/0.4087, allocations: 7.883 MB / 0.6093 GB, free: 3.543 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.4087, allocations: 0 / 0.6093 GB, free: 3.543 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4087, allocations: 0 / 0.6093 GB, free: 3.543 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002777/0.4089, allocations: 0 / 0.6093 GB, free: 3.543 MB / 446.1 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.01558/0.4245, allocations: 5.634 MB / 0.6148 GB, free: 13.82 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.902e-05/0.4246, allocations: 8.031 kB / 0.6148 GB, free: 13.81 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01184/0.4364, allocations: 2.502 MB / 0.6173 GB, free: 11.3 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008908/0.4453, allocations: 3.381 MB / 0.6206 GB, free: 7.867 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002433/0.4456, allocations: 234.5 kB / 0.6208 GB, free: 7.637 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001098/0.4467, allocations: 343.7 kB / 0.6211 GB, free: 7.301 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02028/0.4669, allocations: 10.88 MB / 0.6317 GB, free: 11.68 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001456/0.4671, allocations: 59.58 kB / 0.6318 GB, free: 11.62 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004348/0.4675, allocations: 151.9 kB / 0.6319 GB, free: 11.47 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003412/0.4709, allocations: 1.998 MB / 0.6339 GB, free: 9.469 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02004/0.491, allocations: 9.436 MB / 0.6431 GB, free: 12 kB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05725/0.5482, allocations: 41.12 MB / 0.6833 GB, free: 5.664 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01169/0.5599, allocations: 4.089 MB / 0.6873 GB, free: 1.43 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002846/0.5628, allocations: 1.783 MB / 0.689 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01453/0.5773, allocations: 7.612 MB / 0.6964 GB, free: 7.656 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.743e-05/0.5773, allocations: 55.5 kB / 0.6965 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=180): time 5.48e-06/0.5773, allocations: 0 / 0.6965 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of matching and sorting (n=236): time 0.4518/1.029, allocations: 41.12 MB / 0.7366 GB, free: 155.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.469e-05/1.029, allocations: 202.6 kB / 0.7368 GB, free: 155.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005945/1.035, allocations: 4.317 MB / 0.7411 GB, free: 154.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006155/1.036, allocations: 61.58 kB / 0.7411 GB, free: 154.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001829/1.038, allocations: 3.291 MB / 0.7443 GB, free: 152.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009875/1.039, allocations: 0.9157 MB / 0.7452 GB, free: 152.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001766/1.04, allocations: 1.363 MB / 0.7466 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.912e-05/1.04, allocations: 302.5 kB / 0.7468 GB, free: 151.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003928/1.044, allocations: 3.63 MB / 0.7504 GB, free: 150 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005054/1.049, allocations: 7.297 MB / 0.7575 GB, free: 143.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01031/1.06, allocations: 11.62 MB / 0.7689 GB, free: 134.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.074e-05/1.06, allocations: 40 kB / 0.7689 GB, free: 134.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=856) (initialization): time 0.03318/1.093, allocations: 16.19 MB / 0.7847 GB, free: 118.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.567e-05/1.093, allocations: 60 kB / 0.7848 GB, free: 118 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.981e-05/1.093, allocations: 124 kB / 0.7849 GB, free: 117.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02216/1.115, allocations: 6.232 MB / 0.791 GB, free: 111.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004949/1.12, allocations: 1.489 MB / 0.7924 GB, free: 110.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02859/1.149, allocations: 27.64 MB / 0.8194 GB, free: 82.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005232/1.154, allocations: 411.7 kB / 0.8198 GB, free: 81.87 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006537/1.155, allocations: 380 kB / 0.8202 GB, free: 81.5 MB / 0.5606 GB 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 (779): * Single equations (assignments): 774 * 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.002678/1.157, allocations: 2.221 MB / 0.8223 GB, free: 79.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007093/1.158, allocations: 417.1 kB / 0.8227 GB, free: 78.89 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02724/1.185, allocations: 11.26 MB / 0.8337 GB, free: 67.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.212e-05/1.185, allocations: 11.95 kB / 0.8337 GB, free: 67.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/1.185, allocations: 0 / 0.8337 GB, free: 67.59 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002055/1.188, allocations: 466.2 kB / 0.8342 GB, free: 67.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001818/1.189, allocations: 32 kB / 0.8342 GB, free: 67.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003625/1.193, allocations: 179.7 kB / 0.8344 GB, free: 66.91 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008413/1.194, allocations: 173.7 kB / 0.8346 GB, free: 66.73 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01677/1.211, allocations: 8.779 MB / 0.8431 GB, free: 57.99 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009622/1.22, allocations: 9.696 MB / 0.8526 GB, free: 48.27 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002414/1.223, allocations: 2.53 MB / 0.8551 GB, free: 45.74 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003139/1.226, allocations: 2.701 MB / 0.8577 GB, free: 43.04 MB / 0.5606 GB Notification: Performance of Backend: time 2.3e-07/1.226, allocations: 0 / 0.8577 GB, free: 43.04 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01018/1.236, allocations: 5.819 MB / 0.8634 GB, free: 37.24 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01459/1.251, allocations: 10.41 MB / 0.8736 GB, free: 26.79 MB / 0.5606 GB Notification: Performance of Templates: time 0.126/1.377, allocations: 77.71 MB / 0.9494 GB, free: 13.2 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/SphericalSpherical/SphericalSpherical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.639375334139913]