Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001343/0.001343, allocations: 80.31 kB / 22.21 MB, free: 2.285 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.001213/0.001213, allocations: 174.1 kB / 25.61 MB, free: 8.855 MB / 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 0.9235/0.9235, allocations: 177.1 MB / 206 MB, free: 4.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.1511/0.1511, allocations: 34.26 MB / 296.8 MB, free: 13.92 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 7.665e-06/7.665e-06, allocations: 0 / 379.3 MB, free: 23.42 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.439e-05/3.205e-05, allocations: 3.734 kB / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.008316/0.008349, allocations: 12.62 MB / 391.9 MB, free: 10.73 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007221/0.01557, allocations: 4.693 MB / 396.6 MB, free: 6.023 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001347/0.01692, allocations: 115.4 kB / 396.7 MB, free: 5.91 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003237/0.02015, allocations: 3.952 MB / 400.6 MB, free: 1.945 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00349/0.02364, allocations: 2.298 MB / 402.9 MB, free: 15.64 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001964/0.02561, allocations: 1.189 MB / 404.1 MB, free: 14.45 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.007044/0.03265, allocations: 7.736 MB / 411.9 MB, free: 6.691 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004236/0.03689, allocations: 4.439 MB / 416.3 MB, free: 2.184 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004603/0.04149, allocations: 4.246 MB / 420.6 MB, free: 13.93 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002816/0.04431, allocations: 3.118 MB / 423.7 MB, free: 10.8 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008371/0.04514, allocations: 440 kB / 424.1 MB, free: 10.38 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001653/0.0468, allocations: 1.393 MB / 425.5 MB, free: 8.98 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001561/0.04836, allocations: 2.665 MB / 428.2 MB, free: 6.309 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001337/0.04969, allocations: 1.644 MB / 429.8 MB, free: 4.66 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004746/0.05444, allocations: 5.769 MB / 435.6 MB, free: 14.87 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.05444, allocations: 0 / 435.6 MB, free: 14.87 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.05445, allocations: 0 / 435.6 MB, free: 14.87 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.589e-05/0.05451, allocations: 0 / 435.6 MB, free: 14.87 MB / 362.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.007191/0.0617, allocations: 6.436 MB / 442 MB, free: 8.363 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.06174, allocations: 8.031 kB / 442 MB, free: 8.355 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005301/0.06704, allocations: 2.101 MB / 444.1 MB, free: 6.25 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003912/0.07095, allocations: 2.921 MB / 447 MB, free: 3.281 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000153/0.0711, allocations: 279.7 kB / 447.3 MB, free: 3.008 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000443/0.07155, allocations: 396.1 kB / 447.7 MB, free: 2.621 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007551/0.0791, allocations: 6.487 MB / 454.2 MB, free: 11.05 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.642e-05/0.0792, allocations: 59.5 kB / 454.2 MB, free: 10.99 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002907/0.07949, allocations: 175.9 kB / 454.4 MB, free: 10.82 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001529/0.08102, allocations: 1.937 MB / 456.4 MB, free: 8.883 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005017/0.08603, allocations: 2.917 MB / 459.3 MB, free: 5.941 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2183/0.3043, allocations: 49.87 MB / 0.4972 GB, free: 57.63 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004785/0.3091, allocations: 2.263 MB / 0.4994 GB, free: 57.48 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00054/0.3096, allocations: 0.5379 MB / 0.4999 GB, free: 57.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005279/0.3149, allocations: 4.829 MB / 0.5047 GB, free: 56.51 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/0.3149, allocations: 51.83 kB / 0.5047 GB, free: 56.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=160): time 2.785e-06/0.3149, allocations: 0.5469 kB / 0.5047 GB, free: 56.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=192): time 0.03034/0.3453, allocations: 12.41 MB / 0.5168 GB, free: 55.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/0.3453, allocations: 200.3 kB / 0.517 GB, free: 54.99 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003021/0.3483, allocations: 4.269 MB / 0.5212 GB, free: 52.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.893e-05/0.3484, allocations: 53.02 kB / 0.5212 GB, free: 52.05 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001388/0.3498, allocations: 4.086 MB / 0.5252 GB, free: 49.08 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003812/0.3502, allocations: 0.8142 MB / 0.526 GB, free: 48.42 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001045/0.3512, allocations: 1.521 MB / 0.5275 GB, free: 47.55 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.192e-05/0.3513, allocations: 476.8 kB / 0.528 GB, free: 47.08 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009261/0.3522, allocations: 0.6727 MB / 0.5286 GB, free: 46.49 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002213/0.3544, allocations: 6.99 MB / 0.5355 GB, free: 36.98 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004676/0.3591, allocations: 8.32 MB / 0.5436 GB, free: 26.62 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.892e-05/0.3591, allocations: 40 kB / 0.5436 GB, free: 26.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=905) (initialization): time 0.00624/0.3654, allocations: 5.943 MB / 0.5494 GB, free: 21.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.159e-05/0.3654, allocations: 68 kB / 0.5495 GB, free: 21.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.653e-05/0.3655, allocations: 148 kB / 0.5496 GB, free: 21.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001986/0.3675, allocations: 1.019 MB / 0.5506 GB, free: 20.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002155/0.3697, allocations: 1.532 MB / 0.5521 GB, free: 18.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005088/0.3748, allocations: 9.188 MB / 0.5611 GB, free: 9.113 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002699/0.3775, allocations: 299.6 kB / 0.5614 GB, free: 8.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002602/0.3777, allocations: 364.8 kB / 0.5617 GB, free: 8.465 MB / 410.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.001114/0.3788, allocations: 0.7297 MB / 0.5624 GB, free: 7.73 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004098/0.3792, allocations: 457.3 kB / 0.5629 GB, free: 7.281 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002232/0.3815, allocations: 1.65 MB / 0.5645 GB, free: 5.609 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.606e-05/0.3815, allocations: 23.98 kB / 0.5645 GB, free: 5.586 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.3815, allocations: 4 kB / 0.5645 GB, free: 5.582 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.129e-05/0.3815, allocations: 11.97 kB / 0.5645 GB, free: 5.57 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008164/0.3897, allocations: 6.805 MB / 0.5712 GB, free: 15.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.746e-06/0.3897, allocations: 8 kB / 0.5712 GB, free: 15.28 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000565/0.3903, allocations: 252.4 kB / 0.5714 GB, free: 15.03 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001846/0.3921, allocations: 0.7658 MB / 0.5722 GB, free: 14.26 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-05/0.3922, allocations: 36 kB / 0.5722 GB, free: 14.22 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005498/0.3977, allocations: 8.396 MB / 0.5804 GB, free: 5.43 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.154e-06/0.3977, allocations: 8 kB / 0.5804 GB, free: 5.422 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003667/0.4014, allocations: 2.925 MB / 0.5833 GB, free: 2.371 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006049/0.402, allocations: 409.1 kB / 0.5836 GB, free: 1.969 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003003/0.4023, allocations: 39.98 kB / 0.5837 GB, free: 1.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007864/0.403, allocations: 36 kB / 0.5837 GB, free: 1.895 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002323/0.4033, allocations: 155.5 kB / 0.5839 GB, free: 1.746 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.623e-05/0.4034, allocations: 44 kB / 0.5839 GB, free: 1.703 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00204/0.4054, allocations: 1.756 MB / 0.5856 GB, free: 124 kB / 426.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4054, allocations: 5.203 kB / 0.5856 GB, free: 120 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.004367/0.4098, allocations: 1.27 MB / 0.5869 GB, free: 14.84 MB / 442.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.0003204/0.4101, allocations: 192.6 kB / 0.5871 GB, free: 14.65 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004219/0.4143, allocations: 3.879 MB / 0.5908 GB, free: 10.82 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.4143, allocations: 0 / 0.5908 GB, free: 10.82 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001324/0.4156, allocations: 1.442 MB / 0.5923 GB, free: 9.332 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001815/0.4174, allocations: 0.5363 MB / 0.5928 GB, free: 8.812 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0112/0.4286, allocations: 9.083 MB / 0.6016 GB, free: 15.55 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001286/0.4299, allocations: 1.497 MB / 0.6031 GB, free: 14.03 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001355/0.4313, allocations: 0.5759 MB / 0.6037 GB, free: 13.45 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008491/0.4321, allocations: 0.6894 MB / 0.6043 GB, free: 12.76 MB / 458.7 MB Notification: Performance of SimCode: time 1.312e-06/0.4321, allocations: 0 / 0.6043 GB, free: 12.76 MB / 458.7 MB Notification: Performance of Templates: time 0.06444/0.4966, allocations: 44.14 MB / 0.6474 GB, free: 1.246 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.734695338644087]