Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.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.0007489/0.0007489, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001152/0.001901, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.0007539/0.0007539, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009267/0.001681, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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 0.9374/0.9374, allocations: 158.6 MB / 171 MB, free: 2.176 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1648/1.102, allocations: 49.5 MB / 220.5 MB, free: 5.266 MB / 218.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.1315/0.1315, allocations: 32.34 MB / 253.6 MB, free: 4.164 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02083/0.1523, allocations: 12.3 MB / 265.9 MB, free: 7.824 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.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 267.2 MB, free: 6.547 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.015e-05/1.161e-05, allocations: 2.312 kB / 267.2 MB, free: 6.543 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.01155/0.01156, allocations: 12.87 MB / 280.1 MB, free: 9.605 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007897/0.01946, allocations: 4.921 MB / 285 MB, free: 4.668 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001189/0.02064, allocations: 115.4 kB / 285.1 MB, free: 4.555 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004518/0.02516, allocations: 3.804 MB / 288.9 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003653/0.02882, allocations: 2.317 MB / 291.2 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001646/0.03046, allocations: 1.111 MB / 292.3 MB, free: 13.3 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.006299/0.03676, allocations: 6.635 MB / 299 MB, free: 6.645 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003816/0.04058, allocations: 3.913 MB / 302.9 MB, free: 2.645 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003882/0.04446, allocations: 3.833 MB / 306.7 MB, free: 14.79 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003201/0.04766, allocations: 2.981 MB / 309.7 MB, free: 11.8 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005267/0.04819, allocations: 436 kB / 310.1 MB, free: 11.38 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001811/0.05, allocations: 1.451 MB / 311.6 MB, free: 9.922 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00172/0.05172, allocations: 2.412 MB / 314 MB, free: 7.504 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00152/0.05324, allocations: 1.359 MB / 315.3 MB, free: 6.141 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004228/0.05746, allocations: 5.387 MB / 320.7 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.407e-05/0.05748, allocations: 0 / 320.7 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.05748, allocations: 0 / 320.7 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.107e-05/0.05756, allocations: 0 / 320.7 MB, free: 0.7344 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.006935/0.0645, allocations: 6.907 MB / 327.6 MB, free: 9.746 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.06453, allocations: 8.031 kB / 327.6 MB, free: 9.738 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002805/0.06734, allocations: 1.296 MB / 328.9 MB, free: 8.441 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003118/0.07045, allocations: 2.752 MB / 331.7 MB, free: 5.637 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000133/0.07059, allocations: 279.7 kB / 332 MB, free: 5.363 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004117/0.071, allocations: 396 kB / 332.4 MB, free: 4.977 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.14/0.211, allocations: 5.833 MB / 338.2 MB, free: 50.27 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002172/0.2112, allocations: 52.73 kB / 338.2 MB, free: 50.27 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004201/0.2116, allocations: 182.5 kB / 338.4 MB, free: 50.27 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002095/0.2137, allocations: 1.938 MB / 340.4 MB, free: 50.26 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006445/0.2201, allocations: 2.929 MB / 343.3 MB, free: 50.12 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0219/0.242, allocations: 36.19 MB / 379.5 MB, free: 20.88 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00375/0.2458, allocations: 2.081 MB / 381.6 MB, free: 18.84 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004111/0.2462, allocations: 439.3 kB / 382 MB, free: 18.42 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004052/0.2503, allocations: 4.499 MB / 386.5 MB, free: 13.98 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.2503, allocations: 51.5 kB / 386.5 MB, free: 13.92 MB / 330.7 MB Notification: Performance of pre-optimization done (n=160): time 2.836e-06/0.2503, allocations: 0 / 386.5 MB, free: 13.92 MB / 330.7 MB Notification: Performance of matching and sorting (n=192): time 0.02189/0.2722, allocations: 9.715 MB / 396.2 MB, free: 4.398 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.148e-05/0.2722, allocations: 153.8 kB / 396.4 MB, free: 4.219 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002082/0.2743, allocations: 3.875 MB / 400.3 MB, free: 0.625 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.535e-05/0.2744, allocations: 49.7 kB / 400.3 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001347/0.2757, allocations: 3.549 MB / 403.9 MB, free: 13 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004084/0.2761, allocations: 0.7675 MB / 404.6 MB, free: 12.23 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001564/0.2777, allocations: 1.315 MB / 406 MB, free: 10.91 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.527e-05/0.2777, allocations: 305.1 kB / 406.2 MB, free: 10.61 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001442/0.2792, allocations: 0.8629 MB / 407.1 MB, free: 9.738 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003169/0.2824, allocations: 4.975 MB / 412.1 MB, free: 2.68 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004999/0.2874, allocations: 6.425 MB / 418.5 MB, free: 10.16 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.112e-05/0.2874, allocations: 44 kB / 418.6 MB, free: 10.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=905) (initialization): time 0.006877/0.2943, allocations: 5.089 MB / 423.6 MB, free: 4.988 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.304e-05/0.2944, allocations: 68 kB / 423.7 MB, free: 4.922 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001091/0.2945, allocations: 148 kB / 423.9 MB, free: 4.777 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002089/0.2966, allocations: 1.002 MB / 424.9 MB, free: 3.758 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002973/0.2996, allocations: 1.724 MB / 426.6 MB, free: 2.031 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006116/0.3057, allocations: 7 MB / 433.6 MB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00412/0.3098, allocations: 299.7 kB / 433.9 MB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000821/0.3106, allocations: 360 kB / 434.2 MB, free: 9.992 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 676 * Number of states: 0 () * Number of discrete variables: 42 (Universal1.cylinderColor[3],Universal1.cylinderColor[2],Universal1.cylinderColor[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[1],b3.color[3],b3.color[2],b3.color[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 (851): * Single equations (assignments): 844 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,17,60.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001834/0.3124, allocations: 0.6845 MB / 434.9 MB, free: 9.293 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007098/0.3132, allocations: 267.6 kB / 435.2 MB, free: 9.031 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002362/0.3155, allocations: 1.475 MB / 436.6 MB, free: 7.523 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.668e-05/0.3155, allocations: 20 kB / 436.7 MB, free: 7.504 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.191e-05/0.3156, allocations: 8 kB / 436.7 MB, free: 7.496 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.336e-05/0.3156, allocations: 7.969 kB / 436.7 MB, free: 7.488 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01017/0.3257, allocations: 5.846 MB / 442.5 MB, free: 1.477 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.404e-05/0.3258, allocations: 4 kB / 442.5 MB, free: 1.473 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007562/0.3265, allocations: 300.1 kB / 442.8 MB, free: 1.18 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001447/0.328, allocations: 0.5361 MB / 443.4 MB, free: 0.6406 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002184/0.3301, allocations: 0.955 MB / 444.3 MB, free: 15.67 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001135/0.3303, allocations: 44 kB / 444.4 MB, free: 15.62 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004796/0.3351, allocations: 6.181 MB / 450.5 MB, free: 9.047 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.779e-06/0.3351, allocations: 15.77 kB / 450.6 MB, free: 9.035 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004037/0.3391, allocations: 2.456 MB / 453 MB, free: 6.449 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009459/0.34, allocations: 36 kB / 453 MB, free: 6.414 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001281/0.3413, allocations: 39.94 kB / 453.1 MB, free: 6.375 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002803/0.3416, allocations: 148.6 kB / 453.2 MB, free: 6.23 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.357e-05/0.3417, allocations: 45.64 kB / 453.3 MB, free: 6.188 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002039/0.3437, allocations: 1.485 MB / 454.8 MB, free: 4.695 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3437, allocations: 4.031 kB / 454.8 MB, free: 4.691 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00477/0.3485, allocations: 1.297 MB / 456.1 MB, free: 3.395 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * 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 (144): * Single equations (assignments): 137 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,15,60.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004695/0.349, allocations: 187.9 kB / 456.2 MB, free: 3.199 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004736/0.3537, allocations: 3.404 MB / 459.6 MB, free: 15.77 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0003058/0.354, allocations: 123.4 kB / 459.8 MB, free: 15.64 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001392/0.3554, allocations: 1.143 MB / 460.9 MB, free: 14.45 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003319/0.3587, allocations: 1.073 MB / 462 MB, free: 13.38 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01871/0.3774, allocations: 9.23 MB / 471.2 MB, free: 3.977 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001998/0.3794, allocations: 1.505 MB / 472.7 MB, free: 2.445 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002593/0.382, allocations: 0.5797 MB / 473.3 MB, free: 1.863 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00115/0.3832, allocations: 0.6339 MB / 473.9 MB, free: 1.227 MB / 410.7 MB Notification: Performance of SimCode: time 1.683e-06/0.3832, allocations: 0 / 473.9 MB, free: 1.227 MB / 410.7 MB Notification: Performance of Templates: time 0.2413/0.6244, allocations: 44.62 MB / 0.5064 GB, free: 142.9 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/SphericalAndUniversal/SphericalAndUniversal.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.402464448474348]