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.001116/0.001116, allocations: 80.2 kB / 20.65 MB, free: 3.84 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.001059/0.001059, allocations: 173 kB / 24.05 MB, free: 456 kB / 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.046/1.046, allocations: 158.6 MB / 185.9 MB, free: 2.805 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.1382/0.1382, allocations: 32.36 MB / 270.7 MB, free: 14.54 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.653e-06/1.653e-06, allocations: 0 / 348.1 MB, free: 9.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.162e-05/2.327e-05, allocations: 12.22 kB / 348.1 MB, free: 9.195 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.00805/0.008074, allocations: 11.42 MB / 359.5 MB, free: 13.72 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007913/0.01599, allocations: 4.206 MB / 363.7 MB, free: 9.504 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001392/0.01738, allocations: 91.5 kB / 363.8 MB, free: 9.414 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002872/0.02025, allocations: 2.893 MB / 366.7 MB, free: 6.512 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003271/0.02352, allocations: 2.169 MB / 368.9 MB, free: 4.332 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00174/0.02526, allocations: 1.025 MB / 369.9 MB, free: 3.305 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.005042/0.0303, allocations: 5.92 MB / 375.8 MB, free: 13.37 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00328/0.03358, allocations: 3.478 MB / 379.3 MB, free: 9.844 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003674/0.03726, allocations: 3.302 MB / 382.6 MB, free: 6.535 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003083/0.04034, allocations: 2.837 MB / 385.5 MB, free: 3.691 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004991/0.04084, allocations: 396 kB / 385.8 MB, free: 3.305 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001948/0.04279, allocations: 1.361 MB / 387.2 MB, free: 1.941 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001658/0.04445, allocations: 2.385 MB / 389.6 MB, free: 15.55 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001336/0.04578, allocations: 1.476 MB / 391.1 MB, free: 14.07 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005239/0.05102, allocations: 5.403 MB / 396.5 MB, free: 8.648 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.413e-06/0.05103, allocations: 0 / 396.5 MB, free: 8.648 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.05103, allocations: 0 / 396.5 MB, free: 8.648 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.523e-05/0.05106, allocations: 4 kB / 396.5 MB, free: 8.645 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.007007/0.05807, allocations: 5.63 MB / 402.1 MB, free: 2.934 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.05811, allocations: 8.031 kB / 402.1 MB, free: 2.926 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006385/0.0645, allocations: 2.015 MB / 404.1 MB, free: 0.9062 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003492/0.06799, allocations: 2.503 MB / 406.6 MB, free: 14.35 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001559/0.06815, allocations: 250.5 kB / 406.9 MB, free: 14.1 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00049/0.06864, allocations: 328.3 kB / 407.2 MB, free: 13.78 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007389/0.07603, allocations: 6.004 MB / 413.2 MB, free: 6.766 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.004e-05/0.07611, allocations: 59.45 kB / 413.3 MB, free: 6.707 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002561/0.07636, allocations: 159.8 kB / 413.4 MB, free: 6.551 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001434/0.0778, allocations: 1.791 MB / 415.2 MB, free: 4.758 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004834/0.08263, allocations: 2.918 MB / 418.1 MB, free: 1.801 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1898/0.2724, allocations: 44.64 MB / 462.8 MB, free: 63.13 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004695/0.2771, allocations: 1.93 MB / 464.7 MB, free: 62.98 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007308/0.2778, allocations: 485.5 kB / 465.2 MB, free: 62.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005508/0.2834, allocations: 4.436 MB / 469.6 MB, free: 62.06 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.894e-05/0.2834, allocations: 54.2 kB / 469.7 MB, free: 62.02 MB / 378.7 MB Notification: Performance of pre-optimization done (n=163): time 3.136e-06/0.2834, allocations: 3.656 kB / 469.7 MB, free: 62.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=200): time 0.02009/0.3035, allocations: 8.928 MB / 478.6 MB, free: 61.33 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.233e-05/0.3035, allocations: 201.2 kB / 478.8 MB, free: 61.09 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003049/0.3066, allocations: 3.787 MB / 482.6 MB, free: 58.48 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.782e-05/0.3067, allocations: 51.77 kB / 482.6 MB, free: 58.45 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00141/0.3081, allocations: 3.572 MB / 486.2 MB, free: 55.61 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004705/0.3086, allocations: 0.8221 MB / 487 MB, free: 54.83 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009811/0.3096, allocations: 1.409 MB / 488.4 MB, free: 53.42 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.963e-05/0.3096, allocations: 488.4 kB / 488.9 MB, free: 52.95 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009195/0.3105, allocations: 0.7192 MB / 489.6 MB, free: 52.22 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002533/0.3131, allocations: 6.436 MB / 496.1 MB, free: 43.26 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004489/0.3175, allocations: 7.731 MB / 0.492 GB, free: 33.47 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.48e-05/0.3176, allocations: 40 kB / 0.492 GB, free: 33.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=843) (initialization): time 0.006603/0.3242, allocations: 5.705 MB / 0.4976 GB, free: 27.72 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.821e-05/0.3242, allocations: 64 kB / 0.4977 GB, free: 27.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.192e-05/0.3243, allocations: 132 kB / 0.4978 GB, free: 27.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002055/0.3264, allocations: 0.9606 MB / 0.4987 GB, free: 26.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002182/0.3286, allocations: 1.435 MB / 0.5001 GB, free: 25.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004545/0.3331, allocations: 5.947 MB / 0.5059 GB, free: 18.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003706/0.3368, allocations: 283.6 kB / 0.5062 GB, free: 18.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002773/0.3371, allocations: 336 kB / 0.5065 GB, free: 18.35 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.001274/0.3384, allocations: 0.6829 MB / 0.5072 GB, free: 17.66 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004045/0.3388, allocations: 421.6 kB / 0.5076 GB, free: 17.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002533/0.3413, allocations: 1.859 MB / 0.5094 GB, free: 15.38 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.58e-05/0.3413, allocations: 24 kB / 0.5094 GB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.158e-05/0.3413, allocations: 4.875 kB / 0.5094 GB, free: 15.35 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/0.3413, allocations: 7.969 kB / 0.5094 GB, free: 15.34 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007375/0.3487, allocations: 5.517 MB / 0.5148 GB, free: 9.656 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.869e-06/0.3487, allocations: 5.078 kB / 0.5148 GB, free: 9.652 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000648/0.3494, allocations: 275.6 kB / 0.5151 GB, free: 9.383 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001786/0.3512, allocations: 0.7519 MB / 0.5158 GB, free: 8.633 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.969e-05/0.3512, allocations: 39.98 kB / 0.5159 GB, free: 8.594 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003597/0.3548, allocations: 5.287 MB / 0.521 GB, free: 3.094 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.3548, allocations: 11.94 kB / 0.521 GB, free: 3.082 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003344/0.3582, allocations: 2.993 MB / 0.524 GB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009243/0.3591, allocations: 0.5519 MB / 0.5245 GB, free: 15.41 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002587/0.3594, allocations: 43.94 kB / 0.5245 GB, free: 15.37 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000716/0.3601, allocations: 36 kB / 0.5246 GB, free: 15.33 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002142/0.3603, allocations: 132.6 kB / 0.5247 GB, free: 15.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.991e-05/0.3604, allocations: 44 kB / 0.5247 GB, free: 15.16 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001446/0.3618, allocations: 1.563 MB / 0.5263 GB, free: 13.61 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3618, allocations: 0 / 0.5263 GB, free: 13.61 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003738/0.3656, allocations: 1.215 MB / 0.5275 GB, free: 12.4 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.0003561/0.3659, allocations: 199.5 kB / 0.5276 GB, free: 12.19 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004164/0.3701, allocations: 3.194 MB / 0.5308 GB, free: 9 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.3701, allocations: 2.078 kB / 0.5308 GB, free: 9 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009331/0.371, allocations: 0.9045 MB / 0.5317 GB, free: 8.074 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001444/0.3725, allocations: 461.2 kB / 0.5321 GB, free: 7.645 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01088/0.3834, allocations: 8.308 MB / 0.5402 GB, free: 15.15 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00127/0.3846, allocations: 1.344 MB / 0.5415 GB, free: 13.78 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00126/0.3859, allocations: 0.525 MB / 0.542 GB, free: 13.26 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009402/0.3868, allocations: 0.627 MB / 0.5426 GB, free: 12.63 MB / 410.7 MB Notification: Performance of SimCode: time 1.884e-06/0.3868, allocations: 0 / 0.5426 GB, free: 12.63 MB / 410.7 MB Notification: Performance of Templates: time 0.06084/0.4477, allocations: 43.03 MB / 0.5847 GB, free: 1.609 MB / 442.7 MB " [Timeout remaining time 660] 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.369690279010683]