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.001037/0.001037, allocations: 91.33 kB / 20.43 MB, free: 4.137 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.001021/0.001021, allocations: 169 kB / 23.8 MB, free: 0.7695 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.112/1.112, allocations: 158.6 MB / 185.7 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 179] 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.1623/0.1623, allocations: 32.37 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] 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 1.923e-06/1.923e-06, allocations: 0 / 347.7 MB, free: 9.465 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.124e-05/3.316e-05, allocations: 4.281 kB / 347.7 MB, free: 9.461 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.009537/0.00957, allocations: 11.72 MB / 359.4 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008341/0.01791, allocations: 4.249 MB / 363.6 MB, free: 9.434 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001567/0.01948, allocations: 91.5 kB / 363.7 MB, free: 9.344 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003383/0.02286, allocations: 2.932 MB / 366.6 MB, free: 6.402 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004251/0.02711, allocations: 2.158 MB / 368.8 MB, free: 4.23 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001612/0.02873, allocations: 1.025 MB / 369.8 MB, free: 3.203 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.005282/0.03401, allocations: 5.931 MB / 375.8 MB, free: 13.26 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003793/0.0378, allocations: 3.474 MB / 379.2 MB, free: 9.738 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004295/0.04209, allocations: 3.29 MB / 382.5 MB, free: 6.441 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003127/0.04522, allocations: 2.833 MB / 385.4 MB, free: 3.602 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001043/0.04626, allocations: 400 kB / 385.7 MB, free: 3.211 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001886/0.04815, allocations: 1.365 MB / 387.1 MB, free: 1.844 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001593/0.04974, allocations: 2.384 MB / 389.5 MB, free: 15.45 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001803/0.05155, allocations: 1.472 MB / 391 MB, free: 13.98 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004897/0.05644, allocations: 5.403 MB / 396.4 MB, free: 8.555 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.05645, allocations: 0 / 396.4 MB, free: 8.555 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.05645, allocations: 0 / 396.4 MB, free: 8.555 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.02e-05/0.05649, allocations: 0 / 396.4 MB, free: 8.555 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.007163/0.06365, allocations: 6.056 MB / 402.4 MB, free: 2.422 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.429e-05/0.06372, allocations: 8.031 kB / 402.4 MB, free: 2.414 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006426/0.07015, allocations: 2.942 MB / 405.4 MB, free: 15.46 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003393/0.07354, allocations: 2.854 MB / 408.2 MB, free: 12.55 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001347/0.07367, allocations: 242.5 kB / 408.5 MB, free: 12.32 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004074/0.07408, allocations: 336.3 kB / 408.8 MB, free: 11.99 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008226/0.08231, allocations: 6.701 MB / 415.5 MB, free: 4.277 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.166e-05/0.0824, allocations: 55.53 kB / 415.6 MB, free: 4.223 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002661/0.08266, allocations: 151.8 kB / 415.7 MB, free: 4.074 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001925/0.08459, allocations: 1.955 MB / 417.7 MB, free: 2.117 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007343/0.09193, allocations: 3.798 MB / 421.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2476/0.3395, allocations: 45.08 MB / 466.5 MB, free: 61.47 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005671/0.3452, allocations: 2.108 MB / 468.6 MB, free: 61.31 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008483/0.346, allocations: 0.5455 MB / 469.2 MB, free: 61.26 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006042/0.3521, allocations: 4.712 MB / 473.9 MB, free: 60.36 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/0.3521, allocations: 50.42 kB / 473.9 MB, free: 60.32 MB / 378.7 MB Notification: Performance of pre-optimization done (n=163): time 3.797e-06/0.3521, allocations: 0 / 473.9 MB, free: 60.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=200): time 0.02541/0.3775, allocations: 12.92 MB / 486.9 MB, free: 56.2 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.008e-05/0.3776, allocations: 211.4 kB / 487.1 MB, free: 55.95 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003497/0.3811, allocations: 3.818 MB / 490.9 MB, free: 52.65 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.142e-05/0.3812, allocations: 53.7 kB / 490.9 MB, free: 52.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001377/0.3826, allocations: 3.539 MB / 494.5 MB, free: 49.3 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000447/0.383, allocations: 0.8148 MB / 495.3 MB, free: 48.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001011/0.384, allocations: 1.38 MB / 496.7 MB, free: 47.1 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.535e-05/0.3841, allocations: 480.7 kB / 497.1 MB, free: 46.63 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001139/0.3852, allocations: 0.8012 MB / 498 MB, free: 45.82 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002656/0.3879, allocations: 6.486 MB / 0.4926 GB, free: 36.81 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006783/0.3947, allocations: 7.967 MB / 0.5004 GB, free: 26.77 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.224e-05/0.3947, allocations: 40 kB / 0.5004 GB, free: 26.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=843) (initialization): time 0.008955/0.4037, allocations: 6.354 MB / 0.5066 GB, free: 20.38 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.178e-05/0.4037, allocations: 67.94 kB / 0.5067 GB, free: 20.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.411e-05/0.4038, allocations: 132 kB / 0.5068 GB, free: 20.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002672/0.4065, allocations: 1.231 MB / 0.508 GB, free: 18.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002369/0.4089, allocations: 1.492 MB / 0.5095 GB, free: 17.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005143/0.414, allocations: 6.333 MB / 0.5157 GB, free: 10.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002896/0.4169, allocations: 442.1 kB / 0.5161 GB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000281/0.4172, allocations: 388 kB / 0.5165 GB, free: 10.07 MB / 378.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.00121/0.4184, allocations: 0.681 MB / 0.5171 GB, free: 9.383 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004095/0.4188, allocations: 421.5 kB / 0.5175 GB, free: 8.969 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003156/0.422, allocations: 2.237 MB / 0.5197 GB, free: 6.723 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.877e-05/0.422, allocations: 21.48 kB / 0.5197 GB, free: 6.703 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/0.422, allocations: 4 kB / 0.5197 GB, free: 6.699 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.25e-05/0.422, allocations: 15.95 kB / 0.5198 GB, free: 6.684 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00926/0.4313, allocations: 7.144 MB / 0.5267 GB, free: 15.4 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/0.4313, allocations: 4 kB / 0.5267 GB, free: 15.4 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008241/0.4321, allocations: 340.1 kB / 0.5271 GB, free: 15.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002358/0.4345, allocations: 1.015 MB / 0.5281 GB, free: 14.05 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001206/0.4346, allocations: 40 kB / 0.5281 GB, free: 14.01 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005255/0.4398, allocations: 5.646 MB / 0.5336 GB, free: 8.141 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.4398, allocations: 8 kB / 0.5336 GB, free: 8.133 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005158/0.445, allocations: 3.466 MB / 0.537 GB, free: 4.543 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001067/0.4461, allocations: 0.6184 MB / 0.5376 GB, free: 3.922 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003324/0.4464, allocations: 43.92 kB / 0.5376 GB, free: 3.879 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009558/0.4474, allocations: 170.4 kB / 0.5378 GB, free: 3.715 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002801/0.4476, allocations: 132.6 kB / 0.5379 GB, free: 3.586 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.526e-05/0.4477, allocations: 56 kB / 0.538 GB, free: 3.531 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002297/0.45, allocations: 1.684 MB / 0.5396 GB, free: 1.867 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.45, allocations: 3.938 kB / 0.5396 GB, free: 1.863 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004394/0.4544, allocations: 1.213 MB / 0.5408 GB, free: 0.6523 MB / 394.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.0005137/0.4549, allocations: 208 kB / 0.541 GB, free: 460 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00507/0.46, allocations: 3.443 MB / 0.5444 GB, free: 13.01 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.46, allocations: 3.938 kB / 0.5444 GB, free: 13 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001314/0.4613, allocations: 0.9789 MB / 0.5453 GB, free: 12 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001519/0.4629, allocations: 471.4 kB / 0.5458 GB, free: 11.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0119/0.4747, allocations: 8.356 MB / 0.5539 GB, free: 3.031 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001297/0.476, allocations: 1.336 MB / 0.5553 GB, free: 1.672 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002602/0.4786, allocations: 1.617 MB / 0.5568 GB, free: 48 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005745/0.4792, allocations: 240.5 kB / 0.5571 GB, free: 15.81 MB / 426.7 MB Notification: Performance of SimCode: time 2.345e-06/0.4792, allocations: 0 / 0.5571 GB, free: 15.81 MB / 426.7 MB Notification: Performance of Templates: time 0.06006/0.5393, allocations: 41.05 MB / 0.5971 GB, free: 6.891 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","",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.637239423114806]