Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.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.0009646/0.0009646, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 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.0009773/0.0009773, allocations: 161.4 kB / 24.91 MB, free: 8.719 MB / 18.57 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 0.9177/0.9177, allocations: 177 MB / 205.2 MB, free: 5.039 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2584/0.2584, allocations: 34.86 MB / 296.6 MB, free: 472 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 325.9 MB, free: 7.18 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.647e-05/1.794e-05, allocations: 5.125 kB / 325.9 MB, free: 7.176 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.009216/0.009234, allocations: 12.63 MB / 338.5 MB, free: 10.48 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00866/0.01789, allocations: 4.898 MB / 343.4 MB, free: 5.566 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001319/0.01921, allocations: 111.4 kB / 343.5 MB, free: 5.457 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003702/0.02291, allocations: 3.995 MB / 347.5 MB, free: 1.449 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003335/0.02625, allocations: 2.317 MB / 349.9 MB, free: 15.12 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001476/0.02772, allocations: 1.208 MB / 351.1 MB, free: 13.91 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005779/0.0335, allocations: 7.693 MB / 358.8 MB, free: 6.211 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003025/0.03653, allocations: 4.545 MB / 363.3 MB, free: 1.574 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003939/0.04047, allocations: 4.195 MB / 367.5 MB, free: 13.37 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002358/0.04282, allocations: 2.985 MB / 370.5 MB, free: 10.38 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004149/0.04324, allocations: 436 kB / 370.9 MB, free: 9.953 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001511/0.04475, allocations: 1.381 MB / 372.3 MB, free: 8.57 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001862/0.04661, allocations: 2.673 MB / 375 MB, free: 5.891 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001253/0.04787, allocations: 1.647 MB / 376.6 MB, free: 4.238 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004651/0.05252, allocations: 5.757 MB / 382.4 MB, free: 14.46 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.05252, allocations: 0 / 382.4 MB, free: 14.46 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.05252, allocations: 0 / 382.4 MB, free: 14.46 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.161e-05/0.05258, allocations: 4 kB / 382.4 MB, free: 14.46 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.006369/0.05895, allocations: 5.762 MB / 388.1 MB, free: 8.637 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.05899, allocations: 12.03 kB / 388.1 MB, free: 8.625 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003061/0.06205, allocations: 1.292 MB / 389.4 MB, free: 7.332 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00304/0.06509, allocations: 2.72 MB / 392.2 MB, free: 4.559 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001459/0.06524, allocations: 287.7 kB / 392.4 MB, free: 4.277 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005188/0.06576, allocations: 376.1 kB / 392.8 MB, free: 3.91 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005743/0.0715, allocations: 5.843 MB / 398.6 MB, free: 13.27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.45e-05/0.07159, allocations: 55.56 kB / 398.7 MB, free: 13.21 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002801/0.07187, allocations: 175.9 kB / 398.9 MB, free: 13.04 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001771/0.07364, allocations: 1.937 MB / 400.8 MB, free: 11.1 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004125/0.07776, allocations: 2.932 MB / 403.7 MB, free: 8.133 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02712/0.1049, allocations: 36.16 MB / 439.9 MB, free: 2.66 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004301/0.1092, allocations: 2.117 MB / 442 MB, free: 0.5039 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004782/0.1097, allocations: 440.6 kB / 442.4 MB, free: 72 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1649/0.2746, allocations: 4.506 MB / 446.9 MB, free: 110.4 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/0.2746, allocations: 52.03 kB / 447 MB, free: 110.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=160): time 3.035e-06/0.2746, allocations: 0 / 447 MB, free: 110.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=192): time 0.02293/0.2975, allocations: 9.861 MB / 456.9 MB, free: 109.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/0.2976, allocations: 199.9 kB / 457.1 MB, free: 109.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002521/0.3001, allocations: 3.845 MB / 460.9 MB, free: 107.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.388e-05/0.3002, allocations: 52.58 kB / 461 MB, free: 107.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009713/0.3011, allocations: 3.537 MB / 464.5 MB, free: 104.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003253/0.3015, allocations: 0.7764 MB / 465.3 MB, free: 103.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008639/0.3023, allocations: 1.316 MB / 466.6 MB, free: 102.4 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.079e-05/0.3024, allocations: 305.1 kB / 466.9 MB, free: 102.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001102/0.3035, allocations: 0.8694 MB / 467.7 MB, free: 101.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0019/0.3054, allocations: 4.965 MB / 472.7 MB, free: 94.35 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003306/0.3087, allocations: 6.429 MB / 479.1 MB, free: 86.16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-05/0.3087, allocations: 44 kB / 479.2 MB, free: 86.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=905) (initialization): time 0.004897/0.3136, allocations: 5.089 MB / 484.3 MB, free: 80.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.816e-05/0.3137, allocations: 68 kB / 484.3 MB, free: 80.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.665e-05/0.3137, allocations: 148 kB / 484.5 MB, free: 80.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001841/0.3156, allocations: 1.005 MB / 485.5 MB, free: 79.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00213/0.3177, allocations: 1.536 MB / 487 MB, free: 78.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00435/0.3221, allocations: 6.971 MB / 494 MB, free: 70.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002225/0.3243, allocations: 303.7 kB / 494.3 MB, free: 70.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002478/0.3245, allocations: 356 kB / 494.6 MB, free: 70.21 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.001065/0.3256, allocations: 0.6833 MB / 495.3 MB, free: 69.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00032/0.3259, allocations: 259.7 kB / 495.6 MB, free: 69.26 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00189/0.3278, allocations: 1.471 MB / 497 MB, free: 67.76 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.31e-05/0.3278, allocations: 20 kB / 497.1 MB, free: 67.74 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.3278, allocations: 4 kB / 497.1 MB, free: 67.73 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.909e-06/0.3278, allocations: 7.969 kB / 497.1 MB, free: 67.73 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006321/0.3342, allocations: 5.826 MB / 0.4911 GB, free: 61.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.3342, allocations: 8.188 kB / 0.4911 GB, free: 61.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004926/0.3347, allocations: 255.6 kB / 0.4914 GB, free: 61.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001707/0.3364, allocations: 0.9498 MB / 0.4923 GB, free: 60.51 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-05/0.3364, allocations: 44 kB / 0.4923 GB, free: 60.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003245/0.3397, allocations: 6.156 MB / 0.4984 GB, free: 53.92 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.3397, allocations: 11.94 kB / 0.4984 GB, free: 53.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002324/0.342, allocations: 2.452 MB / 0.5008 GB, free: 51.33 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003352/0.3424, allocations: 397 kB / 0.5011 GB, free: 50.94 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000271/0.3426, allocations: 36 kB / 0.5012 GB, free: 50.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000678/0.3433, allocations: 36 kB / 0.5012 GB, free: 50.87 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000184/0.3435, allocations: 152.5 kB / 0.5014 GB, free: 50.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.23e-05/0.3435, allocations: 40.12 kB / 0.5014 GB, free: 50.68 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009087/0.3445, allocations: 1.463 MB / 0.5028 GB, free: 49.21 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3445, allocations: 0 / 0.5028 GB, free: 49.21 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003002/0.3475, allocations: 1.281 MB / 0.5041 GB, free: 47.93 MB / 410.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.0002931/0.3478, allocations: 176.6 kB / 0.5042 GB, free: 47.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002811/0.3506, allocations: 3.415 MB / 0.5076 GB, free: 44.32 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001377/0.3507, allocations: 108.2 kB / 0.5077 GB, free: 44.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009301/0.3516, allocations: 1.141 MB / 0.5088 GB, free: 43.01 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001654/0.3533, allocations: 0.7632 MB / 0.5095 GB, free: 42.26 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007709/0.361, allocations: 8.977 MB / 0.5183 GB, free: 33.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009508/0.3619, allocations: 1.492 MB / 0.5198 GB, free: 31.59 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001033/0.363, allocations: 0.5758 MB / 0.5203 GB, free: 31.01 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007065/0.3637, allocations: 0.6339 MB / 0.5209 GB, free: 30.38 MB / 410.7 MB Notification: Performance of SimCode: time 9.01e-07/0.3637, allocations: 0 / 0.5209 GB, free: 30.38 MB / 410.7 MB Notification: Performance of Templates: time 0.05238/0.4161, allocations: 43.11 MB / 0.563 GB, free: 3.648 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.315951209049672]